diff options
author | 2025-03-11 18:23:54 +0000 | |
---|---|---|
committer | 2025-03-12 01:57:51 +0000 | |
commit | f5e9cf386e18e5a68a12c76fd14c072281e4fa1c (patch) | |
tree | 1e9c03f738d576873f244bf163621e3deb7a8d57 /tests | |
parent | fb6f05722e8f21d749451834bf2dee5252089f8f (diff) |
Remove fsverity_api flag check from FsVerityTest
Since the fsverity_api flag was launched, FsVerityTest can now assume
that it is enabled.
Bug: 285185747
Test: atest FsVerityTest
Flag: TEST_ONLY
Change-Id: I3f75490a6fa94391c63d1d24ab374f4ffbf82179
Diffstat (limited to 'tests')
-rw-r--r-- | tests/FsVerityTest/src/com/android/fsverity/FsVerityHostTest.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/FsVerityTest/src/com/android/fsverity/FsVerityHostTest.java b/tests/FsVerityTest/src/com/android/fsverity/FsVerityHostTest.java index 1b0279273dc7..b1d6e96dca9b 100644 --- a/tests/FsVerityTest/src/com/android/fsverity/FsVerityHostTest.java +++ b/tests/FsVerityTest/src/com/android/fsverity/FsVerityHostTest.java @@ -18,11 +18,7 @@ package com.android.fsverity; import static com.google.common.truth.Truth.assertThat; -import android.platform.test.annotations.RequiresFlagsEnabled; import android.platform.test.annotations.RootPermissionTest; -import android.platform.test.flag.junit.CheckFlagsRule; -import android.platform.test.flag.junit.host.HostFlagsValueProvider; -import android.security.Flags; import com.android.blockdevicewriter.BlockDeviceWriter; import com.android.tradefed.device.DeviceNotAvailableException; @@ -31,7 +27,6 @@ import com.android.tradefed.testtype.DeviceJUnit4ClassRunner; import com.android.tradefed.testtype.junit4.BaseHostJUnit4Test; import com.android.tradefed.testtype.junit4.DeviceTestRunOptions; -import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; @@ -48,16 +43,11 @@ import org.junit.runner.RunWith; */ @RootPermissionTest @RunWith(DeviceJUnit4ClassRunner.class) -@RequiresFlagsEnabled(Flags.FLAG_FSVERITY_API) public class FsVerityHostTest extends BaseHostJUnit4Test { private static final String TARGET_PACKAGE = "com.android.fsverity"; private static final String BASENAME = "test.file"; - @Rule - public final CheckFlagsRule mCheckFlagsRule = - HostFlagsValueProvider.createCheckFlagsRule(this::getDevice); - @Test public void testFsVeritySmallFile() throws Exception { prepareTest(10000); |