mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Rename HttpServiceClientRegistrarSupport
to AbstractClientHttpServiceRegistrar since it is a registrar and an extension of Abstract[HttpServiceRegistrar]. Also, a more friendly name for use in application configuration. See gh-35244
This commit is contained in:
+3
-3
@@ -33,10 +33,10 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.mockito.Mockito.mock;
|
||||
|
||||
/**
|
||||
* Unit tests for {@link HttpServiceClientRegistrarSupport}.
|
||||
* Unit tests for {@link AbstractClientHttpServiceRegistrar}.
|
||||
* @author Rossen Stoyanchev
|
||||
*/
|
||||
public class HttpServiceClientRegistrarSupportTests {
|
||||
public class ClientHttpServiceRegistrarTests {
|
||||
|
||||
private final TestGroupRegistry groupRegistry = new TestGroupRegistry();
|
||||
|
||||
@@ -47,7 +47,7 @@ public class HttpServiceClientRegistrarSupportTests {
|
||||
List<String> basePackages = List.of(
|
||||
BasicClient.class.getPackageName(), EchoClientA.class.getPackageName());
|
||||
|
||||
HttpServiceClientRegistrarSupport registrar = new HttpServiceClientRegistrarSupport() {
|
||||
AbstractClientHttpServiceRegistrar registrar = new AbstractClientHttpServiceRegistrar() {
|
||||
|
||||
@Override
|
||||
protected void registerHttpServices(GroupRegistry registry, AnnotationMetadata importingClassMetadata) {
|
||||
+3
-3
@@ -39,12 +39,12 @@ import org.springframework.web.service.registry.greeting.GreetingB;
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
/**
|
||||
* Tests for {@link ImportHttpServicesRegistrar}.
|
||||
* Tests for {@link ImportHttpServiceRegistrar}.
|
||||
*
|
||||
* @author Rossen Stoyanchev
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
public class ImportHttpServicesRegistrarTests {
|
||||
public class ImportHttpServiceRegistrarTests {
|
||||
|
||||
private static final String ECHO_GROUP = "echo";
|
||||
|
||||
@@ -53,7 +53,7 @@ public class ImportHttpServicesRegistrarTests {
|
||||
|
||||
private final TestGroupRegistry groupRegistry = new TestGroupRegistry();
|
||||
|
||||
private final ImportHttpServicesRegistrar registrar = new ImportHttpServicesRegistrar();
|
||||
private final ImportHttpServiceRegistrar registrar = new ImportHttpServiceRegistrar();
|
||||
|
||||
|
||||
@Test
|
||||
Reference in New Issue
Block a user