Revision df390232
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/ui/dialogs/CdmServerInfoTest.java | ||
---|---|---|
12 | 12 |
import java.util.List; |
13 | 13 |
|
14 | 14 |
import org.junit.Assert; |
15 |
import org.junit.Ignore; |
|
15 | 16 |
import org.junit.Test; |
16 | 17 |
import org.unitils.UnitilsJUnit4; |
17 | 18 |
|
... | ... | |
24 | 25 |
* @date 26 Jan 2015 |
25 | 26 |
* |
26 | 27 |
*/ |
28 |
|
|
27 | 29 |
public class CdmServerInfoTest extends UnitilsJUnit4 { |
28 | 30 |
|
29 | 31 |
@Test |
... | ... | |
34 | 36 |
} |
35 | 37 |
} |
36 | 38 |
|
39 |
// FIXME:Remoting this is an integration test and should be run against a |
|
40 |
// cdmserver |
|
41 |
@Ignore |
|
37 | 42 |
@Test |
38 | 43 |
public void pingInstancesTest() { |
39 | 44 |
CdmServerInfo csii = new CdmServerInfo("localhost", "localhost", 8080); |
... | ... | |
56 | 61 |
List<CdmInstanceInfo> instances = wrongCsii.getInstances(); |
57 | 62 |
Assert.fail("Execption should be thrown here"); |
58 | 63 |
} catch (CDMServerException e) { |
59 |
// TODO Auto-generated catch block |
|
60 |
e.printStackTrace(); |
|
64 |
|
|
61 | 65 |
} |
62 | 66 |
} |
63 | 67 |
} |
Also available in: Unified diff
RemotingSessionAwareTest : added new class which handles pre-config of test classes which require a session
*Test.java : set super class to RemotingSessionAwareTest
*.xml : removed DefinedTermBase entites from datasets so that the terms are not deleted
ServiceInterceptorTest : correction