Revision 15a62a24
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/ui/dialogs/CdmServerInfoTest.java | ||
---|---|---|
64 | 64 |
|
65 | 65 |
} |
66 | 66 |
} |
67 |
|
|
68 |
@Test |
|
69 |
public void refreshInstancesTest() throws CDMServerException { |
|
70 |
CdmServerInfo cdmServerInfo = new CdmServerInfo(CdmServerInfo.NAME_LOCALHOST_MGD, CdmServerInfo.SERVER_LOCALHOST,8080); |
|
71 |
cdmServerInfo.refreshInstances(); |
|
72 |
List<CdmInstanceInfo> instances = cdmServerInfo.getInstances(); |
|
73 |
Assert.assertTrue(instances != null && !instances.isEmpty()); |
|
74 |
} |
|
75 |
|
|
76 |
@Test |
|
77 |
public void convertToServerConfigTest() { |
|
78 |
|
|
79 |
|
|
80 |
} |
|
67 | 81 |
} |
Also available in: Unified diff
#4073 Initial implementation of local cdm-server