Flowdock
method

reset_ui

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: Test::Unit::UI::Tk::TestRunner
reset_ui(count) private

No documentation

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

Hide source
# File lib/test/unit/ui/tk/testrunner.rb, line 108
          def reset_ui(count)
            @test_total_count = count.to_f
            @test_progress_bar.configure('background'=>'green')
            @test_progress_bar.place('relwidth'=>(count.zero? ? 0 : 0/count))
            @red = false

            @test_count_label.value = 0
            @assertion_count_label.value = 0
            @failure_count_label.value = 0
            @error_count_label.value = 0

            @fault_list.delete(0, 'end')
            @fault_detail_list = []
            clear_fault
          end
Register or log in to add new notes.