3 * Copyright (C) 2015 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
.application
;
12 import org
.junit
.Test
;
14 import eu
.etaxonomy
.cdm
.api
.application
.CdmApplicationRemoteController
;
15 import eu
.etaxonomy
.cdm
.common
.monitor
.NullProgressMonitor
;
16 import eu
.etaxonomy
.cdm
.model
.name
.NomenclaturalCode
;
17 import eu
.etaxonomy
.taxeditor
.httpinvoker
.BaseRemotingTest
;
18 import eu
.etaxonomy
.taxeditor
.httpinvoker
.CDMServer
;
19 import eu
.etaxonomy
.taxeditor
.remoting
.source
.CdmRemoteSource
;
26 public class CdmApplicationRemoteControllerTest
extends BaseRemotingTest
{
30 public void initApplicationControllerTest() {
31 CdmRemoteSource crs
= CdmRemoteSource
.NewInstance(CDMServer
.getInstance().getName(),
32 CDMServer
.getInstance().getHost(),
33 CDMServer
.getInstance().getPort(),
34 CDMServer
.getInstance().getContextPath(),
35 NomenclaturalCode
.ICNAFP
);
36 // first initialize with validation to make sure the xml is valid
37 CdmApplicationRemoteController
.NewInstance(crs
,
39 new NullProgressMonitor(),