Index
All Classes and Interfaces|All Packages
A
- apply(Statement, Class<?>, Object, SpringIntegrationRuleBase.StatementWrapper, SpringIntegrationRuleBase.StatementWrapper) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationClassRule
-
Wraps a before and after statement around the supplied statement, possibly preparing the test instance first.
- apply(Statement, Class<?>, Object, SpringIntegrationRuleBase.StatementWrapper, SpringIntegrationRuleBase.StatementWrapper) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationMethodRule
-
Wraps a before and after statement around the supplied statement, possibly preparing the test instance first.
- apply(Statement, Description) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationClassRule
-
Wraps
RunBeforeTestClassCallbacks
andRunAfterTestClassCallbacks
around the provided statement. - apply(Statement, FrameworkMethod, Object) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationMethodRule
-
Wraps
RunBeforeTestMethodCallbacks
andRunAfterTestMethodCallbacks
around the provided statement. - apply(Statement, FrameworkMethod, Object) - Method in class net.thucydides.junit.spring.SpringIntegration
-
Deprecated.
C
- classRules() - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationSerenityRunner
-
Sets up an instance of
SpringIntegrationClassRule
in the list of class rules, creating one if missing. - com.serenitybdd.serenityspring - module com.serenitybdd.serenityspring
- createTest() - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationSerenityRunner
-
Prepares the test instance after creating the test instance.
- createTestContextManager(Class<?>) - Static method in class net.serenitybdd.junit.spring.integration.SpringIntegrationClassRule
-
Creates a test context manager.
- createTestContextManager(Class<?>) - Static method in class net.serenitybdd.junit.spring.integration.SpringIntegrationMethodRule
-
Creates a test context manager.
E
- evaluate() - Method in class net.thucydides.junit.spring.RunAfterTestMethodCallbacks
-
Invokes the next Statement in the execution chain (typically an instance org.junit.internal.runners.statements.RunAfters, catching any exceptions thrown, and then calls afterTestMethod(Object, Method) with the first caught exception (if any).
- evaluate() - Method in class net.thucydides.junit.spring.RunBeforeTestMethodCallbacks
-
Calls
TestContextManager.beforeTestMethod(Object, java.lang.reflect.Method)
and then invokes the nextStatement
in the execution chain (typically an instance of org.junit.internal.runners.statements.RunBefores).
G
- getTestContextManager(Class<?>) - Method in class net.serenitybdd.core.di.SpringDependencyInjector
- getTestContextManager(Class<?>) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationClassRule
-
Gets the test context manager, creating it if it doesn't exist.
- getTestContextManager(Class<?>) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationMethodRule
-
Gets the test context manager, creating it if it doesn't exist.
- getTestContextManager(Class<?>) - Method in class net.thucydides.junit.spring.SpringIntegration
-
Deprecated.
I
- injectDependenciesInto(Object) - Method in class net.serenitybdd.core.di.SpringDependencyInjector
-
Setup Spring dependencies in a step library, based on the Spring ContextConfiguration annotation.
N
- net.serenitybdd.core.di - package net.serenitybdd.core.di
- net.serenitybdd.junit.spring.integration - package net.serenitybdd.junit.spring.integration
- net.thucydides.junit.spring - package net.thucydides.junit.spring
R
- reset() - Method in class net.serenitybdd.core.di.SpringDependencyInjector
- rules(Object) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationSerenityRunner
-
Sets up an instance of
SpringIntegrationMethodRule
in the list of method rules, creating one if missing. - RunAfterTestMethodCallbacks - Class in net.thucydides.junit.spring
-
RunAfterTestMethodCallbacks
is a custom JUnit 4.5+Statement
which allows the Spring TestContext Framework to be plugged into the JUnit execution chain by calling afterTestMethod()} on the suppliedTestContextManager
. - RunAfterTestMethodCallbacks(Statement, Object, Method, TestContextManager) - Constructor for class net.thucydides.junit.spring.RunAfterTestMethodCallbacks
-
Constructs a new
RunAfterTestMethodCallbacks
statement. - RunBeforeTestMethodCallbacks - Class in net.thucydides.junit.spring
-
RunBeforeTestMethodCallbacks
is a custom JUnit 4.5+Statement
which allows the Spring TestContext Framework to be plugged into the JUnit execution chain by callingbeforeTestMethod()
on the suppliedTestContextManager
. - RunBeforeTestMethodCallbacks(Statement, Object, Method, TestContextManager) - Constructor for class net.thucydides.junit.spring.RunBeforeTestMethodCallbacks
-
Constructs a new
RunBeforeTestMethodCallbacks
statement.
S
- SpringDependencyInjector - Class in net.serenitybdd.core.di
- SpringDependencyInjector() - Constructor for class net.serenitybdd.core.di.SpringDependencyInjector
- SpringIntegration - Class in net.thucydides.junit.spring
-
Deprecated.
- SpringIntegration() - Constructor for class net.thucydides.junit.spring.SpringIntegration
-
Deprecated.
- SpringIntegrationClassRule - Class in net.serenitybdd.junit.spring.integration
-
A
TestRule
to be used with @ClassRule
to run the @BeforeClass and @AfterClass modifiers that are part ofSpringJUnit4ClassRunner
. - SpringIntegrationClassRule() - Constructor for class net.serenitybdd.junit.spring.integration.SpringIntegrationClassRule
- SpringIntegrationMethodRule - Class in net.serenitybdd.junit.spring.integration
-
A
TestRule
to be used with @Rule
to run the @Before and @After modifiers that are part ofSpringJUnit4ClassRunner
. - SpringIntegrationMethodRule() - Constructor for class net.serenitybdd.junit.spring.integration.SpringIntegrationMethodRule
- SpringIntegrationSerenityRunner - Class in net.serenitybdd.junit.spring.integration
-
A serenity runner that automatically adds rules
SpringIntegrationMethodRule
andSpringIntegrationClassRule
. - SpringIntegrationSerenityRunner(Class<?>) - Constructor for class net.serenitybdd.junit.spring.integration.SpringIntegrationSerenityRunner
-
Create a Serenity runner for a particular class.
W
- withAfters(FrameworkMethod, Object, Statement, TestContextManager) - Method in class net.thucydides.junit.spring.SpringIntegration
-
Deprecated.
- withBefores(FrameworkMethod, Object, Statement, TestContextManager) - Method in class net.thucydides.junit.spring.SpringIntegration
-
Deprecated.
All Classes and Interfaces|All Packages