Search in sources :

Example 16 with CustomPropertiesHelper

use of org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper in project head by mifos.

the class ProperLoanProductCalculationsTest method setUp.

@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
@Override
public void setUp() throws Exception {
    super.setUp();
    DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
    DateTime targetTime = new DateTime(2009, 7, 1, 12, 0, 0, 0);
    dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
    loanProductTestHelper = new LoanProductTestHelper(selenium);
    loanTestHelper = new LoanTestHelper(selenium);
    customPropertiesHelper = new CustomPropertiesHelper(selenium);
}
Also used : CustomPropertiesHelper(org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) DateTime(org.joda.time.DateTime) LoanTestHelper(org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 17 with CustomPropertiesHelper

use of org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper in project head by mifos.

the class BackDateLoanProductTest method setUp.

@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
@Override
public void setUp() throws Exception {
    super.setUp();
    propertiesHelper = new CustomPropertiesHelper(selenium);
}
Also used : CustomPropertiesHelper(org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 18 with CustomPropertiesHelper

use of org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper in project head by mifos.

the class ClientLoanStatusChangeTest method setUp.

@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
    DateTime targetTime = new DateTime(2009, 7, 1, 12, 0, 0, 0);
    dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
    loanTestHelper = new LoanTestHelper(selenium);
    customPropertiesHelper = new CustomPropertiesHelper(selenium);
}
Also used : CustomPropertiesHelper(org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) DateTime(org.joda.time.DateTime) LoanTestHelper(org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

CustomPropertiesHelper (org.mifos.test.acceptance.framework.testhelpers.CustomPropertiesHelper)18 BeforeMethod (org.testng.annotations.BeforeMethod)17 LoanTestHelper (org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper)10 NavigationHelper (org.mifos.test.acceptance.framework.testhelpers.NavigationHelper)9 DateTime (org.joda.time.DateTime)8 DateTimeUpdaterRemoteTestingService (org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService)7 ClientTestHelper (org.mifos.test.acceptance.framework.testhelpers.ClientTestHelper)4 SavingsAccountHelper (org.mifos.test.acceptance.framework.testhelpers.SavingsAccountHelper)2 LoanProductTestHelper (org.mifos.test.acceptance.loanproduct.LoanProductTestHelper)2 TestDataSetup (org.mifos.test.acceptance.util.TestDataSetup)2 FeeTestHelper (org.mifos.test.acceptance.admin.FeeTestHelper)1 AdminPage (org.mifos.test.acceptance.framework.admin.AdminPage)1 ViewOrganizationSettingsPage (org.mifos.test.acceptance.framework.admin.ViewOrganizationSettingsPage)1 CenterTestHelper (org.mifos.test.acceptance.framework.testhelpers.CenterTestHelper)1 GroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.GroupTestHelper)1 QuestionGroupTestHelper (org.mifos.test.acceptance.framework.testhelpers.QuestionGroupTestHelper)1 SavingsProductHelper (org.mifos.test.acceptance.framework.testhelpers.SavingsProductHelper)1 Test (org.testng.annotations.Test)1