Index
All Classes|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, Description) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationClassRule
-
Wraps
RunBeforeTestClassCallbacksandRunAfterTestClassCallbacksaround the provided statement. - apply(Statement, FrameworkMethod, Object) - Method in class net.serenitybdd.junit.spring.integration.SpringIntegrationMethodRule
-
Wraps
RunBeforeTestMethodCallbacksandRunAfterTestMethodCallbacksaround 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
SpringIntegrationClassRulein the list of class rules, creating one if missing. - 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.
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 nextStatementin 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.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
SpringIntegrationMethodRulein the list of method rules, creating one if missing. - RunAfterTestMethodCallbacks - Class in net.thucydides.junit.spring
-
RunAfterTestMethodCallbacksis a custom JUnit 4.5+Statementwhich 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
RunAfterTestMethodCallbacksstatement. - RunBeforeTestMethodCallbacks - Class in net.thucydides.junit.spring
-
RunBeforeTestMethodCallbacksis a custom JUnit 4.5+Statementwhich 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
RunBeforeTestMethodCallbacksstatement.
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
TestRuleto be used with @ClassRuleto 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
TestRuleto be used with @Ruleto 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
SpringIntegrationMethodRuleandSpringIntegrationClassRule. - 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|All Packages