Move javadocs to 'deployment' profile.

This commit is contained in:
dsyer
2008-11-15 09:02:32 +00:00
parent 9dfab7fed2
commit 88650ec55a
3 changed files with 26 additions and 17 deletions

View File

@@ -21,6 +21,15 @@ public class FootballJobFunctionalTests extends AbstractValidatingBatchLauncherT
this.simpleJdbcTemplate = new SimpleJdbcTemplate(dataSource);
}
@Override
protected void validatePreConditions() throws Exception {
simpleJdbcTemplate.update("DELETE FROM PLAYERS");
simpleJdbcTemplate.update("DELETE FROM GAMES");
simpleJdbcTemplate.update("DELETE FROM PLAYER_SUMMARY");
super.validatePreConditions();
}
@Override
protected void validatePostConditions() throws Exception {
int count = simpleJdbcTemplate.queryForInt("SELECT COUNT(*) from PLAYER_SUMMARY");
assertTrue(count>0);