Search in sources :

Example 46 with BeforeMethod

use of org.testng.annotations.BeforeMethod in project head by mifos.

the class CustomizeTextTest method setUp.

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

Example 47 with BeforeMethod

use of org.testng.annotations.BeforeMethod in project head by mifos.

the class DefineAndViewOfficeTest method setUp.

@Override
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
    super.setUp();
    officeHelper = new OfficeHelper(selenium);
}
Also used : OfficeHelper(org.mifos.test.acceptance.framework.testhelpers.OfficeHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 48 with BeforeMethod

use of org.testng.annotations.BeforeMethod in project head by mifos.

the class DefineChecklistTest method setUp.

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

Example 49 with BeforeMethod

use of org.testng.annotations.BeforeMethod in project head by mifos.

the class DefineHiddenMandatoryFieldsTest method setUp.

@Override
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
    super.setUp();
    navigationHelper = new NavigationHelper(selenium);
}
Also used : NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) BeforeMethod(org.testng.annotations.BeforeMethod)

Example 50 with BeforeMethod

use of org.testng.annotations.BeforeMethod in project head by mifos.

the class DefineLookupOptionsTest method setUp.

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

Aggregations

BeforeMethod (org.testng.annotations.BeforeMethod)1078 File (java.io.File)60 AtomicInteger (java.util.concurrent.atomic.AtomicInteger)52 IOException (java.io.IOException)49 DateTime (org.joda.time.DateTime)46 NavigationHelper (org.mifos.test.acceptance.framework.testhelpers.NavigationHelper)42 DateTimeUpdaterRemoteTestingService (org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService)41 LoanTestHelper (org.mifos.test.acceptance.framework.testhelpers.LoanTestHelper)38 Enumeration (java.util.Enumeration)37 Project (com.google.refine.model.Project)33 StringWriter (java.io.StringWriter)26 Properties (java.util.Properties)26 EntityType (org.molgenis.data.meta.model.EntityType)25 ODatabaseDocumentTx (com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx)23 ServletConfig (jakarta.servlet.ServletConfig)22 ServletContext (jakarta.servlet.ServletContext)22 HttpServletRequest (javax.servlet.http.HttpServletRequest)22 AppLauncher (org.mifos.test.acceptance.framework.AppLauncher)22 Subject (javax.security.auth.Subject)21 Attribute (org.molgenis.data.meta.model.Attribute)21