base_earl_grey_test_case_app_interface.h 867 B

1234567891011121314151617181920212223
  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 IOS_TESTING_EARL_GREY_BASE_EARL_GREY_TEST_CASE_APP_INTERFACE_H_
  5. #define IOS_TESTING_EARL_GREY_BASE_EARL_GREY_TEST_CASE_APP_INTERFACE_H_
  6. #import <Foundation/Foundation.h>
  7. // BaseEarlGreyTestCaseAppInterface contains helpers for BaseEarlGreyTestCase
  8. // that are compiled into the app binary and can be called from either app or
  9. // test code.
  10. @interface BaseEarlGreyTestCaseAppInterface : NSObject
  11. // Logs |message| from the app process (as opposed to the test process).
  12. + (void)logMessage:(NSString*)message;
  13. // Adjusts the speed property of CALayer to 100 to speed up XCUITests.
  14. + (void)enableFastAnimation;
  15. @end
  16. #endif // IOS_TESTING_EARL_GREY_BASE_EARL_GREY_TEST_CASE_APP_INTERFACE_H_