Add tests to denial bad compos-pending artifacts
The new test CompOsDenialHostTest runs the compilation once, then save
the pending artifacts just to reduce the test time. The pending
artifacts is prepared for each test case to mess up with. Each test
expects odsign to deny those artifacts.
Common test utils are moved to OdsignTestUtils.
CompOS specific utils are moved to CompOsTestUtils.
Bug: 213573626
Test: atest com.android.tests.odsign.CompOsSigningHostTest
Test: atest com.android.tests.odsign.CompOsDenialHostTest
Change-Id: I08f815f775fc0f067d3e8a990affea2f2e5b7964
5 files changed