summaryrefslogtreecommitdiff
path: root/jsonrpc/src
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-11 16:11:11 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-01-11 16:11:11 +0100
commit4aabaafc06f0bb7b26210a137276c31fed437af8 (patch)
treec299c334c706dc315b6155fbcf6c487306b0f0a4 /jsonrpc/src
parent77a11fb4c2cc35a31e325efdf828f625be219207 (diff)
Improve SameStateTest.
- Assert on specific state.
Diffstat (limited to 'jsonrpc/src')
-rw-r--r--jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java b/jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java
index 4c2a11d..90ce658 100644
--- a/jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java
+++ b/jsonrpc/src/test/java/com/orbekk/same/SameStateTest.java
@@ -97,7 +97,8 @@ public class SameStateTest {
state1.internalRun();
state2.internalRun();
state3.internalRun();
- assertEquals(state1.getCurrentState(), state2.getCurrentState());
- assertEquals(state2.getCurrentState(), state3.getCurrentState());
+ assertEquals("New state1", state1.getCurrentState());
+ assertEquals("New state1", state2.getCurrentState());
+ assertEquals("New state1", state2.getCurrentState());
}
}