Sha256: d2178f2ca65bb63f0307dd0b8cc03e2b0d14076edc52948ad41b5ebc95a1008e
Contents?: true
Size: 475 Bytes
Versions: 8
Compression:
Stored size: 475 Bytes
Contents
module Test module Unit class TestResult attr_accessor :output def add_to(result) @failures.each {|e| result.add_failure(e)} @errors.each {|e| result.add_error(e)} assertion_count.times {result.add_assertion} run_count.times {result.add_run} end def failed_due_to_deadlock? @errors.any? && !@errors.last.message.to_s.match(/Deadlock found when trying to get lock/).nil? end end end end
Version data entries
8 entries across 8 versions & 1 rubygems