mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
[hal] Remove HAL.h single header include (#8667)
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
// 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/hal/HAL.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
|
||||
namespace wpi::hal {
|
||||
TEST(HALTest, RuntimeType) {
|
||||
EXPECT_EQ(HAL_RuntimeType::HAL_Runtime_Simulation, HAL_GetRuntimeType());
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
HAL_Initialize(500, 0);
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/AnalogInput.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/DIO.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -5,11 +5,10 @@
|
||||
#include "wpi/hal/simulation/DriverStationData.h"
|
||||
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/DriverStation.h"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/CTREPCM.h"
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/simulation/CTREPCMData.h"
|
||||
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include "wpi/hal/HAL.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/PWM.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user