Class: Buildr::TestFramework::Java
- Defined in:
- lib/buildr/java/tests.rb
Direct Known Subclasses
JUnit, Scala::ScalaTest, Buildr::TestNG, TestFramework::JavaBDD
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
#dependencies, #initialize, #run, #tests, to_sym
Constructor Details
This class inherits a constructor from Buildr::TestFramework::Base
Class Method Details
.applies_to?(project) ⇒ Boolean
:nodoc:
28 29 30 |
# File 'lib/buildr/java/tests.rb', line 28 def applies_to?(project) #:nodoc: project.test.compile.language == :java || project.test.compile.language == :groovy end |
.dependencies ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'lib/buildr/java/tests.rb', line 32 def dependencies unless @dependencies super # Add buildr utility classes (e.g. JavaTestFilter) @dependencies |= [ File.join(File.dirname(__FILE__)) ] end @dependencies end |