Kosuke Asami
null+****@clear*****
Mon Jul 22 14:44:31 JST 2013
Kosuke Asami 2013-07-22 14:44:31 +0900 (Mon, 22 Jul 2013) New Revision: 283e333323e95d42ccb8fc6e5db7641a4f2df1d9 https://github.com/groonga/fluent-plugin-droonga/commit/283e333323e95d42ccb8fc6e5db7641a4f2df1d9 Message: test column_create: group tests that check columns of index data Modified files: test/plugin/groonga/test_column_create.rb Modified: test/plugin/groonga/test_column_create.rb (+2 -0) =================================================================== --- test/plugin/groonga/test_column_create.rb 2013-07-22 14:42:41 +0900 (98ba14f) +++ test/plugin/groonga/test_column_create.rb 2013-07-22 14:44:31 +0900 (6744716) @@ -65,6 +65,7 @@ column_create Books title COLUMN_VECTOR ShortText assert_equal("table_create Books TABLE_HASH_KEY --key_type ShortText\n#{data[:schema]}", dump) end + class IndexTest < self def test_index_column_type data = { :flags => "COLUMN_INDEX", @@ -124,5 +125,6 @@ column_create Books entry_title COLUMN_INDEX|WITH_SECTION|WITH_WEIGHT|WITH_POSIT @handler.column_create(request) assert_equal("table_create Books TABLE_HASH_KEY --key_type ShortText\ncolumn_create Books title COLUMN_SCALAR ShortText\n\n#{data[:schema]}", dump) end + end end end -------------- next part -------------- HTML����������������������������...Download