File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed
src/main/java/io/specto/hoverfly/junit Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Full documentation is available http://hoverfly-java.readthedocs.io/[here^]
3737<dependency>
3838 <groupId>io.specto</groupId>
3939 <artifactId>hoverfly-java</artifactId>
40- <version>0.12.3 </version>
40+ <version>0.14.0 </version>
4141 <scope>test</scope>
4242</dependency>
4343```
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ repositories {
2828dependencies {
2929
3030 ext {
31- jacksonVersion = ' 2.10.0 '
31+ jacksonVersion = ' 2.11.4 '
3232 }
3333
3434 compile ' com.squareup.okhttp3:okhttp:3.12.0'
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Full documentation is available http://hoverfly-java.readthedocs.io/en/latest/pa
1616<dependency>
1717 <groupId>io.specto</groupId>
1818 <artifactId>hoverfly-java-junit5</artifactId>
19- <version>0.12.3 </version>
19+ <version>0.14.0 </version>
2020 <scope>test</scope>
2121</dependency>
2222```
Original file line number Diff line number Diff line change 3737import io .specto .hoverfly .junit .core .model .Simulation ;
3838import io .specto .hoverfly .junit .dsl .RequestMatcherBuilder ;
3939import io .specto .hoverfly .junit .dsl .StubServiceBuilder ;
40- import io .specto .hoverfly .junit .verification .HoverflyComparisonFailure ;
40+ import io .specto .hoverfly .junit .verification .HoverflyDiffAssertionError ;
4141import io .specto .hoverfly .junit .verification .VerificationCriteria ;
4242import io .specto .hoverfly .junit .verification .VerificationData ;
4343import java .io .File ;
@@ -493,7 +493,7 @@ public void assertThatNoDiffIsReported(boolean shouldResetDiff) {
493493 if (shouldResetDiff ) {
494494 hoverflyClient .cleanDiffs ();
495495 }
496- throw new HoverflyComparisonFailure (message .toString (), diffs );
496+ throw new HoverflyDiffAssertionError (message .toString (), diffs );
497497 }
498498 }
499499
Original file line number Diff line number Diff line change 22
33import io .specto .hoverfly .junit .api .view .DiffView ;
44
5- public class HoverflyComparisonFailure extends AssertionError {
5+ public class HoverflyDiffAssertionError extends AssertionError {
66
77 private final DiffView diffs ;
88
9- public HoverflyComparisonFailure (String message , DiffView diffs ) {
9+ public HoverflyDiffAssertionError (String message , DiffView diffs ) {
1010 super (message );
1111 this .diffs = diffs ;
1212 }
You can’t perform that action at this time.
0 commit comments