[Groonga-commit] droonga/grn2drn at 8e9e61c [master] test: use more meaningful names

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Feb 9 10:17:25 JST 2014


Kouhei Sutou	2014-02-09 10:17:25 +0900 (Sun, 09 Feb 2014)

  New Revision: 8e9e61c619030808efc218ea9bed55edf702f6fb
  https://github.com/droonga/grn2drn/commit/8e9e61c619030808efc218ea9bed55edf702f6fb

  Message:
    test: use more meaningful names

  Modified files:
    test/test-converter.rb

  Modified: test/test-converter.rb (+5 -5)
===================================================================
--- test/test-converter.rb    2014-02-09 10:15:07 +0900 (00e5b22)
+++ test/test-converter.rb    2014-02-09 10:17:25 +0900 (9473249)
@@ -44,7 +44,7 @@ class ConverterTest < Test::Unit::TestCase
   end
 
   class TableCreateTest < self
-    def test_table_create
+    def test_tokenizer_normalizer
       droonga_commands = []
       command = <<-COMMAND.chomp
 table_create Terms TABLE_PAT_KEY ShortText \
@@ -74,7 +74,7 @@ table_create Terms TABLE_PAT_KEY ShortText \
   end
 
   class ColumnCreateTest < self
-    def test_column_create
+    def test_index
       droonga_commands = []
       command = <<-COMMAND.chomp
 column_create Terms Users_name COLUMN_INDEX|WITH_POSITION Users name
@@ -103,7 +103,7 @@ column_create Terms Users_name COLUMN_INDEX|WITH_POSITION Users name
   end
 
   class LoadTest < self
-    def test_load
+    def test_array_style
       droonga_commands = []
       command = <<-COMMAND.chomp
 load --table Users
@@ -166,7 +166,7 @@ load --table Users
   end
 
   class SelectTest < self
-    def test_select
+    def test_key_value_style
       droonga_commands = []
       command = <<-COMMAND.chomp
 select --filter "age<=30" --output_type "json" --table "Users"
@@ -193,7 +193,7 @@ select --filter "age<=30" --output_type "json" --table "Users"
   end
 
   class MultipleCommandsTest < self
-    def test_multiple_commands
+    def test_schema
       droonga_commands = []
       commands = <<-COMMANDS.chomp
 table_create Terms TABLE_PAT_KEY ShortText \
-------------- next part --------------
HTML����������������������������...
Download 



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