Class: Test::Unit::UI::Fox::FaultListItem

Inherits:
FXListItem
  • Object
show all
Defined in:
lib/test/unit/ui/fox/testrunner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(fault) ⇒ FaultListItem

Returns a new instance of FaultListItem.



256
257
258
259
# File 'lib/test/unit/ui/fox/testrunner.rb', line 256

def initialize(fault)
  super(fault.short_display)
  @fault = fault
end

Instance Attribute Details

#faultObject (readonly)

Returns the value of attribute fault.



255
256
257
# File 'lib/test/unit/ui/fox/testrunner.rb', line 255

def fault
  @fault
end