use of org.mifos.test.acceptance.framework.testhelpers.BatchJobHelper in project head by mifos.
the class BatchJobPenaltyTest method changeDateTime.
private void changeDateTime(final int month, final int day) throws Exception {
dateTimeUpdaterRemoteTestingService.setDateTime(new DateTime(2012, month, day, 13, 0, 0, 0));
navigationHelper.navigateToAdminPage();
new BatchJobHelper(selenium).runSomeBatchJobs(Arrays.asList("ApplyPenaltyToLoanAccountsTaskJob"));
}
use of org.mifos.test.acceptance.framework.testhelpers.BatchJobHelper in project head by mifos.
the class RemovePenaltiesTest method changeDateTime.
private void changeDateTime(final int month, final int day) throws Exception {
dateTimeUpdaterRemoteTestingService.setDateTime(new DateTime(2012, month, day, 13, 0, 0, 0));
navigationHelper.navigateToAdminPage();
new BatchJobHelper(selenium).runSomeBatchJobs(Arrays.asList("ApplyPenaltyToLoanAccountsTaskJob"));
}
use of org.mifos.test.acceptance.framework.testhelpers.BatchJobHelper in project head by mifos.
the class BatchJobTest method testRunAllBatchJobs.
@Test(enabled = true)
public //http://mifosforge.jira.com/browse/MIFOSTEST-715
void testRunAllBatchJobs() {
//When
navigationHelper.navigateToAdminPage();
//Then
new BatchJobHelper(selenium).runAllBatchJobs();
}
use of org.mifos.test.acceptance.framework.testhelpers.BatchJobHelper in project head by mifos.
the class NoDBUnitAdditionalHolidayTest method runHolidayBatchJob.
private void runHolidayBatchJob() throws SQLException {
applicationDatabaseOperation.cleanBatchJobTables();
List<String> jobsToRun = new ArrayList<String>();
jobsToRun.add("ApplyHolidayChangesTaskJob");
new BatchJobHelper(selenium).runSomeBatchJobs(jobsToRun);
}
use of org.mifos.test.acceptance.framework.testhelpers.BatchJobHelper in project head by mifos.
the class AdditionalSavingsAccountTest method runBatchJobsForSavingsIntPosting.
private void runBatchJobsForSavingsIntPosting() {
List<String> jobsToRun = new ArrayList<String>();
jobsToRun.add("SavingsIntPostingTaskJob");
new BatchJobHelper(selenium).runSomeBatchJobs(jobsToRun);
}
Aggregations