Skip to content

Commit 2112e42

Browse files
committed
Rename assertion error for diffing, bump jackson version
1 parent 6fc4e9a commit 2112e42

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
```

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ repositories {
2828
dependencies {
2929

3030
ext {
31-
jacksonVersion = '2.10.0'
31+
jacksonVersion = '2.11.4'
3232
}
3333

3434
compile 'com.squareup.okhttp3:okhttp:3.12.0'

junit5/README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
```

src/main/java/io/specto/hoverfly/junit/core/Hoverfly.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
import io.specto.hoverfly.junit.core.model.Simulation;
3838
import io.specto.hoverfly.junit.dsl.RequestMatcherBuilder;
3939
import io.specto.hoverfly.junit.dsl.StubServiceBuilder;
40-
import io.specto.hoverfly.junit.verification.HoverflyComparisonFailure;
40+
import io.specto.hoverfly.junit.verification.HoverflyDiffAssertionError;
4141
import io.specto.hoverfly.junit.verification.VerificationCriteria;
4242
import io.specto.hoverfly.junit.verification.VerificationData;
4343
import 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

src/main/java/io/specto/hoverfly/junit/verification/HoverflyComparisonFailure.java renamed to src/main/java/io/specto/hoverfly/junit/verification/HoverflyDiffAssertionError.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
import 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
}

0 commit comments

Comments
 (0)