diff options
Diffstat (limited to 'src/test')
6 files changed, 3 insertions, 21 deletions
diff --git a/src/test/java/au/id/zancanaro/javacheck/state/queue/QueueTest.java b/src/test/java/au/id/zancanaro/javacheck/state/queue/QueueTest.java index 9672fca..5cfc7d5 100644 --- a/src/test/java/au/id/zancanaro/javacheck/state/queue/QueueTest.java +++ b/src/test/java/au/id/zancanaro/javacheck/state/queue/QueueTest.java @@ -4,16 +4,15 @@ import au.id.zancanaro.javacheck.Generator; import au.id.zancanaro.javacheck.annotations.DataSource; import au.id.zancanaro.javacheck.annotations.Property; import au.id.zancanaro.javacheck.junit.Properties; -import au.id.zancanaro.javacheck.state.*; +import au.id.zancanaro.javacheck.state.CommandList; +import au.id.zancanaro.javacheck.state.CommandListGenerator; +import au.id.zancanaro.javacheck.state.CommandResult; import au.id.zancanaro.javacheck.state.queue.commands.*; import org.junit.runner.RunWith; -import java.util.LinkedList; - import static au.id.zancanaro.javacheck.Generator.pure; import static au.id.zancanaro.javacheck.Generators.elements; import static au.id.zancanaro.javacheck.Generators.integer; -import static org.junit.Assert.assertFalse; @RunWith(Properties.class) public class QueueTest { diff --git a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Clear.java b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Clear.java index 2e88796..af6f2ad 100644 --- a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Clear.java +++ b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Clear.java @@ -1,14 +1,10 @@ package au.id.zancanaro.javacheck.state.queue.commands; -import au.id.zancanaro.javacheck.Generator; import au.id.zancanaro.javacheck.state.Command; import au.id.zancanaro.javacheck.state.CommandValue; import au.id.zancanaro.javacheck.state.queue.QueueState; import java.util.ArrayList; -import java.util.Queue; - -import static org.junit.Assert.assertEquals; public class Clear<T> extends Command<QueueState<T>, Void, Void> { @Override diff --git a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/New.java b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/New.java index 114e7ba..762cc2b 100644 --- a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/New.java +++ b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/New.java @@ -4,7 +4,6 @@ import au.id.zancanaro.javacheck.state.Command; import au.id.zancanaro.javacheck.state.CommandValue; import au.id.zancanaro.javacheck.state.queue.MyQueue; import au.id.zancanaro.javacheck.state.queue.QueueState; -import org.junit.Assume; import java.util.ArrayList; import java.util.Queue; diff --git a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Peek.java b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Peek.java index 5bb71a9..cd9589e 100644 --- a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Peek.java +++ b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Peek.java @@ -1,13 +1,8 @@ package au.id.zancanaro.javacheck.state.queue.commands; -import au.id.zancanaro.javacheck.Generator; import au.id.zancanaro.javacheck.state.Command; -import au.id.zancanaro.javacheck.state.CommandValue; import au.id.zancanaro.javacheck.state.queue.QueueState; -import java.util.Queue; - -import static au.id.zancanaro.javacheck.Generator.pure; import static org.junit.Assert.assertEquals; public class Peek<T> extends Command<QueueState<T>, Void, T> { diff --git a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Poll.java b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Poll.java index b5e0d98..372bbda 100644 --- a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Poll.java +++ b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Poll.java @@ -1,15 +1,12 @@ package au.id.zancanaro.javacheck.state.queue.commands; -import au.id.zancanaro.javacheck.Generator; import au.id.zancanaro.javacheck.state.Command; import au.id.zancanaro.javacheck.state.CommandValue; import au.id.zancanaro.javacheck.state.queue.QueueState; import java.util.ArrayList; import java.util.List; -import java.util.Queue; -import static au.id.zancanaro.javacheck.Generator.pure; import static org.junit.Assert.assertEquals; public class Poll<T> extends Command<QueueState<T>, Void, T> { diff --git a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Size.java b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Size.java index ba9d196..591cc43 100644 --- a/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Size.java +++ b/src/test/java/au/id/zancanaro/javacheck/state/queue/commands/Size.java @@ -1,12 +1,8 @@ package au.id.zancanaro.javacheck.state.queue.commands; -import au.id.zancanaro.javacheck.Generator; import au.id.zancanaro.javacheck.state.Command; -import au.id.zancanaro.javacheck.state.CommandValue; import au.id.zancanaro.javacheck.state.queue.QueueState; -import java.util.Queue; - import static org.junit.Assert.assertEquals; public class Size<T> extends Command<QueueState<T>, Void, Integer> { |