SCRIPT: Spotless Apply

This commit is contained in:
PJ Reiniger
2025-11-07 19:57:21 -05:00
committed by Peter Johnson
parent c89910b7c6
commit c48b722dac
650 changed files with 1529 additions and 1545 deletions

View File

@@ -7,11 +7,11 @@ package org.wpilib.driverstation;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.params.provider.Arguments.arguments;
import org.wpilib.simulation.DriverStationSim;
import java.util.stream.Stream;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import org.wpilib.simulation.DriverStationSim;
class DriverStationTest {
@ParameterizedTest

View File

@@ -6,9 +6,9 @@ package org.wpilib.driverstation;
import static org.junit.jupiter.api.Assertions.assertEquals;
import org.junit.jupiter.api.Test;
import org.wpilib.driverstation.GenericHID.RumbleType;
import org.wpilib.simulation.GenericHIDSim;
import org.junit.jupiter.api.Test;
class GenericHIDTest {
private static final double kEpsilon = 0.0001;

View File

@@ -8,9 +8,9 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.junit.jupiter.api.Test;
import org.wpilib.hardware.hal.HAL;
import org.wpilib.simulation.JoystickSim;
import org.junit.jupiter.api.Test;
class JoystickTest {
@Test

View File

@@ -8,12 +8,12 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.wpilib.hardware.hal.HAL;
import org.wpilib.simulation.PS4ControllerSim;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
import org.wpilib.hardware.hal.HAL;
import org.wpilib.simulation.PS4ControllerSim;
class PS4ControllerTest {
@ParameterizedTest

View File

@@ -8,12 +8,12 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.wpilib.hardware.hal.HAL;
import org.wpilib.simulation.PS5ControllerSim;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
import org.wpilib.hardware.hal.HAL;
import org.wpilib.simulation.PS5ControllerSim;
class PS5ControllerTest {
@ParameterizedTest

View File

@@ -8,12 +8,12 @@ import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
import org.wpilib.hardware.hal.HAL;
import org.wpilib.simulation.XboxControllerSim;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.EnumSource;
import org.wpilib.hardware.hal.HAL;
import org.wpilib.simulation.XboxControllerSim;
class XboxControllerTest {
@ParameterizedTest