couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [3/11] git commit: Update etap tests for System Database Security
Date Tue, 03 Jan 2012 19:33:21 GMT
Update etap tests for System Database Security


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4cf699d9
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4cf699d9
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4cf699d9

Branch: refs/heads/1.2.x
Commit: 4cf699d9411b2078a4bf91e6df179999b8b71e2d
Parents: 554959c
Author: Jan Lehnardt <jan@apache.org>
Authored: Thu Dec 22 15:53:02 2011 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Tue Jan 3 19:23:59 2012 +0100

----------------------------------------------------------------------
 test/etap/075-auth-cache.t             |    4 +++-
 test/etap/200-view-group-no-db-leaks.t |    4 +++-
 test/etap/201-view-group-shutdown.t    |    4 +++-
 test/etap/240-replication-compact.t    |    4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4cf699d9/test/etap/075-auth-cache.t
----------------------------------------------------------------------
diff --git a/test/etap/075-auth-cache.t b/test/etap/075-auth-cache.t
index 5166c5a..2bb17c8 100755
--- a/test/etap/075-auth-cache.t
+++ b/test/etap/075-auth-cache.t
@@ -42,7 +42,9 @@
     revs_limit = 1000,
     fsync_options = [],
     options = [],
-    compression
+    compression,
+    before_doc_update = nil, % nil | fun(Doc, Db) -> NewDoc
+    after_doc_read = nil     % nil | fun(Doc, Db) -> NewDoc
 }).
 
 auth_db_name() -> <<"couch_test_auth_db">>.

http://git-wip-us.apache.org/repos/asf/couchdb/blob/4cf699d9/test/etap/200-view-group-no-db-leaks.t
----------------------------------------------------------------------
diff --git a/test/etap/200-view-group-no-db-leaks.t b/test/etap/200-view-group-no-db-leaks.t
index 936e0a9..3aa26b6 100755
--- a/test/etap/200-view-group-no-db-leaks.t
+++ b/test/etap/200-view-group-no-db-leaks.t
@@ -43,7 +43,9 @@
     revs_limit = 1000,
     fsync_options = [],
     options = [],
-    compression
+    compression,
+    before_doc_update,
+    after_doc_read
 }).
 
 test_db_name() -> <<"couch_test_view_group_db_leaks">>.

http://git-wip-us.apache.org/repos/asf/couchdb/blob/4cf699d9/test/etap/201-view-group-shutdown.t
----------------------------------------------------------------------
diff --git a/test/etap/201-view-group-shutdown.t b/test/etap/201-view-group-shutdown.t
index f976c27..cdfc247 100755
--- a/test/etap/201-view-group-shutdown.t
+++ b/test/etap/201-view-group-shutdown.t
@@ -43,7 +43,9 @@
     revs_limit = 1000,
     fsync_options = [],
     options = [],
-    compression
+    compression,
+    before_doc_update,
+    after_doc_read
 }).
 
 main_db_name() -> <<"couch_test_view_group_shutdown">>.

http://git-wip-us.apache.org/repos/asf/couchdb/blob/4cf699d9/test/etap/240-replication-compact.t
----------------------------------------------------------------------
diff --git a/test/etap/240-replication-compact.t b/test/etap/240-replication-compact.t
index c8b265e..7c4d38c 100755
--- a/test/etap/240-replication-compact.t
+++ b/test/etap/240-replication-compact.t
@@ -48,7 +48,9 @@
     revs_limit = 1000,
     fsync_options = [],
     options = [],
-    compression
+    compression,
+    before_doc_update,
+    after_doc_read
 }).
 
 -record(rep, {


Mime
View raw message