Polish
This commit is contained in:
committed by
Marcin Grzejszczak
parent
d69670db68
commit
3e90c1ab9d
@@ -138,7 +138,7 @@ contracts {
|
||||
contractsWorkOffline = false
|
||||
}
|
||||
|
||||
tasks.create(type: Jar, name: 'verifierStubsJar', dependsOn: 'convert') {
|
||||
tasks.create(type: Jar, name: 'verifierStubsJar', dependsOn: 'generateClientStubs') {
|
||||
baseName = project.name
|
||||
classifier = contracts.stubsSuffix
|
||||
from contractVerifier.stubsOutputDir
|
||||
|
||||
@@ -23,7 +23,7 @@ package org.springframework.cloud.contract.spec
|
||||
* @param <T> - type to which we want to convert the contract
|
||||
*
|
||||
* @author Marcin Grzejszczak
|
||||
* @since 1.0.3
|
||||
* @since 1.1.0
|
||||
*/
|
||||
public interface ContractConverter<T> {
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import org.springframework.core.io.support.SpringFactoriesLoader
|
||||
* Retrieves file converters from the class path and operates on them.
|
||||
*
|
||||
* @author Marcin Grzejszczak
|
||||
* @since 1.0.3
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@CompileStatic
|
||||
class SingleFileConvertersHolder {
|
||||
|
||||
@@ -26,10 +26,11 @@ import org.springframework.cloud.contract.verifier.config.TestMode
|
||||
import org.springframework.cloud.contract.verifier.file.ContractMetadata
|
||||
|
||||
import static org.springframework.cloud.contract.verifier.util.NamesUtil.capitalize
|
||||
|
||||
/**
|
||||
* Builds a single test for the given {@link ContractVerifierConfigProperties properties}
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@Slf4j
|
||||
class JavaTestGenerator implements SingleTestGenerator {
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.cloud.contract.verifier.file.ContractMetadata
|
||||
/**
|
||||
* Builds a single test.
|
||||
*
|
||||
* @since 1.0.3
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@CompileStatic
|
||||
interface SingleTestGenerator {
|
||||
|
||||
@@ -22,7 +22,7 @@ import groovy.transform.InheritConstructors
|
||||
* Exception occurring when we're trying to parse the DSL
|
||||
*
|
||||
* @author Marcin Grzejszczak
|
||||
* @since 1.0.3
|
||||
* @since 1.1.0
|
||||
*/
|
||||
@InheritConstructors
|
||||
class DslParseException extends RuntimeException {
|
||||
|
||||
Reference in New Issue
Block a user