[Groonga-commit] droonga/grn2drn at d148064 [master] test: group

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Feb 9 10:13:55 JST 2014


Kouhei Sutou	2014-02-09 10:13:55 +0900 (Sun, 09 Feb 2014)

  New Revision: d1480648895cfbbb4bf6287234c26a9036decf3a
  https://github.com/droonga/grn2drn/commit/d1480648895cfbbb4bf6287234c26a9036decf3a

  Message:
    test: group

  Modified files:
    test/test-converter.rb

  Modified: test/test-converter.rb (+10 -0)
===================================================================
--- test/test-converter.rb    2014-02-09 10:11:56 +0900 (d41e9ce)
+++ test/test-converter.rb    2014-02-09 10:13:55 +0900 (55b8af5)
@@ -26,6 +26,7 @@ class ConverterTest < Test::Unit::TestCase
     @converter = Grn2Drn::Converter.new(options)
   end
 
+  class TableCreateTest < self
   def test_table_create
     droonga_commands = []
     command = <<-COMMAND.chomp
@@ -53,7 +54,9 @@ table_create Terms TABLE_PAT_KEY ShortText \
                  ],
                  droonga_commands)
   end
+  end
 
+  class ColumnCreateTest < self
   def test_column_create
     droonga_commands = []
     command = <<-COMMAND.chomp
@@ -80,7 +83,9 @@ column_create Terms Users_name COLUMN_INDEX|WITH_POSITION Users name
                  ],
                  droonga_commands)
   end
+  end
 
+  class LoadTest < self
   def test_load
     droonga_commands = []
     command = <<-COMMAND.chomp
@@ -141,7 +146,9 @@ load --table Users
                  ],
                  droonga_commands)
   end
+  end
 
+  class SelectTest < self
   def test_select
     droonga_commands = []
     command = <<-COMMAND.chomp
@@ -166,7 +173,9 @@ select --filter "age<=30" --output_type "json" --table "Users"
                  ],
                  droonga_commands)
   end
+  end
 
+  class MultipleCommandsTest < self
   def test_multiple_commands
     droonga_commands = []
     commands = <<-COMMANDS.chomp
@@ -209,6 +218,7 @@ column_create Terms Users_name COLUMN_INDEX|WITH_POSITION Users name
                  ],
                  droonga_commands)
   end
+  end
 
   private
   def date
-------------- next part --------------
HTML����������������������������...
Download 



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