Merge "Add annotations to VTS tests" into main am: eed1c42087

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2984641

Change-Id: Ic0d5eb3803ff03bed830a691fc86638d5ab2122a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Kelvin Zhang 2024-03-01 02:44:17 +00:00 committed by Automerger Merge Worker
commit db71f06e34
3 changed files with 3 additions and 0 deletions

View file

@ -39,6 +39,7 @@ using ::testing::Truly;
namespace android {
namespace snapshot {
// @VsrTest = 3.7.6
class PartitionCowCreatorTest : public ::testing::Test {
public:
void SetUp() override {

View file

@ -104,6 +104,7 @@ std::string fake_super;
void MountMetadata();
// @VsrTest = 3.7.6
class SnapshotTest : public ::testing::Test {
public:
SnapshotTest() : dm_(DeviceMapper::Instance()) {}

View file

@ -21,6 +21,7 @@ static int GetVsrLevel() {
return android::base::GetIntProperty("ro.vendor.api_level", -1);
}
// @VsrTest = 3.7.6
TEST(VAB, Enabled) {
if (!android::base::GetBoolProperty("ro.build.ab_update", false) && (GetVsrLevel() < __ANDROID_API_T__)) {
GTEST_SKIP();