Class TestcontainerScope
java.lang.Object
com.playtika.testcontainer.selenium.testscope.TestcontainerScope
- All Implemented Interfaces:
org.springframework.beans.factory.config.Scope
public class TestcontainerScope
extends Object
implements org.springframework.beans.factory.config.Scope
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterTestMethod(org.springframework.test.context.TestContext testContext) voidbeforeTestMethod(org.springframework.test.context.TestContext testContext) voidregisterDestructionCallback(String name, Runnable callback)
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
TestcontainerScope
public TestcontainerScope()
-
-
Method Details
-
get
- Specified by:
getin interfaceorg.springframework.beans.factory.config.Scope
-
remove
- Specified by:
removein interfaceorg.springframework.beans.factory.config.Scope
-
registerDestructionCallback
- Specified by:
registerDestructionCallbackin interfaceorg.springframework.beans.factory.config.Scope
-
resolveContextualObject
- Specified by:
resolveContextualObjectin interfaceorg.springframework.beans.factory.config.Scope
-
getConversationId
- Specified by:
getConversationIdin interfaceorg.springframework.beans.factory.config.Scope
-
afterTestMethod
public void afterTestMethod(org.springframework.test.context.TestContext testContext) -
beforeTestMethod
public void beforeTestMethod(org.springframework.test.context.TestContext testContext)
-