naiveproxy/src/base/test/perf_test_suite.h
2024-10-06 12:16:12 +08:00

27 lines
708 B
C++

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_TEST_PERF_TEST_SUITE_H_
#define BASE_TEST_PERF_TEST_SUITE_H_
#include "base/test/test_suite.h"
namespace base {
class PerfTestSuite : public TestSuite {
public:
PerfTestSuite(int argc, char** argv);
// TODO(crbug.com/40251982): Port all perf tests to Google Benchmark and
// eliminate gTest dependence from perf tests.
void Initialize() override;
void InitializeFromCommandLine(int* argc, char** argv) override;
int RunAllTests() override;
void Shutdown() override;
};
} // namespace base
#endif // BASE_TEST_PERF_TEST_SUITE_H_