ozone_integration_tests_main.cc 602 B

1234567891011121314151617
  1. // Copyright 2022 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/test/launcher/unit_test_launcher.h"
  5. #include "base/test/test_suite.h"
  6. #include "mojo/core/embedder/configuration.h"
  7. #include "mojo/core/embedder/embedder.h"
  8. int main(int argc, char** argv) {
  9. base::TestSuite test_suite(argc, argv);
  10. mojo::core::Init(mojo::core::Configuration());
  11. return base::LaunchUnitTestsSerially(
  12. argc, argv,
  13. base::BindOnce(&base::TestSuite::Run, base::Unretained(&test_suite)));
  14. }