From a9f5c24a695f3c955bfb4b96ea82fc0af0e02232 Mon Sep 17 00:00:00 2001 From: Hylke van der Schaaf Date: Thu, 18 Feb 2021 13:15:52 +0100 Subject: [PATCH] Fixed ServerLowLevel tests not running JUnit only runs tests in classes that have a name that ends in Test, the class in question had a name that ended in Tests, with an added s. As a result, the tests in this class were never executed. This renames the class to not have the added s. --- ...nTests.java => ServerLowlevelMessagesIntegrationTest.java} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename broker/src/test/java/io/moquette/integration/{ServerLowlevelMessagesIntegrationTests.java => ServerLowlevelMessagesIntegrationTest.java} (98%) diff --git a/broker/src/test/java/io/moquette/integration/ServerLowlevelMessagesIntegrationTests.java b/broker/src/test/java/io/moquette/integration/ServerLowlevelMessagesIntegrationTest.java similarity index 98% rename from broker/src/test/java/io/moquette/integration/ServerLowlevelMessagesIntegrationTests.java rename to broker/src/test/java/io/moquette/integration/ServerLowlevelMessagesIntegrationTest.java index 1a6f91ceb..c7a1d2e6d 100644 --- a/broker/src/test/java/io/moquette/integration/ServerLowlevelMessagesIntegrationTests.java +++ b/broker/src/test/java/io/moquette/integration/ServerLowlevelMessagesIntegrationTest.java @@ -40,9 +40,9 @@ import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.jupiter.api.Assertions.*; -public class ServerLowlevelMessagesIntegrationTests { +public class ServerLowlevelMessagesIntegrationTest { - private static final Logger LOG = LoggerFactory.getLogger(ServerLowlevelMessagesIntegrationTests.class); + private static final Logger LOG = LoggerFactory.getLogger(ServerLowlevelMessagesIntegrationTest.class); static MqttClientPersistence s_dataStore; Server m_server; Client m_client;