Remove some unused references to deprecated infrastructure
I was hoping to remove the infrastructure real quick, but turns out
there are still some valid references to it.
Change-Id: I328b5bfe738aac92945d83227941abaa9b6daeec
diff --git a/aos/actions/BUILD b/aos/actions/BUILD
index 7898353..0cc5e12 100644
--- a/aos/actions/BUILD
+++ b/aos/actions/BUILD
@@ -74,7 +74,6 @@
"//aos/events:simulated_event_loop",
"//aos/logging",
"//aos/testing:googletest",
- "//aos/testing:test_shm",
"//aos/time",
],
)
diff --git a/aos/actions/action_test.cc b/aos/actions/action_test.cc
index 124b3e4..565bf11 100644
--- a/aos/actions/action_test.cc
+++ b/aos/actions/action_test.cc
@@ -11,8 +11,6 @@
#include "aos/actions/actor.h"
#include "aos/actions/test_action_generated.h"
#include "aos/events/simulated_event_loop.h"
-#include "aos/testing/test_logging.h"
-#include "aos/testing/test_shm.h"
namespace aos {
namespace common {
@@ -104,9 +102,7 @@
event_loop_factory_(&configuration_.message()),
actor1_event_loop_(event_loop_factory_.MakeEventLoop("actor1")),
actor2_event_loop_(event_loop_factory_.MakeEventLoop("actor2")),
- test_event_loop_(event_loop_factory_.MakeEventLoop("test")) {
- ::aos::testing::EnableTestLogging();
- }
+ test_event_loop_(event_loop_factory_.MakeEventLoop("test")) {}
void RunAt(monotonic_clock::time_point exec_time, std::function<void()> fn) {
TimerHandler *timer = test_event_loop_->AddTimer(fn);
diff --git a/frc971/control_loops/voltage_cap/BUILD b/frc971/control_loops/voltage_cap/BUILD
index 1bf2b8d..6b91953 100644
--- a/frc971/control_loops/voltage_cap/BUILD
+++ b/frc971/control_loops/voltage_cap/BUILD
@@ -20,6 +20,5 @@
deps = [
":voltage_cap",
"//aos/testing:googletest",
- "//aos/testing:test_shm",
],
)
diff --git a/frc971/control_loops/voltage_cap/voltage_cap_test.cc b/frc971/control_loops/voltage_cap/voltage_cap_test.cc
index 73898f9..4eab267 100644
--- a/frc971/control_loops/voltage_cap/voltage_cap_test.cc
+++ b/frc971/control_loops/voltage_cap/voltage_cap_test.cc
@@ -4,17 +4,11 @@
#include "gtest/gtest.h"
-#include "aos/testing/test_shm.h"
-
namespace frc971 {
namespace control_loops {
namespace testing {
-class VoltageTest : public ::testing::Test {
- protected:
- // Bring up and down Core.
- ::aos::testing::TestSharedMemory my_shm_;
-};
+class VoltageTest : public ::testing::Test {};
// Tests that voltage inputs return the same if inside the box.
TEST_F(VoltageTest, BasicVoltage12) {
diff --git a/frc971/zeroing/BUILD b/frc971/zeroing/BUILD
index cd90e8d..9ec2772 100644
--- a/frc971/zeroing/BUILD
+++ b/frc971/zeroing/BUILD
@@ -103,7 +103,6 @@
deps = [
":zeroing",
"//aos/testing:googletest",
- "//aos/testing:test_shm",
"//frc971/control_loops:control_loops_fbs",
"//frc971/control_loops:position_sensor_sim",
],
diff --git a/y2017/control_loops/superstructure/column/BUILD b/y2017/control_loops/superstructure/column/BUILD
index e59d1e6..498579e 100644
--- a/y2017/control_loops/superstructure/column/BUILD
+++ b/y2017/control_loops/superstructure/column/BUILD
@@ -86,7 +86,6 @@
target_compatible_with = ["@platforms//os:linux"],
deps = [
":column_zeroing",
- "//aos/testing:test_shm",
"//frc971/control_loops:position_sensor_sim",
"//frc971/control_loops:team_number_test_environment",
"//y2017:constants",
diff --git a/y2017/control_loops/superstructure/column/column_zeroing_test.cc b/y2017/control_loops/superstructure/column/column_zeroing_test.cc
index dab5139..af0eb15 100644
--- a/y2017/control_loops/superstructure/column/column_zeroing_test.cc
+++ b/y2017/control_loops/superstructure/column/column_zeroing_test.cc
@@ -5,7 +5,6 @@
#include "aos/die.h"
#include "aos/flatbuffers.h"
#include "aos/json_to_flatbuffer.h"
-#include "aos/testing/test_shm.h"
#include "frc971/control_loops/position_sensor_sim.h"
#include "frc971/control_loops/team_number_test_environment.h"
#include "frc971/zeroing/zeroing.h"
@@ -32,8 +31,6 @@
protected:
void SetUp() override { aos::SetDieTestMode(true); }
- // Initializes logging and provides a tmp shmem.
- ::aos::testing::TestSharedMemory my_shm_;
PositionSensorSimulator indexer_sensor_;
PositionSensorSimulator turret_sensor_;
diff --git a/y2019/control_loops/drivetrain/BUILD b/y2019/control_loops/drivetrain/BUILD
index 78c602e..ed6d832 100644
--- a/y2019/control_loops/drivetrain/BUILD
+++ b/y2019/control_loops/drivetrain/BUILD
@@ -142,7 +142,6 @@
":target_selector",
"//aos/events:simulated_event_loop",
"//aos/testing:googletest",
- "//aos/testing:test_shm",
],
)