1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26

base / test / perf_test_suite.h [blame]

// 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_