Include thirdparty libraries with angle brackets (#5578)

This commit is contained in:
Tyler Veness
2023-08-28 15:13:34 -07:00
committed by GitHub
parent e322ab8e46
commit 8e2a7fd306
329 changed files with 559 additions and 435 deletions

View File

@@ -5,11 +5,11 @@
#include <chrono>
#include <thread>
#include <gtest/gtest.h>
#include <wpi/Synchronization.h>
#include <wpi/mutex.h>
#include "TestPrinters.h"
#include "gtest/gtest.h"
#include "ntcore_cpp.h"
class ConnectionListenerTest : public ::testing::Test {

View File

@@ -2,6 +2,8 @@
// 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 <gtest/gtest.h>
#include "LocalStorage.h"
#include "MockListenerStorage.h"
#include "MockLogger.h"
@@ -10,7 +12,6 @@
#include "TestPrinters.h"
#include "ValueMatcher.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "net/MockNetworkInterface.h"
#include "ntcore_c.h"
#include "ntcore_cpp.h"

View File

@@ -2,11 +2,11 @@
// 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 <gtest/gtest.h>
#include <wpi/Synchronization.h>
#include "Handle.h"
#include "TestPrinters.h"
#include "gtest/gtest.h"
#include "ntcore_cpp.h"
class LoggerTest : public ::testing::Test {

View File

@@ -2,8 +2,9 @@
// 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 <gtest/gtest.h>
#include "TestPrinters.h"
#include "gtest/gtest.h"
#include "networktables/NetworkTable.h"
#include "networktables/NetworkTableInstance.h"

View File

@@ -4,9 +4,10 @@
#include <memory>
#include <gtest/gtest.h>
#include "TestPrinters.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "networktables/DoubleTopic.h"
#include "networktables/NetworkTableInstance.h"
#include "ntcore_cpp.h"

View File

@@ -9,7 +9,7 @@
#include <string>
#include <string_view>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
namespace wpi {

View File

@@ -2,7 +2,8 @@
// 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 "gtest/gtest.h"
#include <gtest/gtest.h>
#include "networktables/NetworkTableInstance.h"
#include "networktables/NetworkTableListener.h"

View File

@@ -5,12 +5,12 @@
#include <chrono>
#include <thread>
#include <gtest/gtest.h>
#include <wpi/Synchronization.h>
#include <wpi/json.h>
#include "TestPrinters.h"
#include "ValueMatcher.h"
#include "gtest/gtest.h"
#include "ntcore_c.h"
#include "ntcore_cpp.h"

View File

@@ -2,12 +2,12 @@
// 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 <gtest/gtest.h>
#include <wpi/StringExtras.h>
#include <wpi/Synchronization.h>
#include "TestPrinters.h"
#include "ValueMatcher.h"
#include "gtest/gtest.h"
#include "ntcore_c.h"
#include "ntcore_cpp.h"

View File

@@ -5,9 +5,10 @@
#include <algorithm>
#include <string_view>
#include <gtest/gtest.h>
#include "TestPrinters.h"
#include "Value_internal.h"
#include "gtest/gtest.h"
#include "networktables/NetworkTableValue.h"
using namespace std::string_view_literals;

View File

@@ -9,6 +9,8 @@
#include <string_view>
#include <vector>
#include <gtest/gtest.h>
#include "../MockLogger.h"
#include "../PubSubOptionsMatcher.h"
#include "../SpanMatcher.h"
@@ -18,7 +20,6 @@
#include "MockNetworkInterface.h"
#include "MockWireConnection.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "net/Message.h"
#include "net/ServerImpl.h"
#include "net/WireEncoder.h"

View File

@@ -2,6 +2,7 @@
// 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 <gtest/gtest.h>
#include <wpi/SmallString.h>
#include <wpi/raw_ostream.h>
@@ -9,7 +10,6 @@
#include "../TestPrinters.h"
#include "Handle.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "net/Message.h"
#include "net/WireDecoder.h"
#include "networktables/NetworkTableValue.h"

View File

@@ -7,6 +7,7 @@
#include <string_view>
#include <vector>
#include <gtest/gtest.h>
#include <wpi/json.h>
#include <wpi/raw_ostream.h>
@@ -15,7 +16,6 @@
#include "Handle.h"
#include "PubSubOptions.h"
#include "gmock/gmock-matchers.h"
#include "gtest/gtest.h"
#include "net/Message.h"
#include "net/WireEncoder.h"
#include "networktables/NetworkTableValue.h"

View File

@@ -9,11 +9,12 @@
#include <string>
#include <string_view>
#include <gtest/gtest.h>
#include "../SpanMatcher.h"
#include "../TestPrinters.h"
#include "../ValueMatcher.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "net3/WireDecoder3.h"
#include "networktables/NetworkTableValue.h"

View File

@@ -8,11 +8,11 @@
#include <string_view>
#include <vector>
#include <gtest/gtest.h>
#include <wpi/raw_ostream.h>
#include "../SpanMatcher.h"
#include "../TestPrinters.h"
#include "gtest/gtest.h"
#include "net3/Message3.h"
#include "net3/WireEncoder3.h"
#include "networktables/NetworkTableValue.h"