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

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
2012年 6月 18日 (月) 16:30:34 JST


Haruka Yoshihara	2012-06-18 16:30:34 +0900 (Mon, 18 Jun 2012)

  New Revision: 608aa348a27828212f27c8a9ee521ae7e97e5750
  https://github.com/groonga/groonga/commit/608aa348a27828212f27c8a9ee521ae7e97e5750

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

  Added files:
    test/function/suite/table_list/exist.expected
    test/function/suite/table_list/exist.test

  Added: test/function/suite/table_list/exist.expected (+46 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/table_list/exist.expected    2012-06-18 16:30:34 +0900 (4c6f5db)
@@ -0,0 +1,46 @@
+table_create bookmarks TABLE_PAT_KEY ShortText Object
+[[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_PAT_KEY|PERSISTENT",
+      "ShortText",
+      "Object"
+    ]
+  ]
+]

  Added: test/function/suite/table_list/exist.test (+2 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/table_list/exist.test    2012-06-18 16:30:34 +0900 (a61cc47)
@@ -0,0 +1,2 @@
+table_create bookmarks TABLE_PAT_KEY ShortText Object
+table_list
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Zurück zum Archiv-Index