Search in sources :

Example 11 with StandardTestingService

use of org.mifos.framework.util.StandardTestingService in project head by mifos.

the class CustomerDaoHibernateIntegrationTest method initialiseHibernateUtil.

@BeforeClass
public static void initialiseHibernateUtil() {
    oldDefaultCurrency = Money.getDefaultCurrency();
    Money.setDefaultCurrency(TestUtils.RUPEE);
    new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
Also used : StandardTestingService(org.mifos.framework.util.StandardTestingService) BeforeClass(org.junit.BeforeClass)

Example 12 with StandardTestingService

use of org.mifos.framework.util.StandardTestingService in project head by mifos.

the class MasterDataRetrievalForCustomersIntegrationTest method cleanDatabaseTables.

@Before
public void cleanDatabaseTables() {
    new StandardTestingService().setTestMode(TestMode.INTEGRATION);
    databaseCleaner.clean();
}
Also used : StandardTestingService(org.mifos.framework.util.StandardTestingService) Before(org.junit.Before)

Example 13 with StandardTestingService

use of org.mifos.framework.util.StandardTestingService in project head by mifos.

the class CenterHierarchyCustomerServiceIntegrationTest method initialiseHibernateUtil.

@BeforeClass
public static void initialiseHibernateUtil() {
    oldDefaultCurrency = Money.getDefaultCurrency();
    Money.setDefaultCurrency(TestUtils.RUPEE);
    new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
Also used : StandardTestingService(org.mifos.framework.util.StandardTestingService) BeforeClass(org.junit.BeforeClass)

Example 14 with StandardTestingService

use of org.mifos.framework.util.StandardTestingService in project head by mifos.

the class CenterScheduleCreationUsingCustomerServiceIntegrationTest method initialiseHibernateUtil.

@BeforeClass
public static void initialiseHibernateUtil() {
    oldDefaultCurrency = Money.getDefaultCurrency();
    Money.setDefaultCurrency(TestUtils.RUPEE);
    new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
Also used : StandardTestingService(org.mifos.framework.util.StandardTestingService) BeforeClass(org.junit.BeforeClass)

Example 15 with StandardTestingService

use of org.mifos.framework.util.StandardTestingService in project head by mifos.

the class PersonnelDaoHibernateIntegrationTest method initialiseHibernateUtil.

@BeforeClass
public static void initialiseHibernateUtil() {
    oldDefaultCurrency = Money.getDefaultCurrency();
    Money.setDefaultCurrency(TestUtils.RUPEE);
    new StandardTestingService().setTestMode(TestMode.INTEGRATION);
}
Also used : StandardTestingService(org.mifos.framework.util.StandardTestingService) BeforeClass(org.junit.BeforeClass)

Aggregations

StandardTestingService (org.mifos.framework.util.StandardTestingService)26 BeforeClass (org.junit.BeforeClass)25 Locale (java.util.Locale)3 Before (org.junit.Before)1 ConfigurationLocator (org.mifos.framework.util.ConfigurationLocator)1