• Rohit Rao's avatar
    [ios] Adds startup code to EG2 test bundles. · 7c09e61b
    Rohit Rao authored
    Registers an NSPrincipalClass in the test bundle's Info.plist, which
    provides the name of a class that is automatically instantiated when the
    test bundle is loaded into the test runner process.  We can use this
    class, along with the XCTestObservation protocol, to run startup code
    before any tests are run.
    
    In this CL, we copy pak files into the test runner's bundle and
    initialize the ResourceBundle at startup, which allows EG2 tests to use
    string resources as needed.
    
    BUG=922813
    
    Change-Id: I348ed41be3939aea2a7525205969a538bbaaefa2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1618024
    Commit-Queue: Rohit Rao <rohitrao@chromium.org>
    Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#661032}
    7c09e61b
BUILD.gn 1.7 KB