[Groonga-commit] groonga/grntest [master] Use "success" instead of "pass" for event type

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 21 12:06:54 JST 2012


Kouhei Sutou	2012-11-21 12:06:54 +0900 (Wed, 21 Nov 2012)

  New Revision: 12e3af4474199a19023db40330e33e8539c945bb
  https://github.com/groonga/grntest/commit/12e3af4474199a19023db40330e33e8539c945bb

  Log:
    Use "success" instead of "pass" for event type
    
    on_test_pass ->
    on_test_success

  Modified files:
    lib/grntest/tester.rb

  Modified: lib/grntest/tester.rb (+4 -4)
===================================================================
--- lib/grntest/tester.rb    2012-11-21 12:04:16 +0900 (88ebf6d)
+++ lib/grntest/tester.rb    2012-11-21 12:06:54 +0900 (144276d)
@@ -513,7 +513,7 @@ module Grntest
       def pass_test(result)
         @status = "passed"
         @result.test_passed
-        @reporter.on_test_pass(self, result)
+        @reporter.on_test_success(self, result)
       end
 
       def fail_test(result)
@@ -2108,7 +2108,7 @@ EOF
       def on_test_start(worker)
       end
 
-      def on_test_pass(worker, result)
+      def on_test_success(worker, result)
         synchronize do
           report_test_result_mark(".", result)
         end
@@ -2201,7 +2201,7 @@ EOF
         @output.flush
       end
 
-      def on_test_pass(worker, result)
+      def on_test_success(worker, result)
         report_test_result(result, worker.status)
       end
 
@@ -2261,7 +2261,7 @@ EOF
         redraw
       end
 
-      def on_test_pass(worker, result)
+      def on_test_success(worker, result)
         redraw
       end
 
-------------- next part --------------
HTML����������������������������...
Download 



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