Sha256: d851020b09b06a54e89c5ec9044052c446d0900e7281e8067caedbac5b7b8fac
Contents?: true
Size: 773 Bytes
Versions: 1
Compression:
Stored size: 773 Bytes
Contents
module DeepTest module Spec class WorkResult attr_reader :file, :line, :example_description, :error, :output def initialize(file, line, example_description, error, output) @file, @line, @example_description, @error, @output = file, line, example_description, error, output end def ==(other) file == other.file && line == other.line && example_description == other.example_description && error == other.error end def failed_due_to_deadlock? DeadlockDetector.due_to_deadlock?(@error) end def deadlock_result WorkResult.new(file, line, example_description, nil, '-deadlock-') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deep_test-1.1.3 | lib/deep_test/spec/work_result.rb |