From 78db565a2e8e76f1d4116978a8a2966e602bfbc0 Mon Sep 17 00:00:00 2001 From: Spencer Gibb Date: Wed, 15 Mar 2017 10:10:36 -0600 Subject: [PATCH] Fix test names --- .../cloud/gateway/test/AdhocTestSuite.java | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/test/AdhocTestSuite.java b/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/test/AdhocTestSuite.java index e80167630..0fe60d1f7 100644 --- a/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/test/AdhocTestSuite.java +++ b/spring-cloud-gateway-core/src/test/java/org/springframework/cloud/gateway/test/AdhocTestSuite.java @@ -34,11 +34,12 @@ import org.springframework.cloud.gateway.filter.route.SetPathRouteFilterIntegrat import org.springframework.cloud.gateway.filter.route.SetPathRouteFilterTests; import org.springframework.cloud.gateway.filter.route.SetResponseRouteFilterIntegrationTests; import org.springframework.cloud.gateway.filter.route.SetStatusRouteFilterIntegrationTests; -import org.springframework.cloud.gateway.handler.predicate.AfterRoutePredicateTests; -import org.springframework.cloud.gateway.handler.predicate.BeforeRoutePredicateTests; -import org.springframework.cloud.gateway.handler.predicate.BetweenRoutePredicateTests; +import org.springframework.cloud.gateway.handler.predicate.AfterRequestPredicateFactoryTests; +import org.springframework.cloud.gateway.handler.predicate.BeforeRequestPredicateFactoryTests; +import org.springframework.cloud.gateway.handler.predicate.BetweenRequestPredicateFactoryTests; import org.springframework.cloud.gateway.handler.predicate.HostRoutePredicateIntegrationTests; -import org.springframework.cloud.gateway.handler.predicate.PathRoutePredicateIntegrationTests; +import org.springframework.cloud.gateway.handler.predicate.MethodRequestPredicateFactoryTests; +import org.springframework.cloud.gateway.handler.predicate.PathRequestPredicateFactoryTests; /** * @author Spencer Gibb @@ -62,11 +63,12 @@ import org.springframework.cloud.gateway.handler.predicate.PathRoutePredicateInt SetStatusRouteFilterIntegrationTests.class, RewritePathRouteFilterTests.class, // route predicate tests - AfterRoutePredicateTests.class, - BeforeRoutePredicateTests.class, - BetweenRoutePredicateTests.class, + AfterRequestPredicateFactoryTests.class, + BeforeRequestPredicateFactoryTests.class, + BetweenRequestPredicateFactoryTests.class, HostRoutePredicateIntegrationTests.class, - PathRoutePredicateIntegrationTests.class, + MethodRequestPredicateFactoryTests.class, + PathRequestPredicateFactoryTests.class, }) public class AdhocTestSuite { }