- Make run.py's docstring match what currently works (i.e. no
xcodebuild/ intermediate directory, pass --iossim).
- In the main testing.md document, point to the run_<foo> wrapper script
and given an example. The previous instructions from 2017 said one
just needed to run the unit tests directly, which is not true.
Change-Id: I8babef7dc0ed87b316b22bba8fb7b4ae6a037dd3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6185886
Commit-Queue: Yue She <yueshe@google.com>
Auto-Submit: Raphael Kubo da Costa <kubo@igalia.com>
Reviewed-by: Yue She <yueshe@google.com>
Cr-Commit-Position: refs/heads/main@{#1408985}
Earl Grey has changed the file name of a file we widely import across the codebase. To prepare for that roll of EG2 ios/testing/earl_grey/earl_grey_test.h will be used as an umbrella header for the EG2 test support library within ios code. ios/testing/earl_grey/earl_grey_test.h will import the EG2 test's umbrella header.
Dependencies on "//ios/third_party/earl_grey2:test_lib" are replaced with "//ios/testing/earl_grey:eg_test_support+eg2" if that dependency is not already present.
Bug: 1420367
Change-Id: I1fd8fbc49d4a2aeb36fe504a23701376662f28b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4303486
Reviewed-by: Lindsay Pasricha <lindsayw@chromium.org>
Commit-Queue: Cameron Higgins <cameronhiggins@google.com>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1120040}
Test modules needs to have a stub version of the interface class
available to satisfy the linker. This stub is declared with the
macro GREY_STUB_CLASS_IN_APP_MAIN_QUEUE.
Xcode code completion is broken if the macro is not followed by
a semi-colon, but clang complains about trailing semi-colon in a
place where it is not required.
To bypass this issue, for each foo_interface.h file, create a
foo_interface_stub.mm file containing just the macro call. It
also avoid putting the stub declaration in a random source file.
Fix some naming inconsistency in file/target names.
Bug: 1015113
Change-Id: I6596575e8b7f8c0fac42fc8aace1568cecd69dd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3222908
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Ewann Pellé <ewannpv@chromium.org>
Reviewed-by: Ewann Pellé <ewannpv@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931916}
Create documentation on how to run different iOS test suites.
TBR: huangml
Bug: 769753
Change-Id: I1e63c6c603a10389ccc89050b01e075fd08e39ae
Reviewed-on: https://chromium-review.googlesource.com/772784
Reviewed-by: Mike Baxley <baxley@chromium.org>
Commit-Queue: Mike Baxley <baxley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517095}