Class: BuildMaster::JUnitAntTest
- Inherits:
-
Object
- Object
- BuildMaster::JUnitAntTest
- Defined in:
- lib/buildmaster/auto/junit_ant.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(junit, name) ⇒ JUnitAntTest
constructor
A new instance of JUnitAntTest.
- #to_ant ⇒ Object
Constructor Details
#initialize(junit, name) ⇒ JUnitAntTest
Returns a new instance of JUnitAntTest.
117 118 119 120 |
# File 'lib/buildmaster/auto/junit_ant.rb', line 117 def initialize(junit, name) @name = name @junit = junit end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
115 116 117 |
# File 'lib/buildmaster/auto/junit_ant.rb', line 115 def name @name end |
Instance Method Details
#to_ant ⇒ Object
122 123 124 125 126 |
# File 'lib/buildmaster/auto/junit_ant.rb', line 122 def to_ant return <<RESULT <test name="#{name}" todir="#{@junit.test_report}"/> RESULT end |