commit | 98522c0e2df6e06e91753621f61e8edd13200f3f | [log] [tgz] |
---|---|---|
author | Kelvin Zhang <zhangkelvin@google.com> | Thu Feb 29 14:29:10 2024 -0800 |
committer | Kelvin Zhang <zhangkelvin@google.com> | Thu Feb 29 14:30:35 2024 -0800 |
tree | 24df7c21d8a9fc6879bf92d1c0b25d30f32cab46 | |
parent | 13cb6f7b4bc415d6e94bd34e1e4d171a63b47aa5 [diff] |
Add annotations to VTS tests This helps reviewers understand which VTS requirement these test are covering Bug: 302208814 Test: th Change-Id: I52712d9888b73fc7a9f8eeeb035a3303618efd69
diff --git a/fs_mgr/libsnapshot/partition_cow_creator_test.cpp b/fs_mgr/libsnapshot/partition_cow_creator_test.cpp index cf26a16..a4a2c1a 100644 --- a/fs_mgr/libsnapshot/partition_cow_creator_test.cpp +++ b/fs_mgr/libsnapshot/partition_cow_creator_test.cpp
@@ -39,6 +39,7 @@ namespace android { namespace snapshot { +// @VsrTest = 3.7.6 class PartitionCowCreatorTest : public ::testing::Test { public: void SetUp() override {
diff --git a/fs_mgr/libsnapshot/snapshot_test.cpp b/fs_mgr/libsnapshot/snapshot_test.cpp index e538d50..47e6ce9 100644 --- a/fs_mgr/libsnapshot/snapshot_test.cpp +++ b/fs_mgr/libsnapshot/snapshot_test.cpp
@@ -104,6 +104,7 @@ void MountMetadata(); +// @VsrTest = 3.7.6 class SnapshotTest : public ::testing::Test { public: SnapshotTest() : dm_(DeviceMapper::Instance()) {}
diff --git a/fs_mgr/libsnapshot/vts_ota_config_test.cpp b/fs_mgr/libsnapshot/vts_ota_config_test.cpp index d387eb3..b5618c4 100755 --- a/fs_mgr/libsnapshot/vts_ota_config_test.cpp +++ b/fs_mgr/libsnapshot/vts_ota_config_test.cpp
@@ -21,6 +21,7 @@ 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();