chromium/components/metrics/psi_memory_parser_linux_unittest.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// Just as the kernel outputs.
const char kFileContents1[] =;

// Number of decimals not consistent, slightly malformed - but acceptable.
const char kFileContents2[] =;

}  // namespace

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) {}

}  // namespace metrics