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, RSpecResultHandler, 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.
48 49 50 |
# File 'lib/buildr/java/test_result.rb', line 48 def initialize @failed, @succeeded = [], [] end |
Instance Attribute Details
#failed ⇒ Object
Returns the value of attribute failed.
46 47 48 |
# File 'lib/buildr/java/test_result.rb', line 46 def failed @failed end |
#succeeded ⇒ Object
Returns the value of attribute succeeded.
46 47 48 |
# File 'lib/buildr/java/test_result.rb', line 46 def succeeded @succeeded end |