#include "third_party/blink/renderer/platform/scheduler/common/thread_load_tracker.h"
#include "base/functional/bind.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
ElementsAre;
namespace blink {
namespace scheduler {
namespace {
void AddToVector(Vector<std::pair<base::TimeTicks, double>>* vector,
base::TimeTicks time,
double load) { … }
base::TimeTicks SecondsToTime(int seconds) { … }
base::TimeTicks MillisecondsToTime(int milliseconds) { … }
}
TEST(ThreadLoadTrackerTest, RecordTasks) { … }
TEST(ThreadLoadTrackerTest, PauseAndResume) { … }
TEST(ThreadLoadTrackerTest, DisabledByDefault) { … }
TEST(ThreadLoadTrackerTest, Reset) { … }
}
}