mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[build] Upgrade to spotbugs Gradle plugin 5.0.8 (#4310)
This fixes a SecurityManager deprecation warning generated by spotbugs.
This commit is contained in:
@@ -52,7 +52,7 @@ public abstract class AbstractInterruptTest extends AbstractComsSetup {
|
||||
abstract void setInterruptLow();
|
||||
|
||||
@Test(timeout = 1000)
|
||||
public void testSingleInterruptsTriggering() throws Exception {
|
||||
public void testSingleInterruptsTriggering() {
|
||||
// Given
|
||||
// final InterruptCounter counter = new InterruptCounter();
|
||||
// TestInterruptHandlerFunction function = new
|
||||
|
||||
@@ -70,7 +70,7 @@ public class PCMTest extends AbstractComsSetup {
|
||||
|
||||
/** Test if the compressor turns on and off when the pressure switch is toggled. */
|
||||
@Test
|
||||
public void testPressureSwitch() throws Exception {
|
||||
public void testPressureSwitch() {
|
||||
final double range = 0.5;
|
||||
reset();
|
||||
pcm.enableCompressorDigital();
|
||||
@@ -96,7 +96,7 @@ public class PCMTest extends AbstractComsSetup {
|
||||
|
||||
/** Test if the correct solenoids turn on and off when they should. */
|
||||
@Test
|
||||
public void testSolenoid() throws Exception {
|
||||
public void testSolenoid() {
|
||||
reset();
|
||||
|
||||
Solenoid solenoid1 = new Solenoid(PneumaticsModuleType.CTREPCM, 0);
|
||||
@@ -174,7 +174,7 @@ public class PCMTest extends AbstractComsSetup {
|
||||
|
||||
/** Test if the correct solenoids turn on and off when they should. */
|
||||
@Test
|
||||
public void testOneShot() throws Exception {
|
||||
public void testOneShot() {
|
||||
reset();
|
||||
|
||||
Solenoid solenoid1 = new Solenoid(PneumaticsModuleType.CTREPCM, 0);
|
||||
|
||||
Reference in New Issue
Block a user