[Groonga-commit] droonga/droonga-engine at 5abb7dc [master] test: Define table with a fixture

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Apr 24 14:01:20 JST 2014


YUKI Hiroshi	2014-04-24 14:01:20 +0900 (Thu, 24 Apr 2014)

  New Revision: 5abb7dcb84255c5a67b40321385a8b6bd55ff532
  https://github.com/droonga/droonga-engine/commit/5abb7dcb84255c5a67b40321385a8b6bd55ff532

  Message:
    test: Define table with a fixture

  Modified files:
    test/command/suite/groonga/delete/success.expected
    test/command/suite/groonga/delete/success.test

  Modified: test/command/suite/groonga/delete/success.expected (+0 -13)
===================================================================
--- test/command/suite/groonga/delete/success.expected    2014-04-24 13:56:05 +0900 (6c190c3)
+++ test/command/suite/groonga/delete/success.expected    2014-04-24 14:01:20 +0900 (a973283)
@@ -1,19 +1,6 @@
 {
   "inReplyTo": "request-id",
   "statusCode": 200,
-  "type": "table_create.result",
-  "body": [
-    [
-      0,
-      0.0,
-      0.0
-    ],
-    true
-  ]
-}
-{
-  "inReplyTo": "request-id",
-  "statusCode": 200,
   "type": "add.result",
   "body": true
 }

  Modified: test/command/suite/groonga/delete/success.test (+1 -8)
===================================================================
--- test/command/suite/groonga/delete/success.test    2014-04-24 13:56:05 +0900 (223d02b)
+++ test/command/suite/groonga/delete/success.test    2014-04-24 14:01:20 +0900 (c07da58)
@@ -1,11 +1,4 @@
-{
-  "type": "table_create",
-  "dataset": "Droonga",
-  "body": {
-    "name"  : "User",
-    "flags" : "TABLE_PAT_KEY"
-  }
-}
+#@include fixture/user-table.jsons
 {
   "type": "add",
   "dataset": "Droonga",
-------------- next part --------------
HTML����������������������������...
Download 



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