Skip to content

Commit

Permalink
change up the test a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Jun 13, 2008
1 parent c4fc987 commit 1b66114
Showing 1 changed file with 9 additions and 9 deletions.
Expand Up @@ -71,7 +71,7 @@ public void init() {
getSymmetricEngine();
}

@Test(groups = {"continuous","dataloadertests"})
@Test(groups = {"continuous"})
public void testStatistics() throws Exception {
Level old = setLoggingLevelForTest(Level.OFF);
String[] updateValues = new String[11];
Expand Down Expand Up @@ -138,7 +138,7 @@ public void testStatistics() throws Exception {
setLoggingLevelForTest(old);
}

@Test(groups = {"continuous","dataloadertests"})
@Test(groups = {"continuous"})
public void testUpdateCollision() throws Exception {
Level old = setLoggingLevelForTest(Level.OFF);
String[] insertValues = new String[11];
Expand Down Expand Up @@ -192,7 +192,7 @@ public void testUpdateCollision() throws Exception {
setLoggingLevelForTest(old);
}

@Test(groups = {"continuous","dataloadertests"})
@Test(groups = {"continuous"})
public void testSqlStatistics() throws Exception {
Level old = setLoggingLevelForTest(Level.OFF);
String[] insertValues = new String[10];
Expand Down Expand Up @@ -249,7 +249,7 @@ public void testSqlStatistics() throws Exception {
setLoggingLevelForTest(old);
}

@Test(groups = {"continuous","dataloadertests"})
@Test(groups = {"continuous"})
public void testSkippingResentBatch() throws Exception {
String[] values = { getNextId(), "resend string", "resend string not null", "resend char",
"resend char not null", "2007-01-25 00:00:00.0", "2007-01-25 01:01:01.0", "0", "7", "10.10" };
Expand Down Expand Up @@ -279,7 +279,7 @@ public void testSkippingResentBatch() throws Exception {
}
}

@Test(groups = {"continuous","dataloadertests"})
@Test(groups = {"continuous"})
public void testErrorWhileSkip() throws Exception {
Level old = setLoggingLevelForTest(Level.OFF);
String[] values = { getNextId(), "string2", "string not null2", "char2", "char not null2",
Expand Down Expand Up @@ -319,7 +319,7 @@ public void testErrorWhileSkip() throws Exception {
setLoggingLevelForTest(old);
}

@Test(groups = {"continuous","dataloadertests"})
@Test(groups = {"continuous"})
public void testErrorWhileParsing() throws Exception {
Level old = setLoggingLevelForTest(Level.OFF);
String[] values = { getNextId(), "should not reach database", "string not null", "char",
Expand All @@ -346,7 +346,7 @@ public void testErrorWhileParsing() throws Exception {
setLoggingLevelForTest(old);
}

@Test(groups = {"continuous","dataloadertests"})
@Test(groups = {"continuous"})
public void testErrorThenSuccessBatch() throws Exception {
Logger.getLogger(DataLoaderServiceTest.class).warn("testErrorThenSuccessBatch");
Level old = setLoggingLevelForTest(Level.OFF);
Expand Down Expand Up @@ -389,7 +389,7 @@ public void testErrorThenSuccessBatch() throws Exception {
setLoggingLevelForTest(old);
}

@Test(groups = {"continuous","dataloadertests"})
@Test(groups = {"continuous"})
public void testMultipleBatch() throws Exception {
Level old = setLoggingLevelForTest(Level.OFF);
String[] values = { getNextId(), "string", "string not null2", "char2", "char not null2",
Expand Down Expand Up @@ -444,7 +444,7 @@ protected IncomingBatch.Status findIncomingBatchStatus(int batchId, String nodeI
return status;
}

@Test(groups="continuous",dependsOnGroups="dataloadertests")
@Test(groups="continuous",dependsOnMethods="testMultipleBatch")
public void testAutoRegisteredExtensionPoint() {
TestDataLoaderFilter registeredFilter = (TestDataLoaderFilter)getBeanFactory().getBean("registeredDataFilter");
TestDataLoaderFilter unRegisteredFilter = (TestDataLoaderFilter)getBeanFactory().getBean("unRegisteredDataFilter");
Expand Down

0 comments on commit 1b66114

Please sign in to comment.