#include "components/memory_pressure/memory_pressure_level_reporter.h"
#include <memory>
#include "base/test/metrics/histogram_tester.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace memory_pressure {
TEST(MemoryPressureLevelReporterTest, PressureWindowDuration) { … }
TEST(MemoryPressureLevelReporterTest, MemoryPressureHistogram) { … }
TEST(MemoryPressureLevelReporterTest, MemoryPressureHistogramAccumulatedTime) { … }
TEST(MemoryPressureLevelReporterTest,
MemoryPressureHistogramPeriodicReporting) { … }
}