couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [8/44] git commit: collect a few missing test cases
Date Tue, 04 Dec 2012 20:43:48 GMT
collect a few missing test cases


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

Branch: refs/heads/1368-fix-multipart-header-parts
Commit: 2d6fdb83e66b9f3407795abf381d100923e2cfd9
Parents: 403932b
Author: Jan Lehnardt <jan@apache.org>
Authored: Mon Nov 12 18:48:33 2012 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Mon Nov 12 18:54:35 2012 +0100

----------------------------------------------------------------------
 test/etap/231-cors.t |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/2d6fdb83/test/etap/231-cors.t
----------------------------------------------------------------------
diff --git a/test/etap/231-cors.t b/test/etap/231-cors.t
index 6853c1c..6b0f86f 100644
--- a/test/etap/231-cors.t
+++ b/test/etap/231-cors.t
@@ -105,6 +105,14 @@ test() ->
 
     ok = couch_config:set("cors", "origins", "http://example.com", false),
 
+
+    % TBD
+    % case-sensitive mismatch of allowed origins should fail
+    % auth with * Origin should fail
+    % test all cors with vhosts
+    % test multiple per-host configuration
+
+
     %% do tests with auth
     ok = set_admin_password("test", "test"),
 


Mime
View raw message