Going back to snapshots
This commit is contained in:
committed by
Marcin Grzejszczak
parent
a2539d21fd
commit
83c53e9efc
@@ -287,7 +287,7 @@ run the following command:
|
||||
./scripts/parallelBuild.sh
|
||||
```
|
||||
|
||||
To use eight 8 cores, run thke following command:
|
||||
To use eight 8 cores, run the following command:
|
||||
|
||||
```
|
||||
CORES=8 ./scripts/parallelBuild.sh
|
||||
|
||||
@@ -51,8 +51,8 @@ import org.springframework.cloud.contract.verifier.messaging.MessageVerifier;
|
||||
* @author Olga Maciaszek-Sharma
|
||||
* @since 2.1.0
|
||||
*/
|
||||
public class StubRunnerExtension implements BeforeAllCallback, AfterAllCallback,
|
||||
BeforeEachCallback, AfterEachCallback, StubFinder, StubRunnerExtensionOptions {
|
||||
public class StubRunnerExtension implements BeforeAllCallback, AfterAllCallback, BeforeEachCallback, AfterEachCallback,
|
||||
StubFinder, StubRunnerExtensionOptions {
|
||||
|
||||
private static final String DELIMITER = ":";
|
||||
|
||||
@@ -84,8 +84,7 @@ public class StubRunnerExtension implements BeforeAllCallback, AfterAllCallback,
|
||||
public void afterAll(ExtensionContext extensionContext) {
|
||||
try {
|
||||
after();
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
this.afterAllCalled.set(true);
|
||||
}
|
||||
}
|
||||
@@ -106,8 +105,7 @@ public class StubRunnerExtension implements BeforeAllCallback, AfterAllCallback,
|
||||
public void beforeAll(ExtensionContext extensionContext) {
|
||||
try {
|
||||
before();
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
this.beforeAllCalled.set(true);
|
||||
}
|
||||
}
|
||||
@@ -135,6 +133,7 @@ public class StubRunnerExtension implements BeforeAllCallback, AfterAllCallback,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public URL findStubUrl(String groupId, String artifactId)
|
||||
throws StubNotFoundException {
|
||||
|
||||
@@ -24,13 +24,10 @@ public class XmlBodyVerificationBuilderTest {
|
||||
builder.addXmlResponseBodyCheck(blockBuilder, xml, matchers, xml, true);
|
||||
// Then
|
||||
String test = blockBuilder.toString();
|
||||
assertThat(test).contains(
|
||||
"DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();")
|
||||
assertThat(test).contains("DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance();")
|
||||
.contains("builderFactory.setNamespaceAware(true);")
|
||||
.contains(
|
||||
"DocumentBuilder documentBuilder = builderFactory.newDocumentBuilder();")
|
||||
.contains(
|
||||
"Document parsedXml = documentBuilder.parse(new InputSource(new StringReader(")
|
||||
.contains("DocumentBuilder documentBuilder = builderFactory.newDocumentBuilder();")
|
||||
.contains("Document parsedXml = documentBuilder.parse(new InputSource(new StringReader(")
|
||||
.contains(xml);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user