Class: CemAcpt::TestRunner::LogFormatter::StandardErrorFormatter
- Inherits:
-
Base
- Object
- Base
- CemAcpt::TestRunner::LogFormatter::StandardErrorFormatter
show all
- Defined in:
- lib/cem_acpt/test_runner/log_formatter/standard_error_formatter.rb
Constant Summary
Constants inherited
from Base
Base::INDENT
Instance Attribute Summary
Attributes inherited from Base
#subject
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #inspect, #to_s
Instance Method Details
#host_name(response = nil) ⇒ Object
23
24
25
26
|
# File 'lib/cem_acpt/test_runner/log_formatter/standard_error_formatter.rb', line 23
def host_name(response = nil)
super(response)
"Error: #{log_subject.class.name}"
end
|
#results(response = nil) ⇒ Object
14
15
16
17
18
19
20
21
|
# File 'lib/cem_acpt/test_runner/log_formatter/standard_error_formatter.rb', line 14
def results(response = nil)
super(response)
[
"Error: #{log_subject.class.name}",
log_subject.detailed_message,
log_subject.backtrace.join("\n"),
]
end
|
#summary(subject = nil) ⇒ Object
9
10
11
12
|
# File 'lib/cem_acpt/test_runner/log_formatter/standard_error_formatter.rb', line 9
def summary(subject = nil)
super(subject)
"Error: #{log_subject.detailed_message}"
end
|
#test_name(response = nil) ⇒ Object
28
29
30
31
|
# File 'lib/cem_acpt/test_runner/log_formatter/standard_error_formatter.rb', line 28
def test_name(response = nil)
super(response)
"Error: #{log_subject.class.name}"
end
|