use of org.testng.annotations.BeforeMethod 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.testng.annotations.BeforeMethod 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.testng.annotations.BeforeMethod 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.testng.annotations.BeforeMethod in project head by mifos.
the class DefineNewLoanProductTest method setUp.
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
@Override
public void setUp() throws Exception {
super.setUp();
questionGroupHelper = new QuestionGroupHelper(new NavigationHelper(selenium));
random = new Random();
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class EditLoanProductTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
appLauncher = new AppLauncher(selenium);
}
Aggregations