couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r780348 - in /couchdb/trunk/test/etap: 001-load.t 010-file-basics.t 011-file-headers.t 020-btree-basics.t 021-btree-reductions.t 030-doc-from-json.t 031-doc-to-json.t
Date Sat, 30 May 2009 23:58:54 GMT
Author: davisp
Date: Sat May 30 23:58:53 2009
New Revision: 780348

URL: http://svn.apache.org/viewvc?rev=780348&view=rev
Log:
Adding code:add_pathz/1 calls for older Erlang versions.


Modified:
    couchdb/trunk/test/etap/001-load.t
    couchdb/trunk/test/etap/010-file-basics.t
    couchdb/trunk/test/etap/011-file-headers.t
    couchdb/trunk/test/etap/020-btree-basics.t
    couchdb/trunk/test/etap/021-btree-reductions.t
    couchdb/trunk/test/etap/030-doc-from-json.t
    couchdb/trunk/test/etap/031-doc-to-json.t

Modified: couchdb/trunk/test/etap/001-load.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/001-load.t?rev=780348&r1=780347&r2=780348&view=diff
==============================================================================
--- couchdb/trunk/test/etap/001-load.t (original)
+++ couchdb/trunk/test/etap/001-load.t Sat May 30 23:58:53 2009
@@ -5,6 +5,7 @@
 % Test that we can load each module.
 
 main(_) ->
+    code:add_pathz("src/couchdb"),
     etap:plan(39),
     Modules = [
         couch_batch_save,

Modified: couchdb/trunk/test/etap/010-file-basics.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/010-file-basics.t?rev=780348&r1=780347&r2=780348&view=diff
==============================================================================
--- couchdb/trunk/test/etap/010-file-basics.t (original)
+++ couchdb/trunk/test/etap/010-file-basics.t Sat May 30 23:58:53 2009
@@ -5,6 +5,7 @@
 -define(FILE_NAME, "./test/etap/temp.010").
 
 main(_) ->
+    code:add_pathz("src/couchdb"),
     etap:plan(16),
     case (catch test()) of
         ok ->

Modified: couchdb/trunk/test/etap/011-file-headers.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/011-file-headers.t?rev=780348&r1=780347&r2=780348&view=diff
==============================================================================
--- couchdb/trunk/test/etap/011-file-headers.t (original)
+++ couchdb/trunk/test/etap/011-file-headers.t Sat May 30 23:58:53 2009
@@ -6,6 +6,7 @@
 -define(SIZE_BLOCK, 4096). % Need to keep this in sync with couch_file.erl
 
 main(_) ->
+    code:add_pathz("src/couchdb"),
     {S1, S2, S3} = now(),
     random:seed(S1, S2, S3),
 

Modified: couchdb/trunk/test/etap/020-btree-basics.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/020-btree-basics.t?rev=780348&r1=780347&r2=780348&view=diff
==============================================================================
--- couchdb/trunk/test/etap/020-btree-basics.t (original)
+++ couchdb/trunk/test/etap/020-btree-basics.t Sat May 30 23:58:53 2009
@@ -8,6 +8,7 @@
 -record(btree, {fd, root, extract_kv, assemble_kv, less, reduce}).
 
 main(_) ->
+    code:add_pathz("src/couchdb"),
     etap:plan(48),
     case (catch test()) of
         ok ->

Modified: couchdb/trunk/test/etap/021-btree-reductions.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/021-btree-reductions.t?rev=780348&r1=780347&r2=780348&view=diff
==============================================================================
--- couchdb/trunk/test/etap/021-btree-reductions.t (original)
+++ couchdb/trunk/test/etap/021-btree-reductions.t Sat May 30 23:58:53 2009
@@ -6,6 +6,7 @@
 -define(ROWS, 1000).
 
 main(_) ->
+    code:add_pathz("src/couchdb"),
     etap:plan(8),
     case (catch test()) of
         ok ->

Modified: couchdb/trunk/test/etap/030-doc-from-json.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/030-doc-from-json.t?rev=780348&r1=780347&r2=780348&view=diff
==============================================================================
--- couchdb/trunk/test/etap/030-doc-from-json.t (original)
+++ couchdb/trunk/test/etap/030-doc-from-json.t Sat May 30 23:58:53 2009
@@ -8,6 +8,7 @@
             attachments=[], deleted=false, meta=[]}).
 
 main(_) ->
+    code:add_pathz("src/couchdb"),
     etap:plan(26),
     case (catch test()) of
         ok ->

Modified: couchdb/trunk/test/etap/031-doc-to-json.t
URL: http://svn.apache.org/viewvc/couchdb/trunk/test/etap/031-doc-to-json.t?rev=780348&r1=780347&r2=780348&view=diff
==============================================================================
--- couchdb/trunk/test/etap/031-doc-to-json.t (original)
+++ couchdb/trunk/test/etap/031-doc-to-json.t Sat May 30 23:58:53 2009
@@ -8,6 +8,7 @@
             attachments=[], deleted=false, meta=[]}).
 
 main(_) ->
+    code:add_pathz("src/couchdb"),
     etap:plan(unknown),
     case (catch test()) of
         ok ->
@@ -20,7 +21,6 @@
 
 test() ->
     ok = test_to_json_success(),
-    ok = test_to_json_errors(),
     ok.
     
 test_to_json_success() ->
@@ -150,6 +150,3 @@
             etap:is(couch_doc:to_json_obj(Doc, Options), EJson, Mesg)
     end, Cases),
     ok.
-
-test_to_json_errors() ->
-    ok.
\ No newline at end of file



Mime
View raw message