A C F G I L M N O R S T V 

A

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

C

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

F

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

G

getMethodName() - Method in class groovy.util.GroovyTestCase
 
getName() - Method in class groovy.util.GroovyTestCase
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.util.GroovyTestCase
 
groovy.mock.interceptor - package groovy.mock.interceptor
 
groovy.test - package groovy.test
 
groovy.transform - package groovy.transform
 
groovy.util - package groovy.util
Various Groovy utilities for working with nodes, builders, logging, JUnit test cases, text expressions, Ant tasks or JMX MBeans.
GroovyAssert - Class in groovy.test
 
GroovyAssert() - Constructor for class groovy.test.GroovyAssert
 
GroovyAssert - Class in groovy.util
 
GroovyAssert() - Constructor for class groovy.util.GroovyAssert
 
GroovyTestCase - Class in groovy.util
A default JUnit TestCase in Groovy.
GroovyTestCase() - Constructor for class groovy.util.GroovyTestCase
 
GroovyTestSuite - Class in groovy.util
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() - Constructor for class groovy.util.GroovyTestSuite
 

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(Object, String, Object[]) - Method in class groovy.mock.interceptor.MockProxyMetaClass
 
invokeStaticMethod(Object, String, Object[]) - Method in class groovy.mock.interceptor.MockProxyMetaClass
 

L

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

M

main(String[]) - Static method in class groovy.util.GroovyTestSuite
 
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 - Annotation Type in groovy.transform
Method annotation used to invert test case results.
notYetImplemented(TestCase) - Static method in class groovy.util.GroovyTestCase
Runs the calling JUnit test again and fails only if it unexpectedly runs.
notYetImplemented() - Method in class groovy.util.GroovyTestCase
Convenience method for subclasses of GroovyTestCase, identical to GroovyTestCase.notYetImplemented(this); .
NotYetImplementedASTTransformation - Class in org.codehaus.groovy.transform
Handles generation of code for the @NotYetImplemented annotation.
NotYetImplementedASTTransformation() - Constructor for class org.codehaus.groovy.transform.NotYetImplementedASTTransformation
 

O

org.codehaus.groovy.runtime - package org.codehaus.groovy.runtime
Runtime classes for Groovy - whether the dynamic interpreter is being used, the compiler or the bytecode generator.
org.codehaus.groovy.transform - package org.codehaus.groovy.transform
 

R

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

S

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

T

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

V

visit(ASTNode[], SourceUnit) - Method in class org.codehaus.groovy.transform.NotYetImplementedASTTransformation
 
A C F G I L M N O R S T V 
Copyright © 2003-2013 The Codehaus. All rights reserved.