Kouhei Sutou
null+****@clear*****
Sat Aug 3 19:05:44 JST 2013
Kouhei Sutou 2013-08-03 19:05:44 +0900 (Sat, 03 Aug 2013) New Revision: 7a495df2b8c9f385d6326de72b99bed01b42f4cf https://github.com/groonga/groonga/commit/7a495df2b8c9f385d6326de72b99bed01b42f4cf Message: test: add tests for dumping a table that uses other table as key Patricia trie test is only failed: [3] table/patricia_trie reference_key 0.0368s [failed] ================================================================================ --- (expected) +++ (actual) @@ -4,5 +4,5 @@ [[0,0.0,0.0],true] dump table_create Names TABLE_PAT_KEY ShortText -table_create Users TABLE_PAT_KEY Names +table_create Users TABLE_HASH_KEY Names The next commit will fix it. Added files: test/command/suite/dump/schema/table/double_array_trie/reference_key.expected test/command/suite/dump/schema/table/double_array_trie/reference_key.test test/command/suite/dump/schema/table/hash/reference_key.expected test/command/suite/dump/schema/table/hash/reference_key.test test/command/suite/dump/schema/table/patricia_trie/reference_key.expected test/command/suite/dump/schema/table/patricia_trie/reference_key.test Added: test/command/suite/dump/schema/table/double_array_trie/reference_key.expected (+8 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/schema/table/double_array_trie/reference_key.expected 2013-08-03 19:05:44 +0900 (cac735b) @@ -0,0 +1,8 @@ +table_create Names TABLE_PAT_KEY ShortText +[[0,0.0,0.0],true] +table_create Users TABLE_DAT_KEY Names +[[0,0.0,0.0],true] +dump +table_create Names TABLE_PAT_KEY ShortText +table_create Users TABLE_DAT_KEY Names + Added: test/command/suite/dump/schema/table/double_array_trie/reference_key.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/schema/table/double_array_trie/reference_key.test 2013-08-03 19:05:44 +0900 (19337fb) @@ -0,0 +1,4 @@ +table_create Names TABLE_PAT_KEY ShortText +table_create Users TABLE_DAT_KEY Names + +dump Added: test/command/suite/dump/schema/table/hash/reference_key.expected (+8 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/schema/table/hash/reference_key.expected 2013-08-03 19:05:44 +0900 (8af12d2) @@ -0,0 +1,8 @@ +table_create Names TABLE_PAT_KEY ShortText +[[0,0.0,0.0],true] +table_create Users TABLE_HASH_KEY Names +[[0,0.0,0.0],true] +dump +table_create Names TABLE_PAT_KEY ShortText +table_create Users TABLE_HASH_KEY Names + Added: test/command/suite/dump/schema/table/hash/reference_key.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/schema/table/hash/reference_key.test 2013-08-03 19:05:44 +0900 (7dbc340) @@ -0,0 +1,4 @@ +table_create Names TABLE_PAT_KEY ShortText +table_create Users TABLE_HASH_KEY Names + +dump Added: test/command/suite/dump/schema/table/patricia_trie/reference_key.expected (+8 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/schema/table/patricia_trie/reference_key.expected 2013-08-03 19:05:44 +0900 (2e247f4) @@ -0,0 +1,8 @@ +table_create Names TABLE_PAT_KEY ShortText +[[0,0.0,0.0],true] +table_create Users TABLE_PAT_KEY Names +[[0,0.0,0.0],true] +dump +table_create Names TABLE_PAT_KEY ShortText +table_create Users TABLE_PAT_KEY Names + Added: test/command/suite/dump/schema/table/patricia_trie/reference_key.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/dump/schema/table/patricia_trie/reference_key.test 2013-08-03 19:05:44 +0900 (c8f0adf) @@ -0,0 +1,4 @@ +table_create Names TABLE_PAT_KEY ShortText +table_create Users TABLE_PAT_KEY Names + +dump -------------- next part -------------- HTML����������������������������...Download