diff options
author | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-03-13 09:41:48 +0100 |
---|---|---|
committer | Kjetil Ørbekk <kjetil.orbekk@gmail.com> | 2012-03-13 09:41:48 +0100 |
commit | 67c7a243f41c759abd7b38e712e49cd3e1221772 (patch) | |
tree | 014c48d3fed60496c1911aa3eeda5c0abd8cbdf6 /same/src/test/java | |
parent | 882d749ca5a9934c8ae773d76778c1e8381e5595 (diff) |
Fix warnings in com.orbekk.same tests.
Diffstat (limited to 'same/src/test/java')
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; |