[Groonga-commit] droonga/droonga-engine at 2a2cc3f [master] Add expected results for single_slice config

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Jun 2 14:05:23 JST 2015


YUKI Hiroshi	2015-06-02 14:05:23 +0900 (Tue, 02 Jun 2015)

  New Revision: 2a2cc3fd3d11fd4ff8e97d1e67a8d19d6be698df
  https://github.com/droonga/droonga-engine/commit/2a2cc3fd3d11fd4ff8e97d1e67a8d19d6be698df

  Message:
    Add expected results for single_slice config

  Added files:
    test/command/suite/search/condition/query/nonexistent_column.expected.single_slice
    test/command/suite/search/condition/query/syntax_error.expected.single_slice
    test/command/suite/search/error/unknown-source.expected.single_slice
    test/command/suite/system/statistics/object/count/record.expected.single_slice
    test/command/suite/system/statistics/object/count/schema.expected.single_slice

  Added: test/command/suite/search/condition/query/nonexistent_column.expected.single_slice (+26 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/search/condition/query/nonexistent_column.expected.single_slice    2015-06-02 14:05:23 +0900 (723261d)
@@ -0,0 +1,26 @@
+{
+  "inReplyTo": "request-id",
+  "statusCode": 400,
+  "type": "search.result",
+  "body": {
+    "name": "SyntaxError",
+    "message": "Syntax error: syntax:<query> input:<nonexistent:Droonga>",
+    "detail": {
+      "syntax": "query",
+      "input": "nonexistent:Droonga"
+    }
+  },
+  "errors": {
+    "sources0": {
+      "statusCode": 400,
+      "body": {
+        "name": "SyntaxError",
+        "message": "Syntax error: syntax:<query> input:<nonexistent:Droonga>",
+        "detail": {
+          "syntax": "query",
+          "input": "nonexistent:Droonga"
+        }
+      }
+    }
+  }
+}

  Added: test/command/suite/search/condition/query/syntax_error.expected.single_slice (+26 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/search/condition/query/syntax_error.expected.single_slice    2015-06-02 14:05:23 +0900 (8344959)
@@ -0,0 +1,26 @@
+{
+  "inReplyTo": "request-id",
+  "statusCode": 400,
+  "type": "search.result",
+  "body": {
+    "name": "SyntaxError",
+    "message": "Syntax error: syntax:<query> input:<(>",
+    "detail": {
+      "syntax": "query",
+      "input": "("
+    }
+  },
+  "errors": {
+    "sources0": {
+      "statusCode": 400,
+      "body": {
+        "name": "SyntaxError",
+        "message": "Syntax error: syntax:<query> input:<(>",
+        "detail": {
+          "syntax": "query",
+          "input": "("
+        }
+      }
+    }
+  }
+}

  Added: test/command/suite/search/error/unknown-source.expected.single_slice (+28 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/search/error/unknown-source.expected.single_slice    2015-06-02 14:05:23 +0900 (ae20b84)
@@ -0,0 +1,28 @@
+{
+  "inReplyTo": "request-id",
+  "statusCode": 404,
+  "type": "search.result",
+  "body": {
+    "name": "UnknownSource",
+    "message": "Source not found: <unknown> It must be a name of an existing table or another query.",
+    "detail": {
+      "unknown-source": {
+        "source": "unknown"
+      }
+    }
+  },
+  "errors": {
+    "sources0": {
+      "statusCode": 404,
+      "body": {
+        "name": "UnknownSource",
+        "message": "Source not found: <unknown> It must be a name of an existing table or another query.",
+        "detail": {
+          "unknown-source": {
+            "source": "unknown"
+          }
+        }
+      }
+    }
+  }
+}

  Added: test/command/suite/system/statistics/object/count/record.expected.single_slice (+11 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/system/statistics/object/count/record.expected.single_slice    2015-06-02 14:05:23 +0900 (8d069f9)
@@ -0,0 +1,11 @@
+{
+  "inReplyTo": "request-id",
+  "statusCode": 200,
+  "type": "system.statistics.object.count.result",
+  "body": {
+    "tables":  1,
+    "columns": 0,
+    "records": 1,
+    "total":   2
+  }
+}

  Added: test/command/suite/system/statistics/object/count/schema.expected.single_slice (+11 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/system/statistics/object/count/schema.expected.single_slice    2015-06-02 14:05:23 +0900 (b882b4f)
@@ -0,0 +1,11 @@
+{
+  "inReplyTo": "request-id",
+  "statusCode": 200,
+  "type": "system.statistics.object.count.result",
+  "body": {
+    "tables":  1,
+    "columns": 0,
+    "records": 0,
+    "total":   1
+  }
+}
-------------- next part --------------
HTML����������������������������...
Download 



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