google_test_runner_delegate.h 617 B

12345678910111213141516171819
  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. #ifndef BASE_TEST_IOS_GOOGLE_TEST_RUNNER_DELEGATE_H_
  5. #define BASE_TEST_IOS_GOOGLE_TEST_RUNNER_DELEGATE_H_
  6. @protocol GoogleTestRunnerDelegate
  7. // Returns YES if this delegate supports running GoogleTests via a call to
  8. // |runGoogleTests|.
  9. @property(nonatomic, readonly, assign) BOOL supportsRunningGoogleTests;
  10. // Runs GoogleTests and returns the final exit code.
  11. - (int)runGoogleTests;
  12. @end
  13. #endif // BASE_TEST_IOS_GOOGLE_TEST_RUNNER_DELEGATE_H_