[Groonga-commit] groonga/groonga at ca404e0 [master] test table_remove: add tests for TABLE_NO_KEY and --dependent yes

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Mar 17 12:32:14 JST 2016


Kouhei Sutou	2016-03-17 12:32:14 +0900 (Thu, 17 Mar 2016)

  New Revision: ca404e0f3b96088dc83e9af9fdf0f4f8ab5fd1d5
  https://github.com/groonga/groonga/commit/ca404e0f3b96088dc83e9af9fdf0f4f8ab5fd1d5

  Message:
    test table_remove: add tests for TABLE_NO_KEY and --dependent yes

  Added files:
    test/command/suite/table_remove/array/referenced/dependent/column_scalar.expected
    test/command/suite/table_remove/array/referenced/dependent/column_scalar.test
    test/command/suite/table_remove/array/referenced/dependent/column_vector.expected
    test/command/suite/table_remove/array/referenced/dependent/column_vector.test
    test/command/suite/table_remove/array/referenced/dependent/table_double_array_trie.expected
    test/command/suite/table_remove/array/referenced/dependent/table_double_array_trie.test
    test/command/suite/table_remove/array/referenced/dependent/table_hash.expected
    test/command/suite/table_remove/array/referenced/dependent/table_hash.test
    test/command/suite/table_remove/array/referenced/dependent/table_patricia_trie.expected
    test/command/suite/table_remove/array/referenced/dependent/table_patricia_trie.test

  Added: test/command/suite/table_remove/array/referenced/dependent/column_scalar.expected (+10 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/column_scalar.expected    2016-03-17 12:32:14 +0900 (ffb66a9)
@@ -0,0 +1,10 @@
+table_create Names TABLE_NO_KEY
+[[0,0.0,0.0],true]
+table_create Users TABLE_HASH_KEY ShortText
+[[0,0.0,0.0],true]
+column_create Users name COLUMN_SCALAR Names
+[[0,0.0,0.0],true]
+table_remove Names --dependent yes
+[[0,0.0,0.0],true]
+dump
+table_create Users TABLE_HASH_KEY ShortText

  Added: test/command/suite/table_remove/array/referenced/dependent/column_scalar.test (+7 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/column_scalar.test    2016-03-17 12:32:14 +0900 (747e0eb)
@@ -0,0 +1,7 @@
+table_create Names TABLE_NO_KEY
+table_create Users TABLE_HASH_KEY ShortText
+column_create Users name COLUMN_SCALAR Names
+
+table_remove Names --dependent yes
+
+dump

  Added: test/command/suite/table_remove/array/referenced/dependent/column_vector.expected (+10 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/column_vector.expected    2016-03-17 12:32:14 +0900 (f195325)
@@ -0,0 +1,10 @@
+table_create Names TABLE_NO_KEY
+[[0,0.0,0.0],true]
+table_create Users TABLE_HASH_KEY ShortText
+[[0,0.0,0.0],true]
+column_create Users name COLUMN_VECTOR Names
+[[0,0.0,0.0],true]
+table_remove Names --dependent yes
+[[0,0.0,0.0],true]
+dump
+table_create Users TABLE_HASH_KEY ShortText

  Added: test/command/suite/table_remove/array/referenced/dependent/column_vector.test (+7 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/column_vector.test    2016-03-17 12:32:14 +0900 (479a054)
@@ -0,0 +1,7 @@
+table_create Names TABLE_NO_KEY
+table_create Users TABLE_HASH_KEY ShortText
+column_create Users name COLUMN_VECTOR Names
+
+table_remove Names --dependent yes
+
+dump

  Added: test/command/suite/table_remove/array/referenced/dependent/table_double_array_trie.expected (+12 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/table_double_array_trie.expected    2016-03-17 12:32:14 +0900 (a14b3a2)
@@ -0,0 +1,12 @@
+table_create Names TABLE_NO_KEY
+[[0,0.0,0.0],true]
+table_create Users TABLE_DAT_KEY Names
+[[0,0.0,0.0],true]
+table_create Administrators TABLE_DAT_KEY Names
+[[0,0.0,0.0],true]
+table_create Machines TABLE_DAT_KEY ShortText
+[[0,0.0,0.0],true]
+table_remove Names --dependent yes
+[[0,0.0,0.0],true]
+dump
+table_create Machines TABLE_DAT_KEY ShortText

  Added: test/command/suite/table_remove/array/referenced/dependent/table_double_array_trie.test (+8 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/table_double_array_trie.test    2016-03-17 12:32:14 +0900 (bc4ba91)
@@ -0,0 +1,8 @@
+table_create Names TABLE_NO_KEY
+table_create Users TABLE_DAT_KEY Names
+table_create Administrators TABLE_DAT_KEY Names
+table_create Machines TABLE_DAT_KEY ShortText
+
+table_remove Names --dependent yes
+
+dump

  Added: test/command/suite/table_remove/array/referenced/dependent/table_hash.expected (+12 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/table_hash.expected    2016-03-17 12:32:14 +0900 (ed7a338)
@@ -0,0 +1,12 @@
+table_create Names TABLE_NO_KEY
+[[0,0.0,0.0],true]
+table_create Users TABLE_HASH_KEY Names
+[[0,0.0,0.0],true]
+table_create Administrators TABLE_HASH_KEY Names
+[[0,0.0,0.0],true]
+table_create Machines TABLE_HASH_KEY ShortText
+[[0,0.0,0.0],true]
+table_remove Names --dependent yes
+[[0,0.0,0.0],true]
+dump
+table_create Machines TABLE_HASH_KEY ShortText

  Added: test/command/suite/table_remove/array/referenced/dependent/table_hash.test (+8 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/table_hash.test    2016-03-17 12:32:14 +0900 (793a2d6)
@@ -0,0 +1,8 @@
+table_create Names TABLE_NO_KEY
+table_create Users TABLE_HASH_KEY Names
+table_create Administrators TABLE_HASH_KEY Names
+table_create Machines TABLE_HASH_KEY ShortText
+
+table_remove Names --dependent yes
+
+dump

  Added: test/command/suite/table_remove/array/referenced/dependent/table_patricia_trie.expected (+12 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/table_patricia_trie.expected    2016-03-17 12:32:14 +0900 (430c3c2)
@@ -0,0 +1,12 @@
+table_create Names TABLE_NO_KEY
+[[0,0.0,0.0],true]
+table_create Users TABLE_PAT_KEY Names
+[[0,0.0,0.0],true]
+table_create Administrators TABLE_PAT_KEY Names
+[[0,0.0,0.0],true]
+table_create Machines TABLE_PAT_KEY ShortText
+[[0,0.0,0.0],true]
+table_remove Names --dependent yes
+[[0,0.0,0.0],true]
+dump
+table_create Machines TABLE_PAT_KEY ShortText

  Added: test/command/suite/table_remove/array/referenced/dependent/table_patricia_trie.test (+8 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/table_remove/array/referenced/dependent/table_patricia_trie.test    2016-03-17 12:32:14 +0900 (a6b3500)
@@ -0,0 +1,8 @@
+table_create Names TABLE_NO_KEY
+table_create Users TABLE_PAT_KEY Names
+table_create Administrators TABLE_PAT_KEY Names
+table_create Machines TABLE_PAT_KEY ShortText
+
+table_remove Names --dependent yes
+
+dump
-------------- next part --------------
HTML����������������������������...
Download 



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