Class: Buildr::TestFramework::TestResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeTestResult

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

#failedObject

Returns the value of attribute failed.



46
47
48
# File 'lib/buildr/java/test_result.rb', line 46

def failed
  @failed
end

#succeededObject

Returns the value of attribute succeeded.



46
47
48
# File 'lib/buildr/java/test_result.rb', line 46

def succeeded
  @succeeded
end