Fixed reactor to 2020.0.0-SNAPSHOT
This commit is contained in:
@@ -36,6 +36,7 @@ class FileSaver {
|
||||
private static final Logger log = LoggerFactory.getLogger(FileSaver.class);
|
||||
|
||||
private final File targetDirectory;
|
||||
|
||||
private final String fileExtension;
|
||||
|
||||
FileSaver(File targetDirectory, String fileExtension) {
|
||||
|
||||
@@ -55,13 +55,19 @@ import static org.springframework.cloud.contract.verifier.util.NamesUtil.toLastD
|
||||
public class TestGenerator {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(TestGenerator.class);
|
||||
|
||||
private static final String DEFAULT_CLASS_PREFIX = "ContractVerifier";
|
||||
|
||||
private static final String DEFAULT_TEST_PACKAGE = "org.springframework.cloud.contract.verifier.tests";
|
||||
|
||||
private final ContractVerifierConfigProperties configProperties;
|
||||
|
||||
private final AtomicInteger counter = new AtomicInteger();
|
||||
|
||||
private final SingleTestGenerator generator;
|
||||
|
||||
private final FileSaver saver;
|
||||
|
||||
private final ContractFileScanner contractFileScanner;
|
||||
|
||||
public TestGenerator(ContractVerifierConfigProperties configProperties) {
|
||||
|
||||
@@ -47,7 +47,9 @@ public class BaseImportProvider {
|
||||
Arrays.asList(
|
||||
"org.springframework.cloud.contract.verifier.assertion.SpringCloudContractAssertions.assertThat",
|
||||
"org.springframework.cloud.contract.verifier.util.ContractVerifierUtil.*"));
|
||||
|
||||
private static final Map<TestFramework, String> RULE_IMPORT;
|
||||
|
||||
private static final Map<TestFramework, ImportDefinitions> TEST_FRAMEWORK_SPECIFIC_IMPORTS;
|
||||
|
||||
static {
|
||||
|
||||
@@ -25,14 +25,15 @@ import wiremock.com.github.jknack.handlebars.Helper;
|
||||
import org.springframework.cloud.contract.verifier.builder.handlebars.HandlebarsEscapeHelper;
|
||||
import org.springframework.cloud.contract.verifier.builder.handlebars.HandlebarsJsonPathHelper;
|
||||
|
||||
/**.
|
||||
* Default implementation of {@link ResponseTemplateTransformer} that contains default set
|
||||
* of handlebars helpers
|
||||
/**
|
||||
* . Default implementation of {@link ResponseTemplateTransformer} that contains default
|
||||
* set of handlebars helpers
|
||||
*
|
||||
* @author Marcin Grzejszczak
|
||||
* @since 1.2.0
|
||||
*/
|
||||
public class DefaultResponseTransformer extends ResponseTemplateTransformer {
|
||||
|
||||
public DefaultResponseTransformer() {
|
||||
super(false, defaultHelpers());
|
||||
}
|
||||
|
||||
@@ -48,7 +48,6 @@ public class CamelStubMessages implements MessageVerifier<Message> {
|
||||
|
||||
private final ContractVerifierCamelMessageBuilder builder;
|
||||
|
||||
|
||||
public CamelStubMessages(CamelContext context, ProducerTemplate producerTemplate,
|
||||
ConsumerTemplate consumerTemplate) {
|
||||
this.context = context;
|
||||
|
||||
Reference in New Issue
Block a user