summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.h
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-05-15 16:53:41 +0100
committerDavid Brazdil <dbrazdil@google.com>2018-05-15 16:58:36 +0000
commitba205000c1119f26575b417b665df37bd1d5ae95 (patch)
tree99cc23fa29bccfc14eacdbf3061d63793737b0e9 /compiler/optimizing/graph_visualizer.h
parent00e15d651e705640d4fdf206faf8317d69b20758 (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 Change-Id: Icfd55c1b88938cf88441d501b10e285f4fcdb60f
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions