A C E F G I L M N O R S T V 
All Classes All Packages

A

AllTestSuite - Class in groovy.test
AllTestSuite can be used in extension of GroovyTestSuite to execute TestCases written in Groovy from inside a Java IDE.
AllTestSuite - Class in groovy.util
Deprecated.
AllTestSuite() - Constructor for class groovy.test.AllTestSuite
 
AllTestSuite() - Constructor for class groovy.util.AllTestSuite
Deprecated.
 
assertArrayEquals(Object[], Object[]) - Method in class groovy.test.GroovyTestCase
Asserts that the arrays are equivalent and contain the same values
assertArrayEquals(Object[], Object[]) - Method in class groovy.util.GroovyTestCase
Deprecated.
Asserts that the arrays are equivalent and contain the same values
assertContains(char, char[]) - Method in class groovy.test.GroovyTestCase
Asserts that the array of characters contains a given char
assertContains(char, char[]) - Method in class groovy.util.GroovyTestCase
Deprecated.
Asserts that the array of characters contains a given char
assertContains(int, int[]) - Method in class groovy.test.GroovyTestCase
Asserts that the array of ints contains a given int
assertContains(int, int[]) - Method in class groovy.util.GroovyTestCase
Deprecated.
Asserts that the array of ints contains a given int
assertEquals(Object, Object) - Static method in class groovy.test.GroovyTestCase
 
assertEquals(Object, Object) - Static method in class groovy.util.GroovyTestCase
Deprecated.
 
assertEquals(String, Object, Object) - Static method in class groovy.test.GroovyTestCase
 
assertEquals(String, Object, Object) - Static method in class groovy.util.GroovyTestCase
Deprecated.
 
assertEquals(String, String) - Static method in class groovy.test.GroovyTestCase
 
assertEquals(String, String) - Static method in class groovy.util.GroovyTestCase
Deprecated.
 
assertInspect(Object, String) - Method in class groovy.test.GroovyTestCase
Asserts that the value of inspect() on the given object matches the given text string
assertInspect(Object, String) - Method in class groovy.util.GroovyTestCase
Deprecated.
Asserts that the value of inspect() on the given object matches the given text string
assertLength(int, char[]) - Method in class groovy.test.GroovyTestCase
Asserts that the array of characters has a given length
assertLength(int, char[]) - Method in class groovy.util.GroovyTestCase
Deprecated.
Asserts that the array of characters has a given length
assertLength(int, int[]) - Method in class groovy.test.GroovyTestCase
Asserts that the array of ints has a given length
assertLength(int, int[]) - Method in class groovy.util.GroovyTestCase
Deprecated.
Asserts that the array of ints has a given length
assertLength(int, Object[]) - Method in class groovy.test.GroovyTestCase
Asserts that the array of objects has a given length
assertLength(int, Object[]) - Method in class groovy.util.GroovyTestCase
Deprecated.
Asserts that the array of objects has a given length
assertScript(String) - Static method in class groovy.test.GroovyAssert
Asserts that the script runs without any exceptions
assertScript(String) - Method in class groovy.test.GroovyTestCase
assertScript(String) - Method in class groovy.util.GroovyTestCase
Deprecated.
assertToString(Object, String) - Method in class groovy.test.GroovyTestCase
Asserts that the value of toString() on the given object matches the given text string
assertToString(Object, String) - Method in class groovy.util.GroovyTestCase
Deprecated.
Asserts that the value of toString() on the given object matches the given text string

C

compile(String) - Method in class groovy.test.AllTestSuite
 
compile(String) - Method in class groovy.test.GroovyTestSuite
 
compile(String) - Method in class groovy.util.AllTestSuite
Deprecated.
 
compile(String) - Method in class groovy.util.GroovyTestSuite
Deprecated.
 
countTestCases() - Method in class org.apache.groovy.test.ScriptTestAdapter
 
countTestCases() - Method in class org.codehaus.groovy.runtime.ScriptTestAdapter
Deprecated.
 

E

exception() - Method in annotation type groovy.test.NotYetImplemented
If defined, tests which unexpectedly pass will throw this exception.

F

file - Static variable in class groovy.test.GroovyTestSuite
 
file - Static variable in class groovy.util.GroovyTestSuite
Deprecated.
 
fixEOLs(String) - Method in class groovy.test.GroovyTestCase
Returns a copy of a string in which all EOLs are \n.
fixEOLs(String) - Method in class groovy.util.GroovyTestCase
Deprecated.
Returns a copy of a string in which all EOLs are \n.

G

genericScriptName() - Static method in class groovy.test.GroovyAssert
 
getMethodName() - Method in class groovy.test.GroovyTestCase
 
getMethodName() - Method in class groovy.util.GroovyTestCase
Deprecated.
 
getName() - Method in class groovy.test.GroovyTestCase
Overload the getName() method to make the test cases look more like AgileDox (thanks to Joe Walnes for this tip!)
getName() - Method in class groovy.util.GroovyTestCase
Deprecated.
Overload the getName() method to make the test cases look more like AgileDox (thanks to Joe Walnes for this tip!)
getProperty(Class, Object, String, boolean, boolean) - Method in class groovy.mock.interceptor.MockProxyMetaClass
 
getTestClassName() - Method in class groovy.test.GroovyTestCase
 
getTestClassName() - Method in class groovy.util.GroovyTestCase
Deprecated.
 
groovy.mock.interceptor - package groovy.mock.interceptor
 
groovy.test - package groovy.test
 
groovy.transform - package groovy.transform
 
groovy.util - package groovy.util
 
GroovyAssert - Class in groovy.test
GroovyAssert contains a set of static assertion and test helper methods and is supposed to be a Groovy extension of JUnit 4's Assert class.
GroovyAssert - Class in groovy.util
Deprecated.
Use the GroovyAssert class instead
GroovyAssert() - Constructor for class groovy.test.GroovyAssert
 
GroovyAssert() - Constructor for class groovy.util.GroovyAssert
Deprecated.
 
GroovyTestCase - Class in groovy.test
A JUnit 3 TestCase base class in Groovy.
GroovyTestCase - Class in groovy.util
Deprecated.
GroovyTestCase() - Constructor for class groovy.test.GroovyTestCase
 
GroovyTestCase() - Constructor for class groovy.util.GroovyTestCase
Deprecated.
 
GroovyTestSuite - Class in groovy.test
A TestSuite which will run a Groovy unit test case inside any Java IDE either as a unit test case or as an application.
GroovyTestSuite - Class in groovy.util
Deprecated.
GroovyTestSuite() - Constructor for class groovy.test.GroovyTestSuite
 
GroovyTestSuite() - Constructor for class groovy.util.GroovyTestSuite
Deprecated.
 

I

interceptConstruction - Variable in class groovy.mock.interceptor.MockProxyMetaClass
 
invokeConstructor(Object[]) - Method in class groovy.mock.interceptor.MockProxyMetaClass
Unlike general impl in superclass, ctors are not intercepted but relayed unless interceptConstruction is set.
invokeMethod(Class, Object, String, Object[], boolean, boolean) - Method in class groovy.mock.interceptor.MockProxyMetaClass
 
invokeMethod(Object, String, Object[]) - Method in class groovy.mock.interceptor.MockProxyMetaClass
 
invokeStaticMethod(Object, String, Object[]) - Method in class groovy.mock.interceptor.MockProxyMetaClass
 
isAtLeastJdk(String) - Static method in class groovy.test.GroovyAssert
 

L

loader - Variable in class groovy.test.GroovyTestSuite
 
loader - Variable in class groovy.util.GroovyTestSuite
Deprecated.
 
loadTest(String) - Method in class groovy.test.AllTestSuite
 
loadTest(String) - Method in class groovy.util.AllTestSuite
Deprecated.
 
loadTestSuite() - Method in class groovy.test.GroovyTestSuite
 
loadTestSuite() - Method in class groovy.util.GroovyTestSuite
Deprecated.
 
log - Static variable in class groovy.test.GroovyTestCase
 
log - Static variable in class groovy.util.GroovyTestCase
Deprecated.
 

