Class: Buildr::TestFramework::TestResult
- Defined in:
- lib/buildr/java/test_result.rb
Overview
A class used by buildr for jruby based frameworks, so that buildr can know which tests succeeded/failed.
Defined Under Namespace
Classes: Error, YamlFormatter
Instance Attribute Summary collapse
-
#failed ⇒ Object
Returns the value of attribute failed.
-
#succeeded ⇒ Object
Returns the value of attribute succeeded.
Instance Method Summary collapse
-
#initialize ⇒ TestResult
constructor
A new instance of TestResult.
Constructor Details
#initialize ⇒ TestResult
Returns a new instance of TestResult.
52 53 54 |
# File 'lib/buildr/java/test_result.rb', line 52 def initialize @failed, @succeeded = [], [] end |
Instance Attribute Details
#failed ⇒ Object
Returns the value of attribute failed.
50 51 52 |
# File 'lib/buildr/java/test_result.rb', line 50 def failed @failed end |
#succeeded ⇒ Object
Returns the value of attribute succeeded.
50 51 52 |
# File 'lib/buildr/java/test_result.rb', line 50 def succeeded @succeeded end |