use of org.mifos.test.acceptance.admin.FeeTestHelper 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);
}
use of org.mifos.test.acceptance.admin.FeeTestHelper in project head by mifos.
the class CreateClientLoanAccountTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
loanTestHelper = new LoanTestHelper(selenium);
loanProductTestHelper = new LoanProductTestHelper(selenium);
navigationHelper = new NavigationHelper(selenium);
feeTestHelper = new FeeTestHelper(new TestDataSetup(selenium, applicationDatabaseOperation), navigationHelper);
questionGroupHelper = new QuestionGroupHelper(navigationHelper);
questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
random = new Random();
}
use of org.mifos.test.acceptance.admin.FeeTestHelper in project head by mifos.
the class FeeTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
DateTime targetTime = new DateTime(2009, 7, 11, 12, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
dataSetup = new TestDataSetup(selenium, applicationDatabaseOperation);
loanTestHelper = new LoanTestHelper(selenium);
feeTestHelper = new FeeTestHelper(dataSetup, new NavigationHelper(selenium));
navigationHelper = new NavigationHelper(selenium);
loanProductTestHelper = new LoanProductTestHelper(selenium);
}
use of org.mifos.test.acceptance.admin.FeeTestHelper in project head by mifos.
the class ClientTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
navigationHelper = new NavigationHelper(selenium);
propertiesHelper = new CustomPropertiesHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
groupTestHelper = new GroupTestHelper(selenium);
savingsAccountHelper = new SavingsAccountHelper(selenium);
savingsProductHelper = new SavingsProductHelper(selenium);
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
targetTime = new DateTime(2009, 7, 11, 12, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
TestDataSetup dataSetup = new TestDataSetup(selenium, applicationDatabaseOperation);
feeTestHelper = new FeeTestHelper(dataSetup, navigationHelper);
loanTestHelper = new LoanTestHelper(selenium);
}
use of org.mifos.test.acceptance.admin.FeeTestHelper in project head by mifos.
the class VariableInstalmentLoanProductTest method setUp.
@Override
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
loanProductTestHelper = new LoanProductTestHelper(selenium);
loanTestHelper = new LoanTestHelper(selenium);
systemDateTime = new DateTime(2010, 10, 11, 10, 0, 0, 0);
loanTestHelper.setApplicationTime(systemDateTime);
TestDataSetup dataSetup = new TestDataSetup(selenium, applicationDatabaseOperation);
dataSetup.addDecliningPrincipalBalance();
feeTestHelper = new FeeTestHelper(dataSetup, new NavigationHelper(selenium));
}
Aggregations