Merge "Remove utils/native/testability_checker"
diff --git a/testcases/host/fastboot_getvar/src/com/android/tests/FastbootGetvarUserspaceTest.java b/testcases/host/fastboot_getvar/src/com/android/tests/FastbootGetvarUserspaceTest.java
index eab1ffd..e2c5406 100644
--- a/testcases/host/fastboot_getvar/src/com/android/tests/FastbootGetvarUserspaceTest.java
+++ b/testcases/host/fastboot_getvar/src/com/android/tests/FastbootGetvarUserspaceTest.java
@@ -60,10 +60,8 @@
Pattern p = Pattern.compile("^(\\d+)\\.(\\d+)");
Matcher m1 = p.matcher(output);
Assert.assertTrue(m1.find());
- Assume.assumeTrue("Skipping test for fastbootd on GKI",
- Integer.parseInt(m1.group(1)) < 5 ||
- (Integer.parseInt(m1.group(1)) == 5 &&
- Integer.parseInt(m1.group(2)) < 4));
+ Assume.assumeFalse("Skipping test for fastbootd on GKI 1.0",
+ (Integer.parseInt(m1.group(1)) == 5 && Integer.parseInt(m1.group(2)) == 4));
}
}
diff --git a/testcases/host/fastboot_test/src/com/android/tests/FastbootVerifyUserspaceTest.java b/testcases/host/fastboot_test/src/com/android/tests/FastbootVerifyUserspaceTest.java
index 9319b48..286c1b6 100644
--- a/testcases/host/fastboot_test/src/com/android/tests/FastbootVerifyUserspaceTest.java
+++ b/testcases/host/fastboot_test/src/com/android/tests/FastbootVerifyUserspaceTest.java
@@ -65,10 +65,8 @@
Pattern p = Pattern.compile("^(\\d+)\\.(\\d+)");
Matcher m1 = p.matcher(output);
Assert.assertTrue(m1.find());
- Assume.assumeTrue("Skipping test for fastbootd on GKI",
- Integer.parseInt(m1.group(1)) < 5 ||
- (Integer.parseInt(m1.group(1)) == 5 &&
- Integer.parseInt(m1.group(2)) < 4));
+ Assume.assumeFalse("Skipping test for fastbootd on GKI 1.0",
+ (Integer.parseInt(m1.group(1)) == 5 && Integer.parseInt(m1.group(2)) == 4));
}
}