use of org.testng.annotations.BeforeMethod in project head by mifos.
the class QuestionGroupSavingsAccountTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
questionGroupTestHelper = new QuestionGroupTestHelper(selenium);
savingsAccountHelper = new SavingsAccountHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class RemovePenaltiesTest method setUp.
@Override
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
this.navigationHelper = new NavigationHelper(selenium);
this.penaltyHelper = new PenaltyHelper(selenium);
this.dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
initRemote.dataLoadAndCacheRefresh(dbUnitUtilities, "acceptance_small_001_dbunit.xml", dataSource, selenium);
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class ApplyPaymentOnGLIMLoanAccountTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
navigationHelper = new NavigationHelper(selenium);
customPropertiesHelper = new CustomPropertiesHelper(selenium);
customPropertiesHelper.setNewGroupLoanWithMembers(true);
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
DateTime targetTime = new DateTime(2011, 03, 4, 13, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class CreateGLIMLoanAccountWithOneTimeFeeTest 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);
navigationHelper = new NavigationHelper(selenium);
customPropertiesHelper = new CustomPropertiesHelper(selenium);
customPropertiesHelper.setNewGroupLoanWithMembers(true);
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
DateTime targetTime = new DateTime(2011, 03, 4, 13, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class ModifyingGroupLoanTest method setUp.
@Override
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
super.setUp();
loanTestHelper = new LoanTestHelper(selenium);
customPropertiesHelper = new CustomPropertiesHelper(selenium);
customPropertiesHelper.setNewGroupLoanWithMembers(true);
}
Aggregations