run_all_unittests.cc 480 B

1234567891011121314
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "base/bind.h"
  5. #include "base/test/launcher/unit_test_launcher.h"
  6. #include "base/test/test_suite.h"
  7. int main(int argc, char* argv[]) {
  8. base::TestSuite test_suite(argc, argv);
  9. return base::LaunchUnitTests(
  10. argc, argv,
  11. base::BindOnce(&base::TestSuite::Run, base::Unretained(&test_suite)));
  12. }