Class: Test::Unit::UI::FOX::FaultListItem

Inherits:
Fox::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.



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

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

Instance Attribute Details

#faultObject (readonly)

Returns the value of attribute fault.



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

def fault
  @fault
end