[Groonga-commit] droonga/droonga-engine at 1154664 [master] test dump: add a test for double array trie

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 19 15:11:45 JST 2014


Kouhei Sutou	2014-05-19 15:11:45 +0900 (Mon, 19 May 2014)

  New Revision: 115466412c1e0a461aa2a6a72584eef544ccfa4c
  https://github.com/droonga/droonga-engine/commit/115466412c1e0a461aa2a6a72584eef544ccfa4c

  Message:
    test dump: add a test for double array trie

  Added files:
    test/command/suite/dump/table/double_array_trie.catalog.json
    test/command/suite/dump/table/double_array_trie.expected
    test/command/suite/dump/table/double_array_trie.test

  Added: test/command/suite/dump/table/double_array_trie.catalog.json (+14 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/dump/table/double_array_trie.catalog.json    2014-05-19 15:11:45 +0900 (d7caf58)
@@ -0,0 +1,14 @@
+{
+  "datasets": {
+    "Droonga": {
+      "schema": {
+        "Memos": {
+          "type": "DoubleArrayTrie",
+          "keyType": "ShortText",
+          "columns": {}
+        }
+      },
+      "fact": "Memos"
+    }
+  }
+}

  Added: test/command/suite/dump/table/double_array_trie.expected (+66 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/dump/table/double_array_trie.expected    2014-05-19 15:11:45 +0900 (5e74c02)
@@ -0,0 +1,66 @@
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "type": "dump.start"
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "type": "dump.start"
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "type": "dump.start"
+}
+{
+  "inReplyTo": "request-id",
+  "statusCode": 200,
+  "type": "dump.result",
+  "body": true
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "body": {
+    "type": "DoubleArrayTrie",
+    "name": "Memos",
+    "keyType": "ShortText"
+  },
+  "type": "dump.table"
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "type": "dump.end"
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "body": {
+    "type": "DoubleArrayTrie",
+    "name": "Memos",
+    "keyType": "ShortText"
+  },
+  "type": "dump.table"
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "type": "dump.end"
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "body": {
+    "type": "DoubleArrayTrie",
+    "name": "Memos",
+    "keyType": "ShortText"
+  },
+  "type": "dump.table"
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Droonga",
+  "type": "dump.end"
+}

  Added: test/command/suite/dump/table/double_array_trie.test (+5 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/dump/table/double_array_trie.test    2014-05-19 15:11:45 +0900 (6f787ba)
@@ -0,0 +1,5 @@
+#@require-catalog-version 2
+{
+  "type": "dump",
+  "dataset": "Droonga"
+}
-------------- next part --------------
HTML����������������������������...
Download 



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