M

main(String[]) - Static method in class groovy.test.GroovyTestSuite
 
main(String[]) - Static method in class groovy.util.GroovyTestSuite
Deprecated.
 
make(Class) - Static method in class groovy.mock.interceptor.MockProxyMetaClass
convenience factory method for the most usual case.
make(Class, boolean) - Static method in class groovy.mock.interceptor.MockProxyMetaClass
convenience factory method allowing interceptConstruction to be set.
MockProxyMetaClass - Class in groovy.mock.interceptor
The ProxyMetaClass for the MockInterceptor.
MockProxyMetaClass(MetaClassRegistry, Class, MetaClass) - Constructor for class groovy.mock.interceptor.MockProxyMetaClass
 
MockProxyMetaClass(MetaClassRegistry, Class, MetaClass, boolean) - Constructor for class groovy.mock.interceptor.MockProxyMetaClass
 

N

notYetImplemented() - Method in class groovy.test.GroovyTestCase
Convenience method for subclasses of GroovyTestCase, identical to
notYetImplemented() - Method in class groovy.util.GroovyTestCase
Deprecated.
Convenience method for subclasses of GroovyTestCase, identical to
notYetImplemented(Object) - Static method in class groovy.test.GroovyAssert
Runs the calling JUnit test again and fails only if it unexpectedly runs.
This is helpful for tests that don't currently work but should work one day, when the tested functionality has been implemented.
notYetImplemented(Object) - Static method in class groovy.test.GroovyTestCase
notYetImplemented(Object) - Static method in class groovy.util.GroovyTestCase
Deprecated.
NotYetImplemented - Annotation Type in groovy.test
Method annotation used to invert test case results.
NotYetImplemented - Annotation Type in groovy.transform
Deprecated.
NotYetImplementedASTTransformation - Class in org.apache.groovy.test.transform
Generates code for the @NotYetImplemented annotation.
NotYetImplementedASTTransformation() - Constructor for class org.apache.groovy.test.transform.NotYetImplementedASTTransformation
 
NotYetImplementedLegacyASTTransformation - Class in org.apache.groovy.test.transform
Deprecated.
NotYetImplementedLegacyASTTransformation() - Constructor for class org.apache.groovy.test.transform.NotYetImplementedLegacyASTTransformation
Deprecated.
 

O

org.apache.groovy.test - package org.apache.groovy.test
 
org.apache.groovy.test.transform - package org.apache.groovy.test.transform
 
org.codehaus.groovy.runtime - package org.codehaus.groovy.runtime
 

R

run(TestResult) - Method in class org.apache.groovy.test.ScriptTestAdapter
 
run(TestResult) - Method in class org.codehaus.groovy.runtime.ScriptTestAdapter
Deprecated.
 

S

ScriptTestAdapter - Class in org.apache.groovy.test
An adapter to make any Groovy Script class an instance of a JUnit Test
ScriptTestAdapter - Class in org.codehaus.groovy.runtime
Deprecated.
ScriptTestAdapter(Class, String[]) - Constructor for class org.apache.groovy.test.ScriptTestAdapter
 
ScriptTestAdapter(Class, String[]) - Constructor for class org.codehaus.groovy.runtime.ScriptTestAdapter
Deprecated.
 
setProperty(Class, Object, String, Object, boolean, boolean) - Method in class groovy.mock.interceptor.MockProxyMetaClass
 
