diff options
author | 2022-10-13 08:08:28 +0000 | |
---|---|---|
committer | 2022-10-14 07:48:55 +0000 | |
commit | 76990bb2404f4b0b73b56f3096e67746c1a5ceb0 (patch) | |
tree | 48f58e9feae49055e3bc6bf5d69e695ce147e9b9 /runtime/vdex_file_test.cc | |
parent | 07c7d430d72cdb07b8b5f20b6335fd236aab6fc1 (diff) |
ART: Speed up some gtests.
Avoid creating `Runtime` or create the `Runtime` with a boot
image to make the test setup faster.
Test: m test-art-host-gtest
Test: run-gtests.sh
Change-Id: I3f09de81491402442f1704d25bb06de995d8a3ca
Diffstat (limited to 'runtime/vdex_file_test.cc')
-rw-r--r-- | runtime/vdex_file_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/vdex_file_test.cc b/runtime/vdex_file_test.cc index 565487e275..1ac10eb733 100644 --- a/runtime/vdex_file_test.cc +++ b/runtime/vdex_file_test.cc @@ -20,12 +20,11 @@ #include <gtest/gtest.h> -#include "common_runtime_test.h" +#include "base/common_art_test.h" namespace art { -class VdexFileTest : public CommonRuntimeTest { -}; +class VdexFileTest : public CommonArtTest {}; TEST_F(VdexFileTest, OpenEmptyVdex) { // Verify we fail to open an empty vdex file. |