Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check in the pattern for new tests for review.
- Loading branch information
Showing
17 changed files
with
905 additions
and
18 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...c-client/src/test/java/org/jumpmind/symmetric/service/impl/JdbcDataLoaderServiceTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package org.jumpmind.symmetric.service.impl; | ||
|
||
|
||
public class JdbcDataLoaderServiceTest extends AbstractDataLoaderServiceTest { | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
symmetric/symmetric-client/src/test/java/org/jumpmind/symmetric/test/TestSetupUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.jumpmind.symmetric.test; | ||
|
||
import org.jumpmind.symmetric.ISymmetricEngine; | ||
|
||
public class TestSetupUtil { | ||
|
||
static private ISymmetricEngine engine; | ||
|
||
public static ISymmetricEngine prepareForServiceTests() { | ||
// TODO | ||
return engine; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
symmetric/symmetric-core/src/test/java/org/jumpmind/symmetric/TestConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package org.jumpmind.symmetric; | ||
|
||
import org.jumpmind.symmetric.model.Node; | ||
|
||
public class TestConstants { | ||
|
||
public final static String TEST_CLIENT_EXTERNAL_ID = "00001"; | ||
public static final String TEST_CLIENT_NODE_GROUP = "test-node-group"; | ||
public static final String TEST_CLIENT_NODE_GROUP_2 = "test-node-group2"; | ||
public final static Node TEST_CLIENT_NODE = new Node(TestConstants.TEST_CLIENT_EXTERNAL_ID, TestConstants.TEST_CLIENT_NODE_GROUP); | ||
|
||
public final static String TEST_ROOT_EXTERNAL_ID = "00000"; | ||
public static final String TEST_ROOT_NODE_GROUP = "test-root-group"; | ||
public final static Node TEST_ROOT_NODE = new Node(TestConstants.TEST_ROOT_EXTERNAL_ID, TestConstants.TEST_ROOT_NODE_GROUP); | ||
|
||
public static final String TEST_DROP_ALL_SCRIPT = "/test-data-drop-all.sql"; | ||
public static final String TEST_DROP_SEQ_SCRIPT = "/test-data-drop-"; | ||
public static final String TEST_ROOT_DOMAIN_SETUP_SCRIPT = "-integration-root-setup.sql"; | ||
public static final String TEST_CONTINUOUS_SETUP_SCRIPT = "-database-setup.sql"; | ||
public static final String TEST_CONTINUOUS_NODE_GROUP = TEST_ROOT_NODE_GROUP; | ||
public static final String TEST_CHANNEL_ID = "testchannel"; | ||
public static final String TEST_CHANNEL_ID_OTHER = "other"; | ||
public static final int TEST_TRIGGER_HISTORY_ID = 1; | ||
|
||
public static final String MYSQL = "mysql"; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.