shouldFail(Closure) - Static method in class groovy.test.GroovyAssert
Asserts that the given code closure fails when it is evaluated
shouldFail(Closure) - Method in class groovy.test.GroovyTestCase
shouldFail(Closure) - Static method in class groovy.util.GroovyAssert
Deprecated.
Asserts that the given code closure fails when it is evaluated
shouldFail(Closure) - Method in class groovy.util.GroovyTestCase
Deprecated.
shouldFail(Class, Closure) - Static method in class groovy.test.GroovyAssert
Asserts that the given code closure fails when it is evaluated and that a particular type of exception is thrown.
shouldFail(Class, Closure) - Method in class groovy.test.GroovyTestCase
shouldFail(Class, Closure) - Static method in class groovy.util.GroovyAssert
Deprecated.
Asserts that the given code closure fails when it is evaluated and that a particular exception is thrown.
shouldFail(Class, Closure) - Method in class groovy.util.GroovyTestCase
Deprecated.
shouldFail(Class, String) - Static method in class groovy.test.GroovyAssert
Asserts that the given script fails when it is evaluated and that a particular type of exception is thrown.
shouldFail(Class, String) - Method in class groovy.test.GroovyTestCase
shouldFail(Class, String) - Method in class groovy.util.GroovyTestCase
Deprecated.
shouldFail(String) - Static method in class groovy.test.GroovyAssert
Asserts that the given script fails when it is evaluated
shouldFail(String) - Method in class groovy.test.GroovyTestCase
shouldFail(String) - Method in class groovy.util.GroovyTestCase
Deprecated.
shouldFailWithCause(Class, Closure) - Static method in class groovy.test.GroovyAssert
Asserts that the given code closure fails when it is evaluated and that a particular Exception type can be attributed to the cause.
shouldFailWithCause(Class, Closure) - Method in class groovy.test.GroovyTestCase
shouldFailWithCause(Class, Closure) - Static method in class groovy.util.GroovyAssert
Deprecated.
Asserts that the given code closure fails when it is evaluated and that a particular exception can be attributed to the cause.
shouldFailWithCause(Class, Closure) - Method in class groovy.util.GroovyTestCase
Deprecated.
suite() - Static method in class groovy.test.AllTestSuite
 
suite() - Static method in class groovy.test.GroovyTestSuite
 
suite() - Static method in class groovy.util.AllTestSuite
Deprecated.
 
suite() - Static method in class groovy.util.GroovyTestSuite
Deprecated.
 
suite(String, String) - Static method in class groovy.test.AllTestSuite
 
suite(String, String) - Static method in class groovy.util.AllTestSuite
Deprecated.
 
suite(String, String, String) - Static method in class groovy.test.AllTestSuite
 
suite(String, String, String) - Static method in class groovy.util.AllTestSuite
Deprecated.
 
SYSPROP_TEST_DIR - Static variable in class groovy.test.AllTestSuite
The System Property to set as base directory for collection of Test Cases.
SYSPROP_TEST_DIR - Static variable in class groovy.util.AllTestSuite
Deprecated.
The System Property to set as base directory for collection of Test Cases.
SYSPROP_TEST_EXCLUDES_PATTERN - Static variable in class groovy.test.AllTestSuite
The System Property to set as a filename excludes pattern for collection of Test Cases.
SYSPROP_TEST_EXCLUDES_PATTERN - Static variable in class groovy.util.AllTestSuite
Deprecated.
The System Property to set as a filename excludes pattern for collection of Test Cases.
SYSPROP_TEST_PATTERN - Static variable in class groovy.test.AllTestSuite
The System Property to set as the filename pattern for collection of Test Cases.
SYSPROP_TEST_PATTERN - Static variable in class groovy.util.AllTestSuite
Deprecated.
The System Property to set as the filename pattern for collection of Test Cases.

T

TEST_SCRIPT_NAME_PREFIX - Static variable in class groovy.test.GroovyAssert
 
TEST_SCRIPT_NAME_PREFIX - Static variable in class groovy.test.GroovyTestCase
 
TEST_SCRIPT_NAME_PREFIX - Static variable in class groovy.util.GroovyTestCase
Deprecated.
 
toString() - Method in class org.apache.groovy.test.ScriptTestAdapter
 
toString() - Method in class org.codehaus.groovy.runtime.ScriptTestAdapter
Deprecated.
 

V

visit(ASTNode[], SourceUnit) - Method in class org.apache.groovy.test.transform.NotYetImplementedASTTransformation
 
visit(ASTNode[], SourceUnit) - Method in class org.apache.groovy.test.transform.NotYetImplementedLegacyASTTransformation
Deprecated.
 
A C E F G I L M N O R S T V 
All Classes All Packages