summaryrefslogtreecommitdiff
path: root/same/src
diff options
context:
space:
mode:
authorKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-03-13 09:41:48 +0100
committerKjetil Ørbekk <kjetil.orbekk@gmail.com>2012-03-13 09:41:48 +0100
commit67c7a243f41c759abd7b38e712e49cd3e1221772 (patch)
tree014c48d3fed60496c1911aa3eeda5c0abd8cbdf6 /same/src
parent882d749ca5a9934c8ae773d76778c1e8381e5595 (diff)
Fix warnings in com.orbekk.same tests.
Diffstat (limited to 'same/src')
-rw-r--r--same/src/test/java/com/orbekk/same/FunctionalTest.java3
-rw-r--r--same/src/test/java/com/orbekk/same/MasterTest.java6
-rw-r--r--same/src/test/java/com/orbekk/same/VariableUpdaterTaskTest.java3
3 files changed, 5 insertions, 7 deletions
diff --git a/same/src/test/java/com/orbekk/same/FunctionalTest.java b/same/src/test/java/com/orbekk/same/FunctionalTest.java
index 63afafb..3707581 100644
--- a/same/src/test/java/com/orbekk/same/FunctionalTest.java
+++ b/same/src/test/java/com/orbekk/same/FunctionalTest.java
@@ -1,9 +1,6 @@
package com.orbekk.same;
import static org.junit.Assert.*;
-import static org.mockito.Matchers.*;
-import static org.mockito.Mockito.*;
-import static org.hamcrest.Matcher.*;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.*;
diff --git a/same/src/test/java/com/orbekk/same/MasterTest.java b/same/src/test/java/com/orbekk/same/MasterTest.java
index 3a8bd5a..77f024a 100644
--- a/same/src/test/java/com/orbekk/same/MasterTest.java
+++ b/same/src/test/java/com/orbekk/same/MasterTest.java
@@ -1,9 +1,11 @@
package com.orbekk.same;
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
import java.util.List;
-import org.codehaus.jackson.type.TypeReference;
+
import org.junit.Before;
import org.junit.Test;
diff --git a/same/src/test/java/com/orbekk/same/VariableUpdaterTaskTest.java b/same/src/test/java/com/orbekk/same/VariableUpdaterTaskTest.java
index 3ecf444..f008d62 100644
--- a/same/src/test/java/com/orbekk/same/VariableUpdaterTaskTest.java
+++ b/same/src/test/java/com/orbekk/same/VariableUpdaterTaskTest.java
@@ -1,11 +1,10 @@
package com.orbekk.same;
-import static org.junit.Assert.*;
-
import org.junit.Before;
import org.junit.Test;
import static org.mockito.Mockito.*;
+@SuppressWarnings("unchecked")
public class VariableUpdaterTaskTest {
Variable<String> v;
VariableUpdaterTask<String> updater;