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

@@ -11,6 +11,7 @@ import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertTrue;
class ConditionalCommandTest extends AbstractCommandTest {
@@ -75,7 +76,7 @@ class ConditionalCommandTest extends AbstractCommandTest {
assertConditionalCommandState(m_command, 1, 5, 5, 1, 0);
assertTrue(m_onTrue.getInitializeCount() > 0, "Did not initialize the true command");
assertTrue(m_onFalse.getInitializeCount() == 0, "Initialized the false command");
assertSame(m_onFalse.getInitializeCount(), 0, "Initialized the false command");
}
@Test
@@ -113,7 +114,7 @@ class ConditionalCommandTest extends AbstractCommandTest {
assertConditionalCommandState(m_command, 1, 5, 5, 1, 0);
assertTrue(m_onFalse.getInitializeCount() > 0, "Did not initialize the false command");
assertTrue(m_onTrue.getInitializeCount() == 0, "Initialized the true command");
assertSame(m_onTrue.getInitializeCount(), 0, "Initialized the true command");
}
@Test