m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/pl/edu/mimuw/cloudatlas
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/pl/edu/mimuw/cloudatlas')
-rw-r--r--src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentTest.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentTest.java b/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentTest.java
index 6ab10d6..cc1b4b5 100644
--- a/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentTest.java
+++ b/src/test/java/pl/edu/mimuw/cloudatlas/agent/AgentTest.java
@@ -44,14 +44,14 @@ public class AgentTest {
@Test
public void testGetZoneSet() {
- try {
- Registry registry = LocateRegistry.getRegistry("localhost");
- Api api = (Api) registry.lookup("Api");
- Set<String> set = api.getZoneSet();
+ try {
+ Registry registry = LocateRegistry.getRegistry("localhost");
+ Api api = (Api) registry.lookup("Api");
+ Set<String> set = api.getZoneSet();
assertEquals(null, set);
- } catch (Exception e) {
- e.printStackTrace();
+ } catch (Exception e) {
+ e.printStackTrace();
assertTrue(false);
- }
+ }
}
}