Class

Test::Unit::UI::Fox::TestRunner

Inheritance
< Object

Runs a Test::Unit::TestSuite in a Fox UI. Obviously, this one requires you to have Fox (www.fox-toolkit.org/fox.html) and the Ruby Fox extension (fxruby.sourceforge.net/) installed.

Constants

Name   Description
GREEN_STYLE = FXRGBA(0,0xFF,0,0xFF)
RED_STYLE = FXRGBA(0xFF,0,0,0xFF)

Methods

Class

Visibility Signature
public new (suite, output_level = NORMAL)

Instance

Visibility Signature
public add_fault (fault)
public attach_to_mediator ()
public clear_fault ()
public create_application ()
public create_button (parent, text, action)
public create_detail_panel (parent)
public create_entry (parent)
public create_fault_list (parent)
public create_info_panel (parent)
public create_label (parent, text)
public create_list_panel (parent)
public create_main_panel (parent)
public create_progress_bar (parent)
public create_suite_panel (parent)
public create_text (parent)
public create_tooltip (app)
public create_window (app)
public finished (elapsed_time)
public output_status (string)
public raw_show_fault (string)
public reset_ui (count)
public result_changed (result)
public setup_mediator ()
public setup_ui ()
public show_fault (fault)
public start ()
public start_ui ()
public started (result)
public stop ()
public test_started (test_name)

Class Method Detail

new(suite, output_level = NORMAL)

Creates a new TestRunner for running the passed suite.

Instance Method Detail

add_fault(fault)

attach_to_mediator()

clear_fault()

create_application()

create_button(parent, text, action)

create_detail_panel(parent)

create_entry(parent)

create_fault_list(parent)

create_info_panel(parent)

create_label(parent, text)

create_list_panel(parent)

create_main_panel(parent)

create_progress_bar(parent)

create_suite_panel(parent)

create_text(parent)

create_tooltip(app)

create_window(app)

finished(elapsed_time)

output_status(string)

raw_show_fault(string)

reset_ui(count)

result_changed(result)

setup_mediator()

setup_ui()

show_fault(fault)

start()

Begins the test run.

start_ui()

started(result)

stop()

test_started(test_name)