#include "components/heap_profiling/in_process/heap_profiler_parameters.h"
#include "base/command_line.h"
#include "base/profiler/process_type.h"
#include "base/test/scoped_feature_list.h"
#include "base/time/time.h"
#include "components/variations/variations_switches.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace heap_profiling {
namespace {
AllOf;
Field;
auto MatchesParameters(const HeapProfilerParameters& expected) { … }
TEST(HeapProfilerParametersTest, ParseEmptyParameters) { … }
TEST(HeapProfilerParametersTest, ParseParameters) { … }
TEST(HeapProfilerParametersTest, ParsePartialParameters) { … }
TEST(HeapProfilerParametersTest, ParseInvalidParameters) { … }
TEST(HeapProfilerParametersTest, EnableBenchmarking) { … }
TEST(HeapProfilerParametersTest, ApplyParameters) { … }
TEST(HeapProfilerParametersTest, ApplyInvalidParameters) { … }
}
}