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