mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-12 05:51:08 +01:00
Enable trailing whitespace checkstyle check
for all source code regions, including javadoc.
This commit is contained in:
parent
9d61a6de7d
commit
e8923b9d16
545 changed files with 3713 additions and 3715 deletions
|
|
@ -38,7 +38,7 @@ import org.junit.BeforeClass;
|
|||
|
||||
/**
|
||||
* Tests for Chat Manager and for Chat Manager Listener.
|
||||
*
|
||||
*
|
||||
* @author Stawicki Adam
|
||||
*/
|
||||
public class ChatTest extends AbstractSmackIntegrationTest {
|
||||
|
|
@ -87,28 +87,28 @@ public class ChatTest extends AbstractSmackIntegrationTest {
|
|||
assertEquals("Subjects are different", msg.getSubject(), msg2.getSubject());
|
||||
assertEquals("Bodies are different", msg.getBody(), msg2.getBody());
|
||||
assertEquals(
|
||||
"favoriteColors are different",
|
||||
"favoriteColors are different",
|
||||
getProperty(msg, "favoriteColor"),
|
||||
getProperty(msg2, "favoriteColor"));
|
||||
assertEquals(
|
||||
"ages are different",
|
||||
getProperty(msg, "age"),
|
||||
"ages are different",
|
||||
getProperty(msg, "age"),
|
||||
getProperty(msg2, "age"));
|
||||
assertEquals(
|
||||
"distances are different",
|
||||
getProperty(msg, "distance"),
|
||||
"distances are different",
|
||||
getProperty(msg, "distance"),
|
||||
getProperty(msg2, "distance"));
|
||||
assertEquals(
|
||||
"weights are different",
|
||||
getProperty(msg, "weight"),
|
||||
"weights are different",
|
||||
getProperty(msg, "weight"),
|
||||
getProperty(msg2, "weight"));
|
||||
assertEquals(
|
||||
"males are different",
|
||||
getProperty(msg, "male"),
|
||||
"males are different",
|
||||
getProperty(msg, "male"),
|
||||
getProperty(msg2, "male"));
|
||||
assertEquals(
|
||||
"birthdates are different",
|
||||
getProperty(msg, "birthdate"),
|
||||
"birthdates are different",
|
||||
getProperty(msg, "birthdate"),
|
||||
getProperty(msg2, "birthdate"));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,12 +43,12 @@ public class LoginIntegrationTest extends AbstractSmackLowLevelIntegrationTest {
|
|||
* Check that the server is returning the correct error when trying to login using an invalid
|
||||
* (i.e. non-existent) user.
|
||||
*
|
||||
* @throws InterruptedException
|
||||
* @throws XMPPException
|
||||
* @throws IOException
|
||||
* @throws SmackException
|
||||
* @throws NoSuchAlgorithmException
|
||||
* @throws KeyManagementException
|
||||
* @throws InterruptedException
|
||||
* @throws XMPPException
|
||||
* @throws IOException
|
||||
* @throws SmackException
|
||||
* @throws NoSuchAlgorithmException
|
||||
* @throws KeyManagementException
|
||||
*/
|
||||
@SmackIntegrationTest
|
||||
public void testInvalidLogin() throws SmackException, IOException, XMPPException,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue