[Groonga-commit] droonga/fluent-plugin-droonga at 68ddb6e [master] Use the term "type" instead of "command"

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Feb 20 18:37:09 JST 2014


YUKI Hiroshi	2014-02-20 18:37:09 +0900 (Thu, 20 Feb 2014)

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

  Message:
    Use the term "type" instead of "command"

  Added files:
    test/command/suite/message/error/unknown-type.expected
  Removed files:
    test/command/suite/message/error/unknown-command.expected
  Modified files:
    test/command/suite/message/error/missing-dataset.expected
    test/command/suite/message/error/unknown-dataset.expected
  Renamed files:
    test/command/suite/message/error/unknown-type.test
      (from test/command/suite/message/error/unknown-command.test)

  Modified: test/command/suite/message/error/missing-dataset.expected (+1 -1)
===================================================================
--- test/command/suite/message/error/missing-dataset.expected    2014-02-20 18:31:11 +0900 (0b85d0f)
+++ test/command/suite/message/error/missing-dataset.expected    2014-02-20 18:37:09 +0900 (f0a08ed)
@@ -7,7 +7,7 @@
     "type": "add.result",
     "body": {
       "name": "MissingDatasetParameter",
-      "message": "\"dataset\" must be specified."
+      "message": "Missing required parameter: <dataset>"
     }
   }
 ]

  Deleted: test/command/suite/message/error/unknown-command.expected (+0 -13) 100644
===================================================================
--- test/command/suite/message/error/unknown-command.expected    2014-02-20 18:31:11 +0900 (dd9e965)
+++ /dev/null
@@ -1,13 +0,0 @@
-[
-  "droonga.message",
-  0,
-  {
-    "inReplyTo": "request-id",
-    "statusCode": 400,
-    "type": "unknown-command.result",
-    "body": {
-      "name": "UnknownCommand",
-      "message": "The command \"unknown-command\" is not available for the dataset \"Droonga\"."
-    }
-  }
-]

  Modified: test/command/suite/message/error/unknown-dataset.expected (+1 -1)
===================================================================
--- test/command/suite/message/error/unknown-dataset.expected    2014-02-20 18:31:11 +0900 (7026505)
+++ test/command/suite/message/error/unknown-dataset.expected    2014-02-20 18:37:09 +0900 (d627845)
@@ -7,7 +7,7 @@
     "type": "add.result",
     "body": {
       "name": "UnknownDataset",
-      "message": "The dataset \"Unknown\" does not exist."
+      "message": "Unknown dataset: <Unknown>"
     }
   }
 ]

  Added: test/command/suite/message/error/unknown-type.expected (+13 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/message/error/unknown-type.expected    2014-02-20 18:37:09 +0900 (9bc322a)
@@ -0,0 +1,13 @@
+[
+  "droonga.message",
+  0,
+  {
+    "inReplyTo": "request-id",
+    "statusCode": 400,
+    "type": "unknown-type.result",
+    "body": {
+      "name": "UnknownType",
+      "message": "[Droonga] Handler not found for the type: <unknown-type>"
+    }
+  }
+]

  Renamed: test/command/suite/message/error/unknown-type.test (+1 -1) 72%
===================================================================
--- test/command/suite/message/error/unknown-command.test    2014-02-20 18:31:11 +0900 (ebcbd1a)
+++ test/command/suite/message/error/unknown-type.test    2014-02-20 18:37:09 +0900 (082691a)
@@ -1,6 +1,6 @@
 #@include fixture/user-table.jsons
 {
-  "type": "unknown-command",
+  "type": "unknown-type",
   "dataset": "Droonga",
   "body": {}
 }
-------------- next part --------------
HTML����������������������������...
Download 



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