[Groonga-commit] groonga/grntest [master] translator -> converter

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 6日 (水) 13:28:51 JST


Haruka Yoshihara	2012-06-06 13:28:51 +0900 (Wed, 06 Jun 2012)

  New Revision: b210d537d1f6c4e6a070ef3cef1f585837379b55

  Log:
    translator -> converter
    
    CommandTranslator ->
    CommandFormatConverter

  Modified files:
    lib/groonga/tester.rb
    test/test-executor.rb

  Modified: lib/groonga/tester.rb (+1 -1)
===================================================================
--- lib/groonga/tester.rb    2012-06-06 13:25:05 +0900 (39162a2)
+++ lib/groonga/tester.rb    2012-06-06 13:28:51 +0900 (71bc134)
@@ -615,7 +615,7 @@ module Groonga
       end
     end
 
-    class CommandTranslator
+    class CommandFormatConverter
       def translate_url(line)
         line = line.chomp
         return "" if line.empty?

  Modified: test/test-executor.rb (+2 -2)
===================================================================
--- test/test-executor.rb    2012-06-06 13:25:05 +0900 (2b6bcc9)
+++ test/test-executor.rb    2012-06-06 13:28:51 +0900 (7aa3093)
@@ -55,7 +55,7 @@ class TestExecutor < Test::Unit::TestCase
 
   class TestTranslate < self
     def setup
-      @translator = Groonga::Tester::CommandTranslator.new
+      @converter = Groonga::Tester::CommandFormatConverter.new
     end
 
     def test_command
@@ -142,7 +142,7 @@ EOF
 
     private
     def translate(command)
-      @translator.translate_url(command)
+      @converter.translate_url(command)
     end
 
     def build_url(command, arguments)




Groonga-commit メーリングリストの案内
Back to archive index