Package com.lordofthejars.nosqlunit.core
Class AbstractNoSqlTestRule
- java.lang.Object
-
- com.lordofthejars.nosqlunit.core.AbstractNoSqlTestRule
-
- All Implemented Interfaces:
org.junit.rules.MethodRule
public abstract class AbstractNoSqlTestRule extends java.lang.Object implements org.junit.rules.MethodRule
-
-
Constructor Summary
Constructors Constructor Description AbstractNoSqlTestRule(java.lang.String identifier)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, java.lang.Object testObject)abstract voidclose()abstract DatabaseOperationgetDatabaseOperation()abstract java.lang.StringgetWorkingExtension()voidsetIdentifier(java.lang.String identifier)voidsetInjectAnnotationProcessor(InjectAnnotationProcessor injectAnnotationProcessor)voidsetLoadStrategyFactory(LoadStrategyFactory loadStrategyFactory)protected voidsetTarget(java.lang.Object target)
-
-
-
Method Detail
-
getDatabaseOperation
public abstract DatabaseOperation getDatabaseOperation()
-
getWorkingExtension
public abstract java.lang.String getWorkingExtension()
-
close
public abstract void close()
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, java.lang.Object testObject)- Specified by:
applyin interfaceorg.junit.rules.MethodRule
-
setLoadStrategyFactory
public void setLoadStrategyFactory(LoadStrategyFactory loadStrategyFactory)
-
setInjectAnnotationProcessor
public void setInjectAnnotationProcessor(InjectAnnotationProcessor injectAnnotationProcessor)
-
setIdentifier
public void setIdentifier(java.lang.String identifier)
-
setTarget
protected void setTarget(java.lang.Object target)
-
-