#include "components/memory_pressure/system_memory_pressure_evaluator_linux.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "build/build_config.h"
#include "components/memory_pressure/multi_source_memory_pressure_monitor.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace memory_pressure {
namespace os_linux {
namespace {
struct PressureSettings { … };
}
class TestSystemMemoryPressureEvaluator : public SystemMemoryPressureEvaluator { … };
class LinuxSystemMemoryPressureEvaluatorTest : public testing::Test { … };
TEST_F(LinuxSystemMemoryPressureEvaluatorTest,
CalculateCurrentMemoryPressureLevelCustom) { … }
TEST_F(LinuxSystemMemoryPressureEvaluatorTest, CheckMemoryPressure) { … }
}
}