You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by iv...@apache.org on 2015/07/01 12:13:58 UTC

[22/39] incubator-ignite git commit: #ignite-964: change test for object put all.

#ignite-964: change test for object put all.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/ea50ebba
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/ea50ebba
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/ea50ebba

Branch: refs/heads/ignite-964
Commit: ea50ebbaa16544b1a791b2bef16bdb8e0dd75e0a
Parents: bea777f
Author: ivasilinets <iv...@gridgain.com>
Authored: Tue Jun 30 17:47:53 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Tue Jun 30 17:47:53 2015 +0300

----------------------------------------------------------------------
 modules/nodejs/src/test/js/test-cache-api.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/ea50ebba/modules/nodejs/src/test/js/test-cache-api.js
----------------------------------------------------------------------
diff --git a/modules/nodejs/src/test/js/test-cache-api.js b/modules/nodejs/src/test/js/test-cache-api.js
index 515f543..6e660b1 100644
--- a/modules/nodejs/src/test/js/test-cache-api.js
+++ b/modules/nodejs/src/test/js/test-cache-api.js
@@ -36,12 +36,18 @@ testPutAllGetAll = function() {
 }
 
 testPutAllObjectGetAll = function() {
+    var params = {}
     var key1 = {"name" : "Ann"};
     var key2 = {"name" : "Paul"};
     var val1 = {"age" : 12, "books" : ["1", "Book"]};
     var val2 = {"age" : 13, "books" : ["1", "Book"]};
 
-    startTest("mycache", {trace: [putAll, getAll], entry: {key1 : val1, key2 : val2}});
+    params["k1"] = key1;
+    params["k2"] = key2;
+    params["val1"] = val1;
+    params["val2"] = val2;
+
+    startTest("mycache", {trace: [putAll, getAll], entry: params});
 }
 
 testRemoveAll = function() {