use of org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper in project head by mifos.
the class CreateLSIMClientLoanAccountTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
applicationDatabaseOperation.updateLSIM(1);
navigationHelper = new NavigationHelper(selenium);
loanTestHelper = new LoanTestHelper(selenium);
loanProductTestHelper = new LoanProductTestHelper(selenium);
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
DateTime targetTime = new DateTime(2010, 1, 22, 10, 55, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
}
use of org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper in project head by mifos.
the class ApplyAdjustmentGroupLoanTest method setUp.
@Override
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
loanTestHelper = new LoanTestHelper(selenium);
customPropertiesHelper = new CustomPropertiesHelper(selenium);
customPropertiesHelper.setNewGroupLoanWithMembers(true);
}
use of org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper in project head by mifos.
the class ApplyChargeGroupLoanTest method setUp.
@Override
@BeforeMethod(alwaysRun = true)
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void setUp() throws Exception {
super.setUp();
loanTestHelper = new LoanTestHelper(selenium);
customPropertiesHelper = new CustomPropertiesHelper(selenium);
customPropertiesHelper.setNewGroupLoanWithMembers(true);
}
use of org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper in project head by mifos.
the class SavingsPaymentTest method setUp.
@BeforeMethod(alwaysRun = true)
@SuppressWarnings("PMD")
public void setUp() throws Exception {
super.setUp();
navigationHelper = new NavigationHelper(selenium);
loanTestHelper = new LoanTestHelper(selenium);
savingsTestHelper = new SavingsAccountHelper(selenium);
setupTime();
}
use of org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper in project head by mifos.
the class VariableInstalmentLoanTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
navigationHelper = new NavigationHelper(selenium);
systemDateTime = new DateTime(2010, 10, 11, 10, 0, 0, 0);
loanTestHelper = new LoanTestHelper(selenium);
loanTestHelper.setApplicationTime(systemDateTime);
TestDataSetup dataSetup = new TestDataSetup(selenium, applicationDatabaseOperation);
feeTestHelper = new FeeTestHelper(dataSetup, new NavigationHelper(selenium));
applicationDatabaseOperation.updateLSIM(1);
}
Aggregations