[Groonga-commit] droonga/fluent-plugin-droonga at 96a006a [master] Add drntest case for missing type

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Dec 26 14:38:26 JST 2013


YUKI Hiroshi	2013-12-26 14:38:26 +0900 (Thu, 26 Dec 2013)

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

  Message:
    Add drntest case for missing type

  Added files:
    test/command/suite/common-error/missing-type.expected
    test/command/suite/common-error/missing-type.test

  Added: test/command/suite/common-error/missing-type.expected (+13 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/common-error/missing-type.expected    2013-12-26 14:38:26 +0900 (42d80f5)
@@ -0,0 +1,13 @@
+[
+  "droonga.message",
+  0,
+  {
+    "inReplyTo": null,
+    "statusCode": 400,
+    "type": ".result",
+    "body": {
+      "name": "MissingType",
+      "message": "\"type\" must be specified."
+    }
+  }
+]

  Added: test/command/suite/common-error/missing-type.test (+16 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/common-error/missing-type.test    2013-12-26 14:38:26 +0900 (aeb6901)
@@ -0,0 +1,16 @@
+#@include fixture/user-table.jsons
+{
+  "dataset": "Droonga",
+  "body": {
+    "table": "User",
+    "key": "key",
+    "values": {
+      "name": "Alice",
+      "age": 20,
+      "email": [
+        "alice �� example.com",
+        "alice �� example.jp"
+      ]
+    }
+  }
+}
-------------- next part --------------
HTML����������������������������...
下载 



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