#include "components/metrics/psi_memory_parser.h"
#include <memory>
#include "base/files/file_util.h"
#include "base/metrics/statistics_recorder.h"
#include "base/test/metrics/histogram_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace metrics {
namespace {
const char kFileContents1[] = …;
const char kFileContents2[] = …;
}
class PSIMemoryParserTest : public testing::Test { … };
TEST_F(PSIMemoryParserTest, CustomInterval) { … }
TEST_F(PSIMemoryParserTest, InvalidInterval) { … }
TEST_F(PSIMemoryParserTest, InternalsA) { … }
TEST_F(PSIMemoryParserTest, InternalsB) { … }
TEST_F(PSIMemoryParserTest, InternalsC) { … }
TEST_F(PSIMemoryParserTest, InternalsD) { … }
TEST_F(PSIMemoryParserTest, InternalsE) { … }
TEST_F(PSIMemoryParserTest, ParseResultCounter) { … }
}