diff options
author | 2020-08-07 11:32:29 -0700 | |
---|---|---|
committer | 2020-08-12 12:17:45 -0700 | |
commit | c9821f1160e06fec9bd0a2fbfcb5ef4ca8cf457a (patch) | |
tree | a967e14d80a8d74503c9d9b9561cf66e81e0dca6 /vulkan/libvulkan/driver.cpp | |
parent | e98e6519e4f2b5818c2724a133eab5896c0e5c7b (diff) |
installd: Unit test for RunDex2oat
Add unit tests run_dex2oat_test.
In order to make RunDex2oat testable,
- RunDex2Oat is extracted from dexopt.cpp such that the class is
visible to test
- ExecVHelper is extracted from dexopt.cpp such that it can be used by
RunDex2Oat and the others in the original file.
- Main logic of RunDex2Oat is removed from constructor (otherwise
virtual functions can't be overridden in derived class).
Bug: 161470356
Test: atest run_dex2oat_test
Test: atest frameworks/native/cmds/installd/tests
Test: cmd package compile -m speed -f com.android.egg
Change-Id: I416d57a008374a598def9160b65407ed043ab0eb
Diffstat (limited to 'vulkan/libvulkan/driver.cpp')
0 files changed, 0 insertions, 0 deletions