broker/test/ServerIntegrationDBAuthenticatorTest: code formatter used

This commit is contained in:
Andreas Mager
2017-02-01 17:13:41 +01:00
parent 42bd234c76
commit 7b57f04db9
@@ -1,3 +1,4 @@
package io.moquette.server;
import io.moquette.BrokerConstants;
@@ -10,19 +11,18 @@ import org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence;
import org.junit.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.security.NoSuchAlgorithmException;
import java.sql.SQLException;
import java.util.Properties;
import static org.junit.Assert.assertTrue;
/**
* Created by mackristof on 13/05/2016.
*/
public class ServerIntegrationDBAuthenticatorTest {
private static final Logger LOG = LoggerFactory.getLogger(ServerIntegrationDBAuthenticatorTest.class);
static MqttClientPersistence s_dataStore;
@@ -35,8 +35,6 @@ public class ServerIntegrationDBAuthenticatorTest {
MessageCollector m_messagesCollector;
IConfig m_config;
@BeforeClass
public static void beforeTests() throws NoSuchAlgorithmException, SQLException, ClassNotFoundException {
String tmpDir = System.getProperty("java.io.tmpdir");
@@ -53,7 +51,6 @@ public class ServerIntegrationDBAuthenticatorTest {
m_server.startServer(m_config);
}
private void stopServer() {
m_server.stopServer();
IntegrationUtils.cleanPersistenceFile(m_config);
@@ -111,7 +108,6 @@ public class ServerIntegrationDBAuthenticatorTest {
assertTrue(true);
}
@Test
public void connectWithWrongCredentials() {
LOG.info("*** connectWithWrongCredentials ***");
@@ -131,8 +127,6 @@ public class ServerIntegrationDBAuthenticatorTest {
}
}
assertTrue("must not be connected. cause : wrong password given to client", false);
}
}