Clean up unused includes (#8950)

This commit is contained in:
Gold856
2026-06-10 01:16:26 -04:00
committed by GitHub
parent 72d85be0c2
commit 3f966aa7c6
114 changed files with 18 additions and 204 deletions

View File

@@ -8,10 +8,8 @@
#include "CommandTestBase.hpp"
#include "wpi/commands2/CommandScheduler.hpp"
#include "wpi/commands2/RunCommand.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "wpi/driverstation/Joystick.hpp"
#include "wpi/driverstation/internal/DriverStationBackend.hpp"
#include "wpi/simulation/JoystickSim.hpp"
using namespace wpi::cmd;

View File

@@ -9,8 +9,7 @@
#include "CommandTestBase.hpp"
#include "CompositionTestBase.hpp"
#include "wpi/commands2/InstantCommand.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "wpi/commands2/Commands.hpp"
using namespace wpi::cmd;
class ParallelCommandGroupTest : public CommandTestBase {};

View File

@@ -9,9 +9,7 @@
#include "CommandTestBase.hpp"
#include "CompositionTestBase.hpp"
#include "wpi/commands2/InstantCommand.hpp"
#include "wpi/commands2/SequentialCommandGroup.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "wpi/commands2/Commands.hpp"
using namespace wpi::cmd;
class ParallelRaceGroupTest : public CommandTestBase {};

View File

@@ -4,8 +4,6 @@
#include "wpi/commands2/ProxyCommand.hpp"
#include <memory>
#include "CommandTestBase.hpp"
#include "wpi/commands2/CommandPtr.hpp"
#include "wpi/commands2/Commands.hpp"

View File

@@ -2,8 +2,6 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "wpi/commands2/RunCommand.hpp"
#include "CommandTestBase.hpp"
#include "wpi/commands2/Commands.hpp"

View File

@@ -7,8 +7,6 @@
#include "CommandTestBase.hpp"
#include "wpi/commands2/Commands.hpp"
#include "wpi/commands2/InstantCommand.hpp"
#include "wpi/commands2/RunCommand.hpp"
#include "wpi/commands2/StartEndCommand.hpp"
using namespace wpi::cmd;
class SchedulerTest : public CommandTestBase {};

View File

@@ -10,7 +10,6 @@
#include "CommandTestBase.hpp"
#include "CompositionTestBase.hpp"
#include "wpi/commands2/InstantCommand.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
using namespace wpi::cmd;
class SequentialCommandGroupTest : public CommandTestBase {};

View File

@@ -2,8 +2,6 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "wpi/commands2/StartEndCommand.hpp"
#include "CommandTestBase.hpp"
#include "wpi/commands2/Commands.hpp"

View File

@@ -6,7 +6,6 @@
#include "CommandTestBase.hpp"
#include "wpi/commands2/Commands.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "wpi/simulation/SimHooks.hpp"
using namespace wpi::cmd;

View File

@@ -2,8 +2,6 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "CommandTestBase.hpp"
#include "wpi/commands2/Commands.hpp"

View File

@@ -8,7 +8,6 @@
#include "../CommandTestBase.hpp"
#include "wpi/commands2/CommandScheduler.hpp"
#include "wpi/commands2/RunCommand.hpp"
#include "wpi/commands2/WaitUntilCommand.hpp"
#include "wpi/nt/NetworkTableInstance.hpp"

View File

@@ -6,7 +6,6 @@
#include "../CommandTestBase.hpp"
#include "wpi/commands2/button/Trigger.hpp"
#include "wpi/driverstation/internal/DriverStationBackend.hpp"
#include "wpi/hal/DriverStationTypes.h"
#include "wpi/simulation/DriverStationSim.hpp"