[Groonga-commit] droonga/fluent-plugin-droonga at 288ca69 [master] test: use XXXTest instead of TestXXX

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Oct 25 18:17:03 JST 2013


Kouhei Sutou	2013-10-25 18:17:03 +0900 (Fri, 25 Oct 2013)

  New Revision: 288ca69abb49f6a72d9aed5948e3f79e8dac8051
  https://github.com/droonga/fluent-plugin-droonga/commit/288ca69abb49f6a72d9aed5948e3f79e8dac8051

  Message:
    test: use XXXTest instead of TestXXX
    
    Because other test cases uses the convention.

  Modified files:
    test/plugin/handler/test_handler_add.rb
    test/plugin/handler/test_handler_watch.rb

  Modified: test/plugin/handler/test_handler_add.rb (+3 -3)
===================================================================
--- test/plugin/handler/test_handler_add.rb    2013-10-25 18:15:25 +0900 (8f62e5b)
+++ test/plugin/handler/test_handler_add.rb    2013-10-25 18:17:03 +0900 (b8eb562)
@@ -53,7 +53,7 @@ class AddHandlerTest < Test::Unit::TestCase
   end
 
   public
-  class TestHasKey < self
+  class HasKeyTest < self
     def setup_schema
       Groonga::Schema.define do |schema|
         schema.create_table("Users",
@@ -89,7 +89,7 @@ class AddHandlerTest < Test::Unit::TestCase
     end
   end
 
-  class TestNoKey < self
+  class NoKeyTest < self
     def setup_schema
       Groonga::Schema.define do |schema|
         schema.create_table("Books",
@@ -122,7 +122,7 @@ class AddHandlerTest < Test::Unit::TestCase
     end
   end
 
-  class TestFailure < self
+  class FailureTest < self
     def test_nonexistent_table
       request = {
         "table"  => "Nonexistent",

  Modified: test/plugin/handler/test_handler_watch.rb (+3 -3)
===================================================================
--- test/plugin/handler/test_handler_watch.rb    2013-10-25 18:15:25 +0900 (56e9e8d)
+++ test/plugin/handler/test_handler_watch.rb    2013-10-25 18:17:03 +0900 (c04fa24)
@@ -59,7 +59,7 @@ class WatchHandlerTest < Test::Unit::TestCase
   end
 
   public
-  class TestSubscribe < self
+  class SubscribeTest < self
     def test_subscribe
       request = {
         "route" => "localhost:23003/output",
@@ -116,7 +116,7 @@ class WatchHandlerTest < Test::Unit::TestCase
     end
   end
 
-  class TestUnsubscribe < self
+  class UnsubscribeTest < self
     def setup
       super
       setup_subscription
@@ -144,7 +144,7 @@ class WatchHandlerTest < Test::Unit::TestCase
     end
   end
 
-  class TestFeed < self
+  class FeedTest < self
     def setup
       super
       setup_subscription
-------------- next part --------------
HTML����������������������������...
Download 



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