mojo_core_unittest.h 783 B

123456789101112131415161718192021
  1. // Copyright 2020 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. #ifndef MOJO_CORE_MOJO_CORE_UNITTEST_H_
  5. #define MOJO_CORE_MOJO_CORE_UNITTEST_H_
  6. namespace switches {
  7. // Instructs the test runner to initialize the Mojo Core library in separate
  8. // phases. Used by a unit test when launching a subprocess, to verify the
  9. // correctness of phased initialization.
  10. extern const char kMojoLoadBeforeInit[];
  11. // Instructs the test runner to provide an explicit path to the Mojo Core shared
  12. // library, rather than assuming it's present in the current working directory.
  13. extern const char kMojoUseExplicitLibraryPath[];
  14. } // namespace switches
  15. #endif // MOJO_CORE_MOJO_CORE_UNITTEST_H_