iwyu: //aos/time/...
The full include-list for aos/time/time.h:
<chrono> // for nanoseconds, duration, duration_cast, operator/, time_point, seconds
<ctime> // for timespec
<limits> // for numeric_limits
<optional> // for optional
<ostream> // for ostream
<string> // for string
<string_view> // for string_view
The full include-list for aos/time/time.cc:
"aos/time/time.h"
<ctype.h> // for isdigit
<errno.h> // for EINTR
<sys/time.h> // for timeval
<algorithm> // for all_of
<chrono> // for duration_cast, operator+, duration, operator-, nanoseconds, seconds, operator<=>, chrono, microseconds, time_point
<compare> // for operator<, strong_ordering
<cstdint> // for uintmax_t, int64_t
<ctime> // for timespec, clock_gettime, CLOCK_MONOTONIC, tm, clock_nanosleep, localtime_r, mktime, time_t, CLOCK_REALTIME, TIMER_ABSTIME
<iomanip> // for operator<<, setfill, setw, get_time, operator>>, put_time
<ratio> // for ratio
<sstream> // for basic_istream
"absl/strings/numbers.h" // for SimpleAtoi
"glog/logging.h" // for ErrnoLogMessage, PCHECK
The full include-list for aos/time/time.h:
<chrono> // for nanoseconds, duration, duration_cast, operator/, time_point, seconds
<ctime> // for timespec
<limits> // for numeric_limits
<optional> // for optional
<ostream> // for ostream
<string> // for string
<string_view> // for string_view
The full include-list for aos/time/time_test.cc:
"aos/time/time.h"
<sys/time.h> // for timeval
<memory> // for allocator
"gtest/gtest.h" // for Test, Message, TestPartResult, EXPECT_EQ, TestInfo, TEST, CmpHelperGE, CmpHelperLT, EXPECT_GE, EXPECT_LT
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I3896446a59e45a2ae9fb696c4ecd4d18f3080dbe
diff --git a/aos/time/time_test.cc b/aos/time/time_test.cc
index 97116b0..eb97859 100644
--- a/aos/time/time_test.cc
+++ b/aos/time/time_test.cc
@@ -1,13 +1,11 @@
#include "aos/time/time.h"
-#include <thread>
+#include <sys/time.h>
-#include "glog/logging.h"
+#include <memory>
+
#include "gtest/gtest.h"
-#include "aos/macros.h"
-#include "aos/util/death_test_log_implementation.h"
-
namespace aos::time::testing {
namespace chrono = std::chrono;