1 package org.itracker.services;
2
3
4 import org.itracker.AbstractDependencyInjectionTest;
5 import org.itracker.core.resources.ITrackerResources;
6
7 public abstract class AbstractServicesIntegrationTest extends AbstractDependencyInjectionTest {
8
9 @Override
10 protected void resetConfiguration() {
11 synchronized (ITrackerResources.class) {
12 if (ITrackerResources.isInitialized()) {
13 return;
14 }
15 ConfigurationService configurationService = (ConfigurationService) applicationContext
16 .getBean("configurationService");
17
18 ITrackerResources.setConfigurationService(configurationService);
19
20 configurationService.initializeAllLanguages(true);
21 configurationService.initializeConfiguration();
22
23 configurationService.resetConfigurationCache();
24
25 }
26
27 }
28
29 }