aboutsummaryrefslogtreecommitdiff
path: root/common/callback/test.std
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-07-04 17:53:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-07-04 17:53:47 +0200
commit683eccc6887a7fa34d58e873e19b48405ebf420a (patch)
treecf1aeb14d1d5f3b61efa61554b9336ad87b333f6 /common/callback/test.std
parentec1213138d592489175f2246201c5e65c90af0a5 (diff)
Implement support for database operations callbacks
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".
Diffstat (limited to 'common/callback/test.std')
-rw-r--r--common/callback/test.std52
1 files changed, 52 insertions, 0 deletions
diff --git a/common/callback/test.std b/common/callback/test.std
new file mode 100644
index 0000000..05ae286
--- /dev/null
+++ b/common/callback/test.std
@@ -0,0 +1,52 @@
+persist
+ pre_persist 1
+ post_persist 1
+ pre_persist 2 const
+ post_persist 2 const
+***
+load
+ pre_load 0
+ post_load 1
+ pre_load 0
+ post_load 2
+***
+query
+ pre_load 0
+ post_load 1
+ pre_load 0
+ post_load 2
+***
+update
+ pre_load 0
+ post_load 1
+ pre_load 0
+ post_load 2
+ pre_update 1
+ post_update 1
+ pre_update 2 const
+ post_update 2 const
+***
+erase
+ pre_load 0
+ post_load 1
+ pre_load 0
+ post_load 2
+ pre_erase 1 const
+ post_erase 1 const
+ pre_erase 2
+ post_erase 2
+***
+delayed load
+ pre_persist 1
+ post_persist 1
+ pre_persist 2
+ post_persist 2
+ pre_persist 3
+ post_persist 3
+ pre_load 0
+ pre_load 0
+ pre_load 0
+ post_load 3
+ post_load 2
+ post_load 1
+***