xref: /aosp_15_r20/external/cronet/base/test/perf_test_suite.h (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright 2011 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef BASE_TEST_PERF_TEST_SUITE_H_
6 #define BASE_TEST_PERF_TEST_SUITE_H_
7 
8 #include "base/test/test_suite.h"
9 
10 namespace base {
11 
12 class PerfTestSuite : public TestSuite {
13  public:
14   PerfTestSuite(int argc, char** argv);
15 
16   // TODO(crbug.com/40251982): Port all perf tests to Google Benchmark and
17   // eliminate gTest dependence from perf tests.
18   void Initialize() override;
19   void InitializeFromCommandLine(int* argc, char** argv) override;
20   int RunAllTests() override;
21   void Shutdown() override;
22 };
23 
24 }  // namespace base
25 
26 #endif  // BASE_TEST_PERF_TEST_SUITE_H_
27