Search in sources :

Example 1 with StandardTestingService

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

the class SavingsBOMoreIntegrationTest 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 2 with StandardTestingService

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

the class SavingsScheduleIntegrationTest 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 3 with StandardTestingService

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

the class ClientStatusChangeIntegrationTest 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 4 with StandardTestingService

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

the class GroupCreationUsingCustomerServiceIntegrationTest 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 5 with StandardTestingService

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

the class GroupPerformanceHistoryUsingCustomerServiceIntegrationTest 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