From 199037f9c80afd885f1f536d91b40a8397cd6bf2 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Sun, 31 May 2015 16:48:45 +1000 Subject: Improve lots of things In particular: + make output more sane and less all over the place + just ignore original exception, the shrunk one is the only one which really matters + fit into the jUnit framework more (so now @Before, @After and stuff work) --- src/main/java/au/id/zancanaro/ShrinkResult.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/main/java/au/id/zancanaro/ShrinkResult.java (limited to 'src/main/java/au/id/zancanaro/ShrinkResult.java') diff --git a/src/main/java/au/id/zancanaro/ShrinkResult.java b/src/main/java/au/id/zancanaro/ShrinkResult.java new file mode 100644 index 0000000..fb2f2d4 --- /dev/null +++ b/src/main/java/au/id/zancanaro/ShrinkResult.java @@ -0,0 +1,11 @@ +package au.id.zancanaro; + +class ShrinkResult { + public final Object[] args; + public final Throwable thrown; + + public ShrinkResult(Object[] args, Throwable thrown) { + this.args = args; + this.thrown = thrown; + } +} -- cgit v1.2.3