summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-05-15 16:53:41 +0100
committerDavid Brazdil <dbrazdil@google.com>2018-05-16 11:05:03 +0100
commit3ab5b05e0ed1a15656188c0fc4555d35cd32d669 (patch)
tree8313fec5c304a80d9e63c219330689f1d5aabeb8 /test/ProfileTestMultiDex
parentb73114e9ecd7a65df4abf648184dab8608f38e1d (diff)
Refactor flaky ArtDexFileLoader IsPlatformDex gtest
The gtest has been failing randomly, unable to open a dex file copied into a known location. Refactor the test: (a) to not copy/remove in SetUp()/TearDown() because that happens before every test in the test case, not just the one test where it is needed, and (b) to copy the file just before it is being opened and to remove the file as soon as it is not needed, and (c) into smaller tests, each testing one location, and (d) always print the error message ArtDexFileLoader failed with. Bug: 79177384 Test: make test-art-host-gtest-art_dex_file_loader_test Merged-In: Icfd55c1b88938cf88441d501b10e285f4fcdb60f Change-Id: Icfd55c1b88938cf88441d501b10e285f4fcdb60f (cherry picked from commit ba205000c1119f26575b417b665df37bd1d5ae95)
Diffstat (limited to 'test/ProfileTestMultiDex')
0 files changed, 0 insertions, 0 deletions