A C D E F G H I J M N O P R S T W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractClosureProxy - Class in grails.test
-
Skeleton implementation of a wrapper class for closures that allows you to intercept invocations of the closure.
- AbstractClosureProxy(Closure<?>) - Constructor for class grails.test.AbstractClosureProxy
-
Creates a new instance that wraps the target closure and sends profiling events to the given profiler log.
- addError(Test, Throwable) - Method in class org.grails.test.report.junit.JUnitReports
- addError(Test, Throwable) - Method in class org.grails.test.report.junit.PlainFormatter
- addError(Test, Throwable) - Method in class org.grails.test.report.junit.XMLFormatter
- addFailure(Test, Throwable) - Method in class org.grails.test.report.junit.PlainFormatter
- addFailure(Test, Throwable) - Method in class org.grails.test.report.junit.XMLFormatter
- addFailure(Test, AssertionFailedError) - Method in class org.grails.test.report.junit.JUnitReports
- asWritable() - Method in class grails.test.AbstractClosureProxy
C
- call(Object...) - Method in class grails.test.AbstractClosureProxy
-
This is the important one: logs entry and exit of the closure call.
- createFromBuildBinding(Binding) - Static method in class org.grails.test.report.junit.JUnitReportsFactory
- createReport(String, String) - Method in class org.grails.test.report.junit.JUnitReportsFactory
- createReports(String) - Method in class org.grails.test.report.junit.JUnitReportsFactory
- createWrapper(Closure<?>) - Method in class grails.test.AbstractClosureProxy
-
Called when a new instance of the proxy needs to be created for the given closure.
- createWrapper(Closure<?>) - Method in class grails.test.MockClosureProxy
-
Creates a new
MockClosureProxywrapping the given closure. - curry(Object...) - Method in class grails.test.AbstractClosureProxy
D
- doAfterCall(Object[]) - Method in class grails.test.AbstractClosureProxy
-
This method is called after the target closure is invoked.
- doAfterCall(Object[]) - Method in class grails.test.MockClosureProxy
-
Empty implementation.
- doBeforeCall(Object[]) - Method in class grails.test.AbstractClosureProxy
-
This method is called before the target closure is invoked.
- doBeforeCall(Object[]) - Method in class grails.test.MockClosureProxy
-
Checks whether the target "method" is expected or not, on the basis that this closure is mocking a method with the name
methodName.
E
- endTest(Test) - Method in class org.grails.test.report.junit.JUnitReports
- endTestSuite(JUnitTest) - Method in class org.grails.test.report.junit.JUnitReports
- endTestSuite(JUnitTest) - Method in class org.grails.test.report.junit.PlainFormatter
- equals(Object) - Method in class grails.test.AbstractClosureProxy
-
Compares based on identities, but unlike the standard implementation this one will return
trueif the given object is the target closure for this wrapper as well.
F
- file - Variable in class org.grails.test.report.junit.PlainFormatter
- formats - Variable in class org.grails.test.report.junit.JUnitReportsFactory
G
- getDelegate() - Method in class grails.test.AbstractClosureProxy
- getDirective() - Method in class grails.test.AbstractClosureProxy
- getMaximumNumberOfParameters() - Method in class grails.test.AbstractClosureProxy
- getParameterTypes() - Method in class grails.test.AbstractClosureProxy
- getProperty(String) - Method in class grails.test.AbstractClosureProxy
- getResolveStrategy() - Method in class grails.test.AbstractClosureProxy
- getTargetFileLocation() - Method in class org.grails.plugins.testing.GrailsMockMultipartFile
- grails.test - package grails.test
- GrailsMockHttpServletResponse - Class in org.grails.plugins.testing
-
Refer to the groovydoc of
GrailsMockHttpServletResponsefor further information. - GrailsMockHttpServletResponse() - Constructor for class org.grails.plugins.testing.GrailsMockHttpServletResponse
- GrailsMockMultipartFile - Class in org.grails.plugins.testing
-
Extends the default Spring MockMultipartFile to provide an implementation of transferTo that doesn't use the file system.
- GrailsMockMultipartFile(String, byte[]) - Constructor for class org.grails.plugins.testing.GrailsMockMultipartFile
- GrailsMockMultipartFile(String, InputStream) - Constructor for class org.grails.plugins.testing.GrailsMockMultipartFile
- GrailsMockMultipartFile(String, String, String, byte[]) - Constructor for class org.grails.plugins.testing.GrailsMockMultipartFile
- GrailsMockMultipartFile(String, String, String, InputStream) - Constructor for class org.grails.plugins.testing.GrailsMockMultipartFile
H
- hashCode() - Method in class grails.test.AbstractClosureProxy
I
- isCase(Object) - Method in class grails.test.AbstractClosureProxy
J
- JUnitReports - Class in org.grails.test.report.junit
-
Simply propagates to the underlying reports.
- JUnitReports(JUnitResultFormatter[]) - Constructor for class org.grails.test.report.junit.JUnitReports
- JUnitReportsFactory - Class in org.grails.test.report.junit
- JUnitReportsFactory(String, String, File, List<String>) - Constructor for class org.grails.test.report.junit.JUnitReportsFactory
M
- MockClosureProxy - Class in grails.test
-
This closure proxy stores an expectation and checks it before each call to the target closure.
- MockClosureProxy(Closure<?>, String, Object) - Constructor for class grails.test.MockClosureProxy
-
Constructor.
N
- name - Variable in class org.grails.test.report.junit.PlainFormatter
O
- org.grails.plugins.testing - package org.grails.plugins.testing
- org.grails.test.report.junit - package org.grails.test.report.junit
- org.grails.test.support - package org.grails.test.support
P
- phaseName - Variable in class org.grails.test.report.junit.JUnitReportsFactory
- PLAIN - Static variable in class org.grails.test.report.junit.JUnitReportsFactory
- PlainFormatter - Class in org.grails.test.report.junit
-
Sanitises the stack traces generated by tests.
- PlainFormatter(String, File) - Constructor for class org.grails.test.report.junit.PlainFormatter
R
- reports - Variable in class org.grails.test.report.junit.JUnitReports
- reportsDir - Variable in class org.grails.test.report.junit.JUnitReportsFactory
S
- sanitize(Throwable) - Static method in class org.grails.test.support.TestStacktraceSanitizer
- setDelegate(Object) - Method in class grails.test.AbstractClosureProxy
- setDirective(int) - Method in class grails.test.AbstractClosureProxy
- setForwardedUrl(String) - Method in class org.grails.plugins.testing.GrailsMockHttpServletResponse
- setOutput(OutputStream) - Method in class org.grails.test.report.junit.JUnitReports
- setOutput(OutputStream) - Method in class org.grails.test.report.junit.PlainFormatter
- setOutput(OutputStream) - Method in class org.grails.test.report.junit.XMLFormatter
- setProperty(String, Object) - Method in class grails.test.AbstractClosureProxy
- setResolveStrategy(int) - Method in class grails.test.AbstractClosureProxy
- setSystemError(String) - Method in class org.grails.test.report.junit.JUnitReports
- setSystemError(String) - Method in class org.grails.test.report.junit.PlainFormatter
- setSystemOutput(String) - Method in class org.grails.test.report.junit.JUnitReports
- setSystemOutput(String) - Method in class org.grails.test.report.junit.PlainFormatter
- startTest(Test) - Method in class org.grails.test.report.junit.JUnitReports
- startTestSuite(JUnitTest) - Method in class org.grails.test.report.junit.JUnitReports
- systemError - Variable in class org.grails.test.report.junit.PlainFormatter
- systemOutput - Variable in class org.grails.test.report.junit.PlainFormatter
T
- TestStacktraceSanitizer - Class in org.grails.test.support
- transferTo(File) - Method in class org.grails.plugins.testing.GrailsMockMultipartFile
- typeName - Variable in class org.grails.test.report.junit.JUnitReportsFactory
W
- writeToFile(File, String) - Method in class org.grails.test.report.junit.PlainFormatter
X
- XML - Static variable in class org.grails.test.report.junit.JUnitReportsFactory
- XMLFormatter - Class in org.grails.test.report.junit
-
Sanitises the stack traces generated by tests.
- XMLFormatter(File) - Constructor for class org.grails.test.report.junit.XMLFormatter
All Classes All Packages