summaryrefslogtreecommitdiff
path: root/same/src/test/java/com/orbekk
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-27 16:16:27 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-02-27 16:16:27 +0100
commit145b1bd126603219dfe50b739dd3a019b43e5972 (patch)
tree5693260c25a97b9a6bf82f9b7b9854e01cdf7e4d /same/src/test/java/com/orbekk
parent4d3eea4a5a72b350ccc0170e054b9c3a0823eef1 (diff)
Remove argument to DelayedOperation.working-graphics-0.1
Diffstat (limited to 'same/src/test/java/com/orbekk')
-rw-r--r--same/src/test/java/com/orbekk/util/DelayedOperationTest.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/same/src/test/java/com/orbekk/util/DelayedOperationTest.java b/same/src/test/java/com/orbekk/util/DelayedOperationTest.java
index b15830f..b65ceed 100644
--- a/same/src/test/java/com/orbekk/util/DelayedOperationTest.java
+++ b/same/src/test/java/com/orbekk/util/DelayedOperationTest.java
@@ -6,20 +6,19 @@ import org.junit.Test;
public class DelayedOperationTest {
@Test public void initialOperationStatus() {
- DelayedOperation<String> operation = new DelayedOperation<String>("NotFinished");
+ DelayedOperation operation = new DelayedOperation();
assertFalse(operation.isDone());
}
@Test public void completedOperationReturns() {
- DelayedOperation<String> operation = new DelayedOperation<String>("Test");
+ DelayedOperation operation = new DelayedOperation();
operation.complete(DelayedOperation.Status.createOk());
assertTrue(operation.isDone());
assertEquals(DelayedOperation.Status.createOk(), operation.getStatus());
}
@Test public void concurrentTest() throws Exception {
- final DelayedOperation<String> operation =
- new DelayedOperation<String>("ConcurrentTest");
+ final DelayedOperation operation = new DelayedOperation();
Thread t = new Thread(new Runnable() {
@Override