[Groonga-commit] droonga/fluent-plugin-droonga at 1dd5af6 [master] Add drntest case for unknown column error of add command

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Dec 26 16:54:03 JST 2013


YUKI Hiroshi	2013-12-26 16:54:03 +0900 (Thu, 26 Dec 2013)

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

  Message:
    Add drntest case for unknown column error of add command

  Added files:
    test/command/suite/add/unknown-column.expected
  Copied files:
    test/command/suite/add/unknown-column.test
      (from test/command/suite/add/mismatched-value-type.test)
  Modified files:
    test/command/suite/add/mismatched-value-type.test

  Modified: test/command/suite/add/mismatched-value-type.test (+0 -1)
===================================================================
--- test/command/suite/add/mismatched-value-type.test    2013-12-26 16:51:52 +0900 (c6a0575)
+++ test/command/suite/add/mismatched-value-type.test    2013-12-26 16:54:03 +0900 (b287d59)
@@ -6,7 +6,6 @@
     "table": "User",
     "key": "key",
     "values": {
-      "name": "Alice",
       "birthday": "today"
     }
   }

  Added: test/command/suite/add/unknown-column.expected (+13 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/add/unknown-column.expected    2013-12-26 16:54:03 +0900 (fa4e923)
@@ -0,0 +1,13 @@
+[
+  "droonga.message",
+  0,
+  {
+    "inReplyTo": null,
+    "statusCode": 400,
+    "type": "add.result",
+    "body": {
+      "name": "UnknownColumn",
+      "message": "The column \"unknown\" does not exist in the table \"User\""
+    }
+  }
+]

  Copied: test/command/suite/add/unknown-column.test (+1 -2) 76%
===================================================================
--- test/command/suite/add/mismatched-value-type.test    2013-12-26 16:51:52 +0900 (c6a0575)
+++ test/command/suite/add/unknown-column.test    2013-12-26 16:54:03 +0900 (3b10352)
@@ -6,8 +6,7 @@
     "table": "User",
     "key": "key",
     "values": {
-      "name": "Alice",
-      "birthday": "today"
+      "unknown": "unknown"
     }
   }
 }
-------------- next part --------------
HTML����������������������������...
Download 



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