summaryrefslogtreecommitdiff
path: root/same/src/test/java
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-27 16:04:10 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-27 16:04:10 +0100
commitee51a98e9b61336610d667de57a8cff70d0ac1d9 (patch)
tree2a9e84c0d7830c68fb229bbf9cb13ae95cbb691b /same/src/test/java
parent500f94ce6780e96e503d6e5d9d46b5d537813717 (diff)
Remove set(id, value, revision) from ClientInterface.
Fix equals() bug in Component. Fix failing test.
Diffstat (limited to 'same/src/test/java')
-rw-r--r--same/src/test/java/com/orbekk/same/VariableFactoryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/same/src/test/java/com/orbekk/same/VariableFactoryTest.java b/same/src/test/java/com/orbekk/same/VariableFactoryTest.java
index ed0a962..bd0f923 100644
--- a/same/src/test/java/com/orbekk/same/VariableFactoryTest.java
+++ b/same/src/test/java/com/orbekk/same/VariableFactoryTest.java
@@ -57,7 +57,7 @@ public class VariableFactoryTest {
Variable<String> string = vf.create("X", stringType);
assertNull(string.get());
string.set("NewValue");
- verify(client).set("X", "\"NewValue\"", 0);
+ verify(client).set(new State.Component("X", 0, "\"NewValue\""));
}
@Test