diff --git a/src/test/java/io/lettuce/apigenerator/CreateAsyncApi.java b/src/test/java/io/lettuce/apigenerator/CreateAsyncApi.java index 008d57c987..ec3ffbf9fd 100644 --- a/src/test/java/io/lettuce/apigenerator/CreateAsyncApi.java +++ b/src/test/java/io/lettuce/apigenerator/CreateAsyncApi.java @@ -38,7 +38,7 @@ * @author Mark Paluch */ @RunWith(Parameterized.class) -class CreateAsyncApi { +public class CreateAsyncApi { private Set KEEP_METHOD_RESULT_TYPE = LettuceSets.unmodifiableSet("shutdown", "debugOom", "debugSegfault", "digest", "close", "isOpen", "BaseRedisCommands.reset", "getStatefulConnection", "setAutoFlushCommands", @@ -47,7 +47,7 @@ class CreateAsyncApi { private CompilationUnitFactory factory; @Parameterized.Parameters(name = "Create {0}") - static List arguments() { + public static List arguments() { List result = new ArrayList<>(); for (String templateName : Constants.TEMPLATE_NAMES) { @@ -108,7 +108,7 @@ Supplier> importSupplier() { } @Test - void createInterface() throws Exception { + public void createInterface() throws Exception { factory.createInterface(); } } diff --git a/src/test/java/io/lettuce/apigenerator/CreateAsyncNodeSelectionClusterApi.java b/src/test/java/io/lettuce/apigenerator/CreateAsyncNodeSelectionClusterApi.java index 1e2fd23efd..25097ffd4b 100644 --- a/src/test/java/io/lettuce/apigenerator/CreateAsyncNodeSelectionClusterApi.java +++ b/src/test/java/io/lettuce/apigenerator/CreateAsyncNodeSelectionClusterApi.java @@ -39,7 +39,7 @@ * @author Mark Paluch */ @RunWith(Parameterized.class) -class CreateAsyncNodeSelectionClusterApi { +public class CreateAsyncNodeSelectionClusterApi { private Set FILTER_METHODS = LettuceSets.unmodifiableSet("shutdown", "debugOom", "debugSegfault", "digest", "close", "isOpen", "BaseRedisCommands.reset", "readOnly", "readWrite", "setAutoFlushCommands", "flushCommands"); @@ -47,7 +47,7 @@ class CreateAsyncNodeSelectionClusterApi { private CompilationUnitFactory factory; @Parameterized.Parameters(name = "Create {0}") - static List arguments() { + public static List arguments() { List result = new ArrayList<>(); for (String templateName : Constants.TEMPLATE_NAMES) { @@ -114,7 +114,7 @@ Supplier> importSupplier() { } @Test - void createInterface() throws Exception { + public void createInterface() throws Exception { factory.createInterface(); } } diff --git a/src/test/java/io/lettuce/apigenerator/CreateReactiveApi.java b/src/test/java/io/lettuce/apigenerator/CreateReactiveApi.java index 42eaa65229..c937077b73 100644 --- a/src/test/java/io/lettuce/apigenerator/CreateReactiveApi.java +++ b/src/test/java/io/lettuce/apigenerator/CreateReactiveApi.java @@ -37,7 +37,7 @@ * @author Mark Paluch */ @RunWith(Parameterized.class) -class CreateReactiveApi { +public class CreateReactiveApi { private static Set KEEP_METHOD_RESULT_TYPE = LettuceSets.unmodifiableSet("digest", "close", "isOpen", "BaseRedisCommands.reset", "getStatefulConnection", "setAutoFlushCommands", "flushCommands"); @@ -60,7 +60,7 @@ class CreateReactiveApi { private CompilationUnitFactory factory; @Parameterized.Parameters(name = "Create {0}") - static List arguments() { + public static List arguments() { List result = new ArrayList<>(); for (String templateName : Constants.TEMPLATE_NAMES) { @@ -175,7 +175,7 @@ Supplier> importSupplier() { } @Test - void createInterface() throws Exception { + public void createInterface() throws Exception { factory.createInterface(); } } diff --git a/src/test/java/io/lettuce/apigenerator/CreateSyncApi.java b/src/test/java/io/lettuce/apigenerator/CreateSyncApi.java index 9a0f738780..a7c1430a59 100644 --- a/src/test/java/io/lettuce/apigenerator/CreateSyncApi.java +++ b/src/test/java/io/lettuce/apigenerator/CreateSyncApi.java @@ -39,14 +39,14 @@ * @author Mark Paluch */ @RunWith(Parameterized.class) -class CreateSyncApi { +public class CreateSyncApi { private Set FILTER_METHODS = LettuceSets.unmodifiableSet("setAutoFlushCommands", "flushCommands"); private CompilationUnitFactory factory; @Parameterized.Parameters(name = "Create {0}") - static List arguments() { + public static List arguments() { List result = new ArrayList<>(); for (String templateName : Constants.TEMPLATE_NAMES) { @@ -114,7 +114,7 @@ Supplier> importSupplier() { } @Test - void createInterface() throws Exception { + public void createInterface() throws Exception { factory.createInterface(); } } diff --git a/src/test/java/io/lettuce/apigenerator/CreateSyncNodeSelectionClusterApi.java b/src/test/java/io/lettuce/apigenerator/CreateSyncNodeSelectionClusterApi.java index cfa31c6f08..3147fbe82e 100644 --- a/src/test/java/io/lettuce/apigenerator/CreateSyncNodeSelectionClusterApi.java +++ b/src/test/java/io/lettuce/apigenerator/CreateSyncNodeSelectionClusterApi.java @@ -40,7 +40,7 @@ * @author Mark Paluch */ @RunWith(Parameterized.class) -class CreateSyncNodeSelectionClusterApi { +public class CreateSyncNodeSelectionClusterApi { private Set FILTER_METHODS = LettuceSets.unmodifiableSet("shutdown", "debugOom", "debugSegfault", "digest", "close", "isOpen", "BaseRedisCommands.reset", "readOnly", "readWrite", "dispatch", "setAutoFlushCommands", "flushCommands"); @@ -48,7 +48,7 @@ class CreateSyncNodeSelectionClusterApi { private CompilationUnitFactory factory; @Parameterized.Parameters(name = "Create {0}") - static List arguments() { + public static List arguments() { List result = new ArrayList<>(); for (String templateName : Constants.TEMPLATE_NAMES) { @@ -127,7 +127,7 @@ Supplier> importSupplier() { } @Test - void createInterface() throws Exception { + public void createInterface() throws Exception { factory.createInterface(); } }