3 * Copyright (C) 2014 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.httpinvoker
;
12 import org
.apache
.log4j
.Logger
;
13 import org
.junit
.Assert
;
14 import org
.junit
.Test
;
15 import org
.unitils
.UnitilsJUnit4
;
17 import eu
.etaxonomy
.taxeditor
.remoting
.server
.CDMServerException
;
24 public class CdmServerTest
extends UnitilsJUnit4
{
25 private static final Logger logger
= Logger
.getLogger(CdmServerTest
.class);
29 public void startCdmServer() throws CDMServerException
{
30 CDMServer
.getInstance().start();
34 public void stopCdmServer() {
36 CDMServer
.getInstance().stop(true);
37 } catch (Exception e
) {
39 Assert
.fail("Server could not be stopped. Reason : " + e
.getMessage());