Package org.jumpmind.symmetric.test
Class AbstractTest
java.lang.Object
org.jumpmind.symmetric.test.AbstractTest
- Direct Known Subclasses:
ConflictResolutionTest,FileSyncTest,MultiNodeGroupSharedTablesRoutingTest,NonDmlEventsTest,TransformationTest,WildcardTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]The registration server should always be the first group in the listprotected PropertiesgetProperties(String name) protected SymmetricWebServerprotected URLgetResource(String resource) protected Table[]protected SymmetricWebServergetWebServer(String name) protected voidloadConfigAndRegisterNode(String clientGroup, String serverGroup) protected voidLoads configuration in the format of classname.csv at the registration serverprotected voidlogEndOfTest(String testName) protected voidlogStartOfTest(String testName) protected booleanprotected booleanprotected booleanprotected booleanvoidsetup()voidteardown()protected ISqlTemplatetemplate(ISymmetricEngine engine) protected ISqlTemplatetemplate(SymmetricWebServer webServer) voidtest()protected abstract voidtest(ISymmetricEngine rootServer, ISymmetricEngine clientServer)
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
AbstractTest
public AbstractTest()
-
-
Method Details
-
getGroupNames
The registration server should always be the first group in the list -
getRegServer
-
getTables
-
getProperties
-
setup
@BeforeEach public void setup() -
test
- Throws:
Exception
-
test
protected abstract void test(ISymmetricEngine rootServer, ISymmetricEngine clientServer) throws Exception - Throws:
Exception
-
teardown
public void teardown() -
template
-
template
-
getWebServer
-
getResource
-
loadConfigAtRegistrationServer
Loads configuration in the format of classname.csv at the registration server- Throws:
Exception
-
pull
-
push
-
pullFiles
-
pushFiles
-
loadConfigAndRegisterNode
- Throws:
Exception
-
logStartOfTest
-
logEndOfTest
-