use of org.testng.annotations.BeforeMethod in project head by mifos.
the class HolidayTest method setUp.
@Override
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
navigationHelper = new NavigationHelper(selenium);
loanTestHelper = new LoanTestHelper(selenium);
holidayTestHelper = new HolidayTestHelper(selenium);
appLauncher = new AppLauncher(selenium);
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class CollectionSheetEntryCustomerAccountTest 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, 2, 23, 1, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class AddFamilyDetailsTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
propertiesHelper = new CustomPropertiesHelper(selenium);
clientTestHelper = new ClientTestHelper(selenium);
propertiesHelper.setAreFamilyDetailsRequired(true);
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class SystemInfoDateTimeTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
adminTestHelper = new AdminTestHelper(selenium);
new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
use of org.testng.annotations.BeforeMethod in project head by mifos.
the class ViewProductCategoriesTest 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