class Test::Unit::StatusLineOutput
Public Instance Methods
method_missing(*a, &b)
click to toggle source
# File lib/test/unit.rb, line 783 def method_missing(*a, &b) $stdout.__send__(*a, &b) end
print(s)
click to toggle source
# File lib/test/unit.rb, line 785 def print(s) case s when /\A(.*\#.*) = \z/ runner.new_test($1) when /\A(.* s) = \z/ runner.add_status(" = "+$1.chomp) when /\A\.+\z/ runner.succeed when /\A[EFS]\z/ runner.failed(s) else $stdout.print(s) end end
puts(*a)
click to toggle source
# File lib/test/unit.rb, line 781 def puts(*a) $stdout.puts(*a) unless a.empty? end
respond_to_missing?(*a)
click to toggle source
# File lib/test/unit.rb, line 782 def respond_to_missing?(*a) $stdout.respond_to?(*a) end