[Groonga-commit] droonga/fluent-plugin-droonga at ff15df0 [master] test: Add a test case for `add` command

Back to archive index

Yoji Shidara null+****@clear*****
Tue Nov 26 19:57:27 JST 2013


Yoji Shidara	2013-11-26 19:57:27 +0900 (Tue, 26 Nov 2013)

  New Revision: ff15df0707c554560d04418cb856d554d046d70c
  https://github.com/droonga/fluent-plugin-droonga/commit/ff15df0707c554560d04418cb856d554d046d70c

  Message:
    test: Add a test case for `add` command

  Added files:
    test/command/suite/add/minimal.expected
    test/command/suite/add/minimal.test

  Added: test/command/suite/add/minimal.expected (+12 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/add/minimal.expected    2013-11-26 19:57:27 +0900 (3216089)
@@ -0,0 +1,12 @@
+[
+  "droonga.message",
+  0,
+  {
+    "inReplyTo": null,
+    "statusCode": 200,
+    "type": "add.result",
+    "body": [
+      true
+    ]
+  }
+]

  Added: test/command/suite/add/minimal.test (+12 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/add/minimal.test    2013-11-26 19:57:27 +0900 (1044faf)
@@ -0,0 +1,12 @@
+#@config ../../config/cluster/
+#@include ../../fixture/user-table.jsons
+{
+  "type": "add",
+  "dataset": "Droonga",
+  "body": {
+    "table": "User",
+    "key": "key",
+    "values": {
+    }
+  }
+}
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index