SCRIPT Run cc include replacements

This commit is contained in:
PJ Reiniger
2025-11-07 19:56:21 -05:00
committed by Peter Johnson
parent f0a3c64121
commit 7c6efa41ae
2477 changed files with 8882 additions and 8882 deletions

View File

@@ -5,18 +5,18 @@
#include <string>
#include <thread>
#include <frc/Preferences.h>
#include <frc/simulation/DriverStationSim.h>
#include <frc/simulation/JoystickSim.h>
#include <frc/simulation/PWMMotorControllerSim.h>
#include <frc/simulation/SimHooks.h>
#include "wpi/util/Preferences.hpp"
#include "wpi/simulation/DriverStationSim.hpp"
#include "wpi/simulation/JoystickSim.hpp"
#include "wpi/simulation/PWMMotorControllerSim.hpp"
#include "wpi/simulation/SimHooks.hpp"
#include <gtest/gtest.h>
#include <hal/simulation/MockHooks.h>
#include <units/length.h>
#include <units/time.h>
#include "wpi/hal/simulation/MockHooks.h"
#include "wpi/units/length.hpp"
#include "wpi/units/time.hpp"
#include "Constants.h"
#include "Robot.h"
#include "Constants.hpp"
#include "Robot.hpp"
class ArmSimulationTest : public testing::TestWithParam<units::degree_t> {
Robot m_robot;

View File

@@ -3,7 +3,7 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include <hal/HALBase.h>
#include "wpi/hal/HALBase.h"
/**
* Runs all unit tests.

View File

@@ -5,13 +5,13 @@
#include <string>
#include <thread>
#include <frc/simulation/DIOSim.h>
#include <frc/simulation/DriverStationSim.h>
#include <frc/simulation/SimHooks.h>
#include "wpi/simulation/DIOSim.hpp"
#include "wpi/simulation/DriverStationSim.hpp"
#include "wpi/simulation/SimHooks.hpp"
#include <gtest/gtest.h>
#include <units/time.h>
#include "wpi/units/time.hpp"
#include "Robot.h"
#include "Robot.hpp"
template <typename T>
class DigitalCommunicationTest : public testing::TestWithParam<T> {

View File

@@ -3,7 +3,7 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include <hal/HALBase.h>
#include "wpi/hal/HALBase.h"
/**
* Runs all unit tests.

View File

@@ -5,18 +5,18 @@
#include <string>
#include <thread>
#include <frc/simulation/DriverStationSim.h>
#include <frc/simulation/JoystickSim.h>
#include <frc/simulation/PWMMotorControllerSim.h>
#include <frc/simulation/SimHooks.h>
#include "wpi/simulation/DriverStationSim.hpp"
#include "wpi/simulation/JoystickSim.hpp"
#include "wpi/simulation/PWMMotorControllerSim.hpp"
#include "wpi/simulation/SimHooks.hpp"
#include <gtest/gtest.h>
#include <hal/simulation/MockHooks.h>
#include <units/length.h>
#include <units/mass.h>
#include <units/time.h>
#include "wpi/hal/simulation/MockHooks.h"
#include "wpi/units/length.hpp"
#include "wpi/units/mass.hpp"
#include "wpi/units/time.hpp"
#include "Constants.h"
#include "Robot.h"
#include "Constants.hpp"
#include "Robot.hpp"
using namespace Constants;

View File

@@ -3,7 +3,7 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include <hal/HALBase.h>
#include "wpi/hal/HALBase.h"
/**
* Runs all unit tests.

View File

@@ -5,13 +5,13 @@
#include <string>
#include <thread>
#include <frc/simulation/DriverStationSim.h>
#include <frc/simulation/SimHooks.h>
#include "wpi/simulation/DriverStationSim.hpp"
#include "wpi/simulation/SimHooks.hpp"
#include <gtest/gtest.h>
#include <hal/simulation/I2CData.h>
#include <units/time.h>
#include "wpi/hal/simulation/I2CData.h"
#include "wpi/units/time.hpp"
#include "Robot.h"
#include "Robot.hpp"
static std::string gString;

View File

@@ -3,7 +3,7 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include <hal/HALBase.h>
#include "wpi/hal/HALBase.h"
/**
* Runs all unit tests.

View File

@@ -5,21 +5,21 @@
#include <string>
#include <thread>
#include <frc/RobotController.h>
#include <frc/simulation/AnalogInputSim.h>
#include <frc/simulation/DriverStationSim.h>
#include <frc/simulation/ElevatorSim.h>
#include <frc/simulation/JoystickSim.h>
#include <frc/simulation/PWMMotorControllerSim.h>
#include <frc/simulation/SimHooks.h>
#include <frc/system/plant/DCMotor.h>
#include "wpi/system/RobotController.hpp"
#include "wpi/simulation/AnalogInputSim.hpp"
#include "wpi/simulation/DriverStationSim.hpp"
#include "wpi/simulation/ElevatorSim.hpp"
#include "wpi/simulation/JoystickSim.hpp"
#include "wpi/simulation/PWMMotorControllerSim.hpp"
#include "wpi/simulation/SimHooks.hpp"
#include "wpi/math/system/plant/DCMotor.hpp"
#include <gtest/gtest.h>
#include <hal/simulation/MockHooks.h>
#include <units/length.h>
#include <units/mass.h>
#include <units/time.h>
#include "wpi/hal/simulation/MockHooks.h"
#include "wpi/units/length.hpp"
#include "wpi/units/mass.hpp"
#include "wpi/units/time.hpp"
#include "Robot.h"
#include "Robot.hpp"
class PotentiometerPIDTest : public testing::Test {
frc::DCMotor m_elevatorGearbox = frc::DCMotor::Vex775Pro(4);

View File

@@ -3,7 +3,7 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include <hal/HALBase.h>
#include "wpi/hal/HALBase.h"
/**
* Runs all unit tests.

View File

@@ -3,7 +3,7 @@
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include <hal/HALBase.h>
#include "wpi/hal/HALBase.h"
/**
* Runs all unit tests.

View File

@@ -2,13 +2,13 @@
// 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 <frc/DoubleSolenoid.h>
#include <frc/simulation/DoubleSolenoidSim.h>
#include <frc/simulation/PWMMotorControllerSim.h>
#include "wpi/hardware/pneumatic/DoubleSolenoid.hpp"
#include "wpi/simulation/DoubleSolenoidSim.hpp"
#include "wpi/simulation/PWMMotorControllerSim.hpp"
#include <gtest/gtest.h>
#include "Constants.h"
#include "subsystems/Intake.h"
#include "Constants.hpp"
#include "subsystems/Intake.hpp"
class IntakeTest : public testing::Test {
protected: