Update to 2019 RoboRIO and 2019 v4 image (#1352)

Also make updates for Java 11:
* Disable errorprone plugin (currently broken on Java 11)
* Update checkstyle to 8.12
* Update pmd to 6.7.0
This commit is contained in:
Thad House
2018-10-07 18:11:57 -07:00
committed by Peter Johnson
parent 88b93c220e
commit b9fa3a4398
10 changed files with 22 additions and 21 deletions

View File

@@ -19,6 +19,7 @@ import org.junit.jupiter.api.condition.OS;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertNotSame;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
@@ -65,9 +66,9 @@ class ConnectionListenerTest {
void testJNI() {
// set up the poller
int poller = NetworkTablesJNI.createConnectionListenerPoller(m_serverInst.getHandle());
assertTrue(poller != 0, "bad poller handle");
assertNotSame(poller, 0, "bad poller handle");
int handle = NetworkTablesJNI.addPolledConnectionListener(poller, false);
assertTrue(handle != 0, "bad listener handle");
assertNotSame(handle, 0, "bad listener handle");
// trigger a connect event
connect();