[authfs][test] Remove redundant supportsMicrodroid() check
The previous CL aosp/2257563 has introduced assumeTrue() to
skip tests when Microdroid is not supported. Thus this check
is no longer necessary.
Test: atest AuthFsHostTest AuthFsBenchmarks
Bug: 236123069
Change-Id: I527e355eaa2cd9e5f85a41f3fff808c86f96b814
diff --git a/authfs/tests/common/src/java/com/android/fs/common/AuthFsTestRule.java b/authfs/tests/common/src/java/com/android/fs/common/AuthFsTestRule.java
index 57fef9f..6087eef 100644
--- a/authfs/tests/common/src/java/com/android/fs/common/AuthFsTestRule.java
+++ b/authfs/tests/common/src/java/com/android/fs/common/AuthFsTestRule.java
@@ -99,14 +99,6 @@
sTestInfo = testInfo;
TestDevice androidDevice = getDevice();
sAndroid = new CommandRunner(androidDevice);
-
- // NB: We can't use assumeTrue because the assumption exception is NOT handled by the test
- // infra when it is thrown from a class method (see b/37502066). We need to skip both here
- // and in setUp.
- if (!androidDevice.supportsMicrodroid()) {
- CLog.i("Microdroid not supported. Skipping.");
- return;
- }
}
public static void tearDownAndroid() {