YUKI Hiroshi
null+****@clear*****
Thu Nov 28 20:43:15 JST 2013
YUKI Hiroshi 2013-11-28 20:43:15 +0900 (Thu, 28 Nov 2013) New Revision: 294f066f33f9be546be4fbfb8f48255ee9a12f59 https://github.com/droonga/fluent-plugin-droonga/commit/294f066f33f9be546be4fbfb8f48255ee9a12f59 Message: Add test for "add" with values Added files: test/command/suite/add/with-values.expected test/command/suite/add/with-values.test Added: test/command/suite/add/with-values.expected (+12 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/add/with-values.expected 2013-11-28 20:43:15 +0900 (3216089) @@ -0,0 +1,12 @@ +[ + "droonga.message", + 0, + { + "inReplyTo": null, + "statusCode": 200, + "type": "add.result", + "body": [ + true + ] + } +] Added: test/command/suite/add/with-values.test (+17 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/add/with-values.test 2013-11-28 20:43:15 +0900 (69ac49e) @@ -0,0 +1,17 @@ +#@include fixture/user-table.jsons +{ + "type": "add", + "dataset": "Droonga", + "body": { + "table": "User", + "key": "key", + "values": { + "name": "Alice", + "age": 20, + "email": [ + "alice �� example.com", + "alice �� example.jp" + ] + } + } +} -------------- next part -------------- HTML����������������������������...Download