Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eed1c420 authored by Kelvin Zhang's avatar Kelvin Zhang Committed by Gerrit Code Review
Browse files

Merge "Add annotations to VTS tests" into main

parents 562f953a 98522c0e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ using ::testing::Truly;
namespace android {
namespace snapshot {

// @VsrTest = 3.7.6
class PartitionCowCreatorTest : public ::testing::Test {
  public:
    void SetUp() override {
+1 −0
Original line number Diff line number Diff line
@@ -104,6 +104,7 @@ std::string fake_super;

void MountMetadata();

// @VsrTest = 3.7.6
class SnapshotTest : public ::testing::Test {
  public:
    SnapshotTest() : dm_(DeviceMapper::Instance()) {}
+1 −0
Original line number Diff line number Diff line
@@ -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();