Revision d02ff6c0
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.test/src/test/java/eu/etaxonomy/taxeditor/httpinvoker/CdmRemoteSourceTest.java | ||
---|---|---|
32 | 32 |
contextPath, |
33 | 33 |
NomenclaturalCode.ICNAFP); |
34 | 34 |
try { |
35 |
inactiveCrs.getDbSchemaVersion(); |
|
35 |
String dbSchemaVersion = inactiveCrs.getDbSchemaVersion();
|
|
36 | 36 |
Assert.fail("getDbSchemaVersion() on inactive cdm server should have thrown RemoteAccessException"); |
37 | 37 |
} catch(CdmSourceException cse) { |
38 | 38 |
Assert.fail("getDbSchemaVersion() on inactive cdm server should have thrown RemoteAccessException and not CdmSourceException"); |
... | ... | |
60 | 60 |
|
61 | 61 |
} |
62 | 62 |
|
63 |
@Test |
|
64 |
public void whenConnectingToAnActiveServerWithServicesBlockedThenFailToAccessServices() { |
|
65 |
|
|
66 |
} |
|
67 |
|
|
68 | 63 |
@Test |
69 | 64 |
public void whenConnectingToAnActiveServerThenConnectSuccessfully() { |
70 | 65 |
// check if active server throws the right exception |
Also available in: Unified diff
Revert cached services map to be local to configuration class