In Files

  • test-unit-3.5.3/lib/test/unit/ui/console/testrunner.rb

Class/Module Index [+]

Quicksearch

Test::Unit::UI::Console::ColorizedReadableDiffer

Public Class Methods

new(from, to, runner) click to toggle source
 
               # File test-unit-3.5.3/lib/test/unit/ui/console/testrunner.rb, line 590
def initialize(from, to, runner)
  @runner = runner
  super(from, to)
end
            

Public Instance Methods

need_diff?(options={}) click to toggle source
 
               # File test-unit-3.5.3/lib/test/unit/ui/console/testrunner.rb, line 595
def need_diff?(options={})
  return false if one_line_all_change?
  operations.each do |tag,|
    return true if [:replace, :equal].include?(tag)
  end
  false
end
            
There is an updated format of the API docs for this version here.