method

result_changed

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Test::Unit::UI::Fox::TestRunner

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

result_changed(result) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/test/unit/ui/fox/testrunner.rb, line 118
          def result_changed(result)
            @test_progress_bar.progress = result.run_count
  
            @test_count_label.text = result.run_count.to_s
            @assertion_count_label.text = result.assertion_count.to_s
            @failure_count_label.text = result.failure_count.to_s
            @error_count_label.text = result.error_count.to_s

             # repaint now!
             @info_panel.repaint
             @application.flush
          end
Register or log in to add new notes.