null+****@clear*****
null+****@clear*****
2012年 6月 20日 (水) 17:12:37 JST
Haruka Yoshihara 2012-06-20 17:12:37 +0900 (Wed, 20 Jun 2012) New Revision: 32d67a20d22492f85d250d08d0c604edc97295a6 https://github.com/groonga/groonga/commit/32d67a20d22492f85d250d08d0c604edc97295a6 Log: test: add a test for table_list when multi tables exist Added files: test/function/suite/table_list/multi_tables.expected test/function/suite/table_list/multi_tables.test Added: test/function/suite/table_list/multi_tables.expected (+56 -0) 100644 =================================================================== --- /dev/null +++ test/function/suite/table_list/multi_tables.expected 2012-06-20 17:12:37 +0900 (ecc9143) @@ -0,0 +1,56 @@ +table_create site TABLE_HASH_KEY ShortText +[[0,0.0,0.0],true] +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" + ] + ], + [ + 257, + "bookmarks", + "tmp/db.0000101", + "TABLE_PAT_KEY|PERSISTENT", + "ShortText", + "Object" + ], + [ + 256, + "site", + "tmp/db.0000100", + "TABLE_HASH_KEY|PERSISTENT", + "ShortText", + "null" + ] + ] +] Added: test/function/suite/table_list/multi_tables.test (+3 -0) 100644 =================================================================== --- /dev/null +++ test/function/suite/table_list/multi_tables.test 2012-06-20 17:12:37 +0900 (296f026) @@ -0,0 +1,3 @@ +table_create site TABLE_HASH_KEY ShortText +table_create bookmarks TABLE_PAT_KEY ShortText Object +table_list -------------- next part -------------- HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...Download