formatting
This commit is contained in:
@@ -47,6 +47,9 @@ public interface HttpServerStubConfigurer<T> {
|
||||
*/
|
||||
class NoOpHttpServerStubConfigurer implements HttpServerStubConfigurer {
|
||||
|
||||
/**
|
||||
* Singleton instance.
|
||||
*/
|
||||
public static HttpServerStubConfigurer INSTANCE = new NoOpHttpServerStubConfigurer();
|
||||
|
||||
@Override
|
||||
|
||||
@@ -35,8 +35,8 @@ import org.springframework.core.env.Environment;
|
||||
* Wraps {@link DiscoveryClient} in a Stub Runner implementation that tries to find a
|
||||
* corresponding WireMock server for a searched dependency.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @author Marcin Grzejszczak
|
||||
* @since 1.0.0
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@EnableConfigurationProperties(StubMapperProperties.class)
|
||||
|
||||
@@ -59,8 +59,8 @@ import org.springframework.util.StringUtils;
|
||||
/**
|
||||
* Provides autoconfiguraion for the Spring Cloud Load Balancer module.
|
||||
*
|
||||
* @since 2.2.3
|
||||
* @author Marcin Grzejszczak
|
||||
* @since 2.2.3
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnClass({ LoadBalancerClient.class, LoadBalancerClientFactory.class })
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
package org.springframework.cloud.contract.verifier.config.framework;
|
||||
|
||||
/**
|
||||
* Defines elements characteristic of a given test framework to be used during test class
|
||||
* construction.
|
||||
*
|
||||
* @author Olga Maciaszek-Sharma
|
||||
* @since 2.1.0
|
||||
* @deprecated appropriate implementations of
|
||||
* <code>org.springframework.cloud.contract.verifier.builder.Visitor</code> should be used
|
||||
* instead.
|
||||
*
|
||||
* Defines elements characteristic of a given test framework to be used during test class
|
||||
* construction.
|
||||
* @author Olga Maciaszek-Sharma
|
||||
* @since 2.1.0
|
||||
*/
|
||||
@Deprecated
|
||||
public interface TestFrameworkDefinition {
|
||||
|
||||
@@ -25,10 +25,10 @@ import org.springframework.context.annotation.Configuration;
|
||||
* in your test case and this class is available. JSON stubs are generated and added to
|
||||
* the restdocs path under "stubs".
|
||||
*
|
||||
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
|
||||
* stub behaviour
|
||||
* @author Eddú Meléndez
|
||||
* @author Olga Maciaszek-Sharma
|
||||
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
|
||||
* stub behaviour
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
// @ConditionalOnClass(RestAssuredRestDocumentationConfigurer.class)
|
||||
|
||||
@@ -29,10 +29,9 @@ import org.springframework.restdocs.mockmvc.MockMvcRestDocumentationConfigurer;
|
||||
* in your test case and this class is available. JSON stubs are generated and added to
|
||||
* the restdocs path under "stubs".
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
|
||||
* stub behaviour
|
||||
* @author Dave Syer
|
||||
*
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnClass(MockMvcRestDocumentationConfigurer.class)
|
||||
|
||||
@@ -29,10 +29,9 @@ import org.springframework.restdocs.webtestclient.WebTestClientRestDocumentation
|
||||
* in your test case and this class is available. JSON stubs are generated and added to
|
||||
* the restdocs path under "stubs".
|
||||
*
|
||||
* @author Dave Syer
|
||||
* @see WireMockRestDocs for a convenient entry point for customizing and asserting the
|
||||
* stub behaviour
|
||||
* @author Dave Syer
|
||||
*
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnClass(WebTestClientRestDocumentationConfigurer.class)
|
||||
|
||||
Reference in New Issue
Block a user