[Groonga-commit] groonga/groonga-command at a0fc4bb [master] test table_create: ungroup tests

Back to archive index

Kosuke Asami null+****@clear*****
Thu Jul 11 15:57:37 JST 2013


Kosuke Asami	2013-07-11 15:57:37 +0900 (Thu, 11 Jul 2013)

  New Revision: a0fc4bb2990a8f4f6e47c2a31b1ffdbd24ca7a74
  https://github.com/groonga/groonga-command/commit/a0fc4bb2990a8f4f6e47c2a31b1ffdbd24ca7a74

  Message:
    test table_create: ungroup tests

  Modified files:
    test/command/test-table-create.rb

  Modified: test/command/test-table-create.rb (+0 -10)
===================================================================
--- test/command/test-table-create.rb    2013-07-11 15:36:55 +0900 (455255e)
+++ test/command/test-table-create.rb    2013-07-11 15:57:37 +0900 (bd80259)
@@ -63,7 +63,6 @@ class TableCreateCommandTest < Test::Unit::TestCase
       end
 
       class PredicateTest < self
-        class TableNoKeyTest < self
           data({
               "TABLE_NO_KEY" => {
                 :expected => true,
@@ -78,9 +77,7 @@ class TableCreateCommandTest < Test::Unit::TestCase
             command = parse({"flags" => data[:flags]})
             assert_equal(data[:expected], command.table_no_key?)
           end
-        end
 
-        class TableHashKeyTest < self
           data({
               "TABLE_HASH_KEY" => {
                 :expected => true,
@@ -95,9 +92,7 @@ class TableCreateCommandTest < Test::Unit::TestCase
             command = parse({"flags" => data[:flags]})
             assert_equal(data[:expected], command.table_hash_key?)
           end
-        end
 
-        class TablePatKeyTest < self
           data({
               "TABLE_PAT_KEY" => {
                 :expected => true,
@@ -112,9 +107,7 @@ class TableCreateCommandTest < Test::Unit::TestCase
             command = parse({"flags" => data[:flags]})
             assert_equal(data[:expected], command.table_pat_key?)
           end
-        end
 
-        class TableDatKeyTest < self
           data({
               "TABLE_DAT_KEY" => {
                 :expected => true,
@@ -129,9 +122,7 @@ class TableCreateCommandTest < Test::Unit::TestCase
             command = parse({"flags" => data[:flags]})
             assert_equal(data[:expected], command.table_dat_key?)
           end
-        end
 
-        class TableKeyWithSisTest < self
           data({
               "TABLE_DAT_KEY" => {
                 :expected => true,
@@ -146,7 +137,6 @@ class TableCreateCommandTest < Test::Unit::TestCase
             command = parse({"flags" => data[:flags]})
             assert_equal(data[:expected], command.key_with_sis?)
           end
-        end
       end
     end
   end
-------------- next part --------------
HTML����������������������������...
Download 



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