Matthias Brantner has proposed merging 
lp:~zorba-coders/zorba/couchbase-module_null into lp:zorba/couchbase-module.

Commit message:
changed tests to use canonical JSONiq

Requested reviews:
  Matthias Brantner (matthias-brantner)
  Till Westmann (tillw)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/couchbase-module_null/+merge/154570
-- 
https://code.launchpad.net/~zorba-coders/zorba/couchbase-module_null/+merge/154570
Your team Zorba Coders is subscribed to branch lp:zorba/couchbase-module.
=== modified file 'test/Queries/couchbase_module/append-text.xq'
--- test/Queries/couchbase_module/append-text.xq	2013-01-10 06:51:21 +0000
+++ test/Queries/couchbase_module/append-text.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "append", "foo");

=== modified file 'test/Queries/couchbase_module/connect.xq'
--- test/Queries/couchbase_module/connect.xq	2012-10-19 21:11:28 +0000
+++ test/Queries/couchbase_module/connect.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 if ($instance)
  then true()

=== modified file 'test/Queries/couchbase_module/connect2.xq'
--- test/Queries/couchbase_module/connect2.xq	2013-01-04 19:22:54 +0000
+++ test/Queries/couchbase_module/connect2.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "12492873009",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 if ($instance)
  then true()

=== modified file 'test/Queries/couchbase_module/create-view2.xq'
--- test/Queries/couchbase_module/create-view2.xq	2012-11-07 17:08:47 +0000
+++ test/Queries/couchbase_module/create-view2.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 variable $view-name := cb:create-view($instance, "dev_view2", ("test1", "test2"), ({"key" : "meta.id", "values" : "doc.value"},{ "key" : "meta.id", "values" : ["doc.value", "doc.value2"] }));

=== modified file 'test/Queries/couchbase_module/expiration-time.xq'
--- test/Queries/couchbase_module/expiration-time.xq	2013-01-10 06:51:21 +0000
+++ test/Queries/couchbase_module/expiration-time.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "exp-time", "foo", { "expiration-time" : 1 });

=== modified file 'test/Queries/couchbase_module/prepend-text.xq'
--- test/Queries/couchbase_module/prepend-text.xq	2013-01-10 06:51:21 +0000
+++ test/Queries/couchbase_module/prepend-text.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "prepend", "foo");

=== modified file 'test/Queries/couchbase_module/remove.xq'
--- test/Queries/couchbase_module/remove.xq	2013-01-10 06:51:21 +0000
+++ test/Queries/couchbase_module/remove.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "remove", "foo");

=== modified file 'test/Queries/couchbase_module/store-binary.xq'
--- test/Queries/couchbase_module/store-binary.xq	2013-01-10 06:51:21 +0000
+++ test/Queries/couchbase_module/store-binary.xq	2013-03-21 01:38:23 +0000
@@ -3,8 +3,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 variable $binary := f:read-binary(resolve-uri("connect.xq"));

=== modified file 'test/Queries/couchbase_module/store-binary2.xq'
--- test/Queries/couchbase_module/store-binary2.xq	2013-02-22 16:14:35 +0000
+++ test/Queries/couchbase_module/store-binary2.xq	2013-03-21 01:38:23 +0000
@@ -3,8 +3,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 variable $binary := f:read-binary(resolve-uri("connect.xq"));

=== modified file 'test/Queries/couchbase_module/store-text-encoding.xq'
--- test/Queries/couchbase_module/store-text-encoding.xq	2013-01-10 06:51:21 +0000
+++ test/Queries/couchbase_module/store-text-encoding.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "encoding", "äüö", { "encoding" : "ISO-8859-1" });

=== modified file 'test/Queries/couchbase_module/store-text-encoding2.xq'
--- test/Queries/couchbase_module/store-text-encoding2.xq	2013-02-22 16:14:35 +0000
+++ test/Queries/couchbase_module/store-text-encoding2.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "encoding2", "äüö", { "encoding" : "ISO-8859-1" });

=== modified file 'test/Queries/couchbase_module/store-text.xq'
--- test/Queries/couchbase_module/store-text.xq	2013-02-22 16:14:35 +0000
+++ test/Queries/couchbase_module/store-text.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "store", "foo");

=== modified file 'test/Queries/couchbase_module/store-text2.xq'
--- test/Queries/couchbase_module/store-text2.xq	2013-02-22 16:14:35 +0000
+++ test/Queries/couchbase_module/store-text2.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "store2", "foo", { "encoding" : "foo" });

=== modified file 'test/Queries/couchbase_module/touch.xq'
--- test/Queries/couchbase_module/touch.xq	2013-01-10 06:51:21 +0000
+++ test/Queries/couchbase_module/touch.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:put-text($instance, "touch", "foo");

=== modified file 'test/Queries/couchbase_module/view.xq'
--- test/Queries/couchbase_module/view.xq	2013-01-22 17:52:58 +0000
+++ test/Queries/couchbase_module/view.xq	2013-03-21 01:38:23 +0000
@@ -2,8 +2,8 @@
 
 variable $instance := cb:connect({
   "host": "localhost:8091",
-  "username" : null,
-  "password" : null,
+  "username" : jn:null(),
+  "password" : jn:null(),
   "bucket" : "default"});
 
 cb:remove($instance, "view");

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to