[Groonga-commit] groonga/groonga [master] test: add a test for table_list when a hash table exists

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 22日 (金) 13:06:00 JST


Haruka Yoshihara	2012-06-22 13:06:00 +0900 (Fri, 22 Jun 2012)

  New Revision: 4d981d48ecfbe2f0d2a5ceee3d24028fbadfa157
  https://github.com/groonga/groonga/commit/4d981d48ecfbe2f0d2a5ceee3d24028fbadfa157

  Log:
    test: add a test for table_list when a hash table exists

  Added files:
    test/function/suite/table_list/flags/hash_key.expected
    test/function/suite/table_list/flags/hash_key.test

  Added: test/function/suite/table_list/flags/hash_key.expected (+46 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/table_list/flags/hash_key.expected    2012-06-22 13:06:00 +0900 (b3cdd68)
@@ -0,0 +1,46 @@
+table_create bookmarks TABLE_HASH_KEY
+[[0,0.0,0.0],true]
+table_list
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+      ],
+      [
+        "path",
+        "ShortText"
+      ],
+      [
+        "flags",
+        "ShortText"
+      ],
+      [
+        "domain",
+        "ShortText"
+      ],
+      [
+        "range",
+        "ShortText"
+      ]
+    ],
+    [
+      256,
+      "bookmarks",
+      "tmp/db.0000100",
+      "TABLE_HASH_KEY|PERSISTENT",
+      "null",
+      "null"
+    ]
+  ]
+]

  Added: test/function/suite/table_list/flags/hash_key.test (+2 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/table_list/flags/hash_key.test    2012-06-22 13:06:00 +0900 (71d3f8d)
@@ -0,0 +1,2 @@
+table_create bookmarks TABLE_HASH_KEY
+table_list
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index