summaryrefslogtreecommitdiff
path: root/src/main/java/au/id/zancanaro/javacheck/ShrinkResult.java
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@zancanaro.id.au>2015-06-01 11:41:16 +1000
committerCarlo Zancanaro <carlo@zancanaro.id.au>2015-06-01 11:41:16 +1000
commit8187f024bae57267af514c5dcb730de09e573e41 (patch)
treecba17e2e770de4972f57b60cdd443248fd68c458 /src/main/java/au/id/zancanaro/javacheck/ShrinkResult.java
parentedfce37bc21699042baf14ad6d172d3187fe530c (diff)
Move packages, make lists shrink in size, generate lists instead of arrays as the 'primitive' operation (issues with generics)
Diffstat (limited to 'src/main/java/au/id/zancanaro/javacheck/ShrinkResult.java')
-rw-r--r--src/main/java/au/id/zancanaro/javacheck/ShrinkResult.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/au/id/zancanaro/javacheck/ShrinkResult.java b/src/main/java/au/id/zancanaro/javacheck/ShrinkResult.java
new file mode 100644
index 0000000..e1463f0
--- /dev/null
+++ b/src/main/java/au/id/zancanaro/javacheck/ShrinkResult.java
@@ -0,0 +1,11 @@
+package au.id.zancanaro.javacheck;
+
+public class ShrinkResult {
+ public final Object[] args;
+ public final Throwable thrown;
+
+ public ShrinkResult(Object[] args, Throwable thrown) {
+ this.args = args;
+ this.thrown = thrown;
+ }
+}