[Groonga-commit] droonga/fluent-plugin-droonga at 68ad36a [master] Use fixture to setup table for "select" test

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Tue Nov 26 16:04:35 JST 2013


YUKI Hiroshi	2013-11-26 16:04:35 +0900 (Tue, 26 Nov 2013)

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

  Message:
    Use fixture to setup table for "select" test

  Added files:
    test/command/fixture/user-table.jsons
  Modified files:
    test/command/suite/groonga/select/minimum.test

  Added: test/command/fixture/user-table.jsons (+36 -0) 100644
===================================================================
--- /dev/null
+++ test/command/fixture/user-table.jsons    2013-11-26 16:04:35 +0900 (14d04c9)
@@ -0,0 +1,36 @@
+{
+  "type": "table_create",
+  "dataset": "Droonga",
+  "body": {
+    "name"  : "User",
+    "flags" : "TABLE_PAT_KEY"
+  }
+}
+{
+  "type": "column_create",
+  "dataset": "Droonga",
+  "body": {
+    "table" : "User",
+    "name"  : "name",
+    "type"  : "ShortText"
+  }
+}
+{
+  "type": "column_create",
+  "dataset": "Droonga",
+  "body": {
+    "table" : "User",
+    "name"  : "age",
+    "type"  : "Int32"
+  }
+}
+{
+  "type": "column_create",
+  "dataset": "Droonga",
+  "body": {
+    "table" : "User",
+    "name"  : "email",
+    "type"  : "ShortText",
+    "flags" : "COLUMN_VECTOR"
+  }
+}

  Modified: test/command/suite/groonga/select/minimum.test (+1 -0)
===================================================================
--- test/command/suite/groonga/select/minimum.test    2013-11-26 15:39:09 +0900 (45d2d1c)
+++ test/command/suite/groonga/select/minimum.test    2013-11-26 16:04:35 +0900 (42abaa6)
@@ -1,4 +1,5 @@
 #@config ../../../config/cluster/
+#@include ../../../fixture/user-table.jsons
 {
   "type"    : "select",
   "dataset" : "Droonga",
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る