[Groonga-commit] droonga/fluent-plugin-droonga at 08b6554 [master] Add drntest testcase for table_remove and column_create error

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jan 23 10:58:16 JST 2014


YUKI Hiroshi	2014-01-23 10:58:16 +0900 (Thu, 23 Jan 2014)

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

  Message:
    Add drntest testcase for table_remove and column_create error

  Added files:
    test/command/suite/groonga/column_create/unknown-table.expected
    test/command/suite/groonga/column_create/unknown-table.test
    test/command/suite/groonga/table_remove/success.expected
    test/command/suite/groonga/table_remove/success.test
    test/command/suite/groonga/table_remove/unknown-table.expected
    test/command/suite/groonga/table_remove/unknown-table.test

  Added: test/command/suite/groonga/column_create/unknown-table.expected (+17 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/groonga/column_create/unknown-table.expected    2014-01-23 10:58:16 +0900 (666b200)
@@ -0,0 +1,17 @@
+[
+  "droonga.message",
+  0,
+  {
+    "inReplyTo": "request-id",
+    "statusCode": 200,
+    "type": "column_create.result",
+    "body": [
+      [
+        -22,
+        0.0,
+        0.0
+      ],
+      false
+    ]
+  }
+]

  Added: test/command/suite/groonga/column_create/unknown-table.test (+7 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/groonga/column_create/unknown-table.test    2014-01-23 10:58:16 +0900 (696632b)
@@ -0,0 +1,7 @@
+{
+  "type": "column_create",
+  "dataset": "Droonga",
+  "body": {
+    "table" : "Unknown"
+  }
+}

  Added: test/command/suite/groonga/table_remove/success.expected (+17 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/groonga/table_remove/success.expected    2014-01-23 10:58:16 +0900 (91ac40a)
@@ -0,0 +1,17 @@
+[
+  "droonga.message",
+  0,
+  {
+    "inReplyTo": "request-id",
+    "statusCode": 200,
+    "type": "table_remove.result",
+    "body": [
+      [
+        0,
+        0.0,
+        0.0
+      ],
+      true
+    ]
+  }
+]

  Added: test/command/suite/groonga/table_remove/success.test (+8 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/groonga/table_remove/success.test    2014-01-23 10:58:16 +0900 (cf71adb)
@@ -0,0 +1,8 @@
+#@include fixture/user-table.jsons
+{
+  "type": "table_remove",
+  "dataset": "Droonga",
+  "body": {
+    "name"  : "User"
+  }
+}

  Added: test/command/suite/groonga/table_remove/unknown-table.expected (+17 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/groonga/table_remove/unknown-table.expected    2014-01-23 10:58:16 +0900 (5e7fa60)
@@ -0,0 +1,17 @@
+[
+  "droonga.message",
+  0,
+  {
+    "inReplyTo": "request-id",
+    "statusCode": 200,
+    "type": "table_remove.result",
+    "body": [
+      [
+        -22,
+        0.0,
+        0.0
+      ],
+      false
+    ]
+  }
+]

  Added: test/command/suite/groonga/table_remove/unknown-table.test (+7 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/groonga/table_remove/unknown-table.test    2014-01-23 10:58:16 +0900 (2c5f1fc)
@@ -0,0 +1,7 @@
+{
+  "type": "table_remove",
+  "dataset": "Droonga",
+  "body": {
+    "name"  : "Unknown"
+  }
+}
-------------- next part --------------
HTML����������������������������...
Download 



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