org.apache.itest
Class JUnitUtils
java.lang.Object
org.apache.itest.JUnitUtils
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class JUnitUtils
- extends Object
- implements groovy.lang.GroovyObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JUnitUtils
public JUnitUtils()
executeTests
public static boolean executeTests(Class testClasses)
- A bulk executor of JUnit test clases capable of producing XML testresults
and forking a VM.
- Parameters:
testClasses
- an array of JUnit test classes to be executed in a forked VM
- Returns:
- true if ALL the tests passed and false in any other case
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String name)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
Copyright © 2011. All Rights Reserved.