import eu.etaxonomy.cdm.model.common.DefinedTermBase;
import eu.etaxonomy.cdm.model.common.TermType;
import eu.etaxonomy.taxeditor.httpinvoker.BaseRemotingTest;
-import eu.etaxonomy.taxeditor.httpinvoker.CDMServer;
public class ServiceInterceptorTest extends BaseRemotingTest {
-
+
private static final Logger logger = Logger.getLogger(ServiceInterceptorTest.class);
ITermService termService = getRemoteApplicationController().getTermService();
-
+
@BeforeClass
- public static void initializeServiceInterceptorTest() {
- CDMServer.getInstance().setKeepServerRunning(true);
+ public static void initializeServiceInterceptorTest() {
}
-
+
@Test
public void termServiceInterceptorTest() {
List<DefinedTermBase<?>> terms = termService.listByTermType(TermType.Language, null, null, null, null);
Assert.assertEquals(terms.size(),CdmCacher.getDefaultCache().getSize());
- // TO DO : get the static termTypeMap from TermServiceRequestExecutor and check the size
+ // TO DO : get the static termTypeMap from TermServiceRequestExecutor and check the size
}
}