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 Properties
getProperties
(String name) protected SymmetricWebServer
protected URL
getResource
(String resource) protected Table[]
protected SymmetricWebServer
getWebServer
(String name) protected void
loadConfigAndRegisterNode
(String clientGroup, String serverGroup) protected void
Loads configuration in the format of classname.csv at the registration serverprotected void
logEndOfTest
(String testName) protected void
logStartOfTest
(String testName) protected boolean
protected boolean
protected boolean
protected boolean
void
setup()
void
teardown()
protected ISqlTemplate
template
(ISymmetricEngine engine) protected ISqlTemplate
template
(SymmetricWebServer webServer) void
test()
protected abstract void
test
(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
-