1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 17:19:39 +02:00

Bump errorprone to 2.2.0

This commit is contained in:
Florian Schmaus 2018-03-28 15:56:04 +02:00
parent 214218c49b
commit 3132d9a224
17 changed files with 59 additions and 87 deletions

View file

@ -18,20 +18,18 @@ package org.jivesoftware.smack;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.junit.Ignore;
import org.junit.Test;
public class SmackConfigurationTest {
/**
* Test is Smack is able to initialize itself without throwing a Throwable.
*/
@Test
public void testSmackConfiguration() {
try {
SmackConfiguration.getDefaultReplyTimeout();
} catch (Throwable t) {
fail("SmackConfiguration threw Throwable");
}
SmackConfiguration.getDefaultReplyTimeout();
}
// As there is currently no annotation/way to run a testclass/single test in a separate VM,