diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2021-04-09 00:19:19 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-04-09 00:19:19 +0000 |
commit | 2b2c3e75f6d7057b7b82575ea1e3eb80295dcef3 (patch) | |
tree | 69275f4c414b2e218e2ab1be1aada9f658e05d7a | |
parent | 1f82375ca43d73777f37ce1303d92d902f27c6fb (diff) | |
parent | d05591da3544980cd6c629ec0d14c1d5a34ce79f (diff) | |
download | cts-2b2c3e75f6d7057b7b82575ea1e3eb80295dcef3.tar.gz |
Merge "Add a test for Build.isDebuggable()"
-rw-r--r-- | tests/tests/os/src/android/os/cts/BuildTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tests/os/src/android/os/cts/BuildTest.java b/tests/tests/os/src/android/os/cts/BuildTest.java index b0a1a5ec16f..efe3c12113a 100644 --- a/tests/tests/os/src/android/os/cts/BuildTest.java +++ b/tests/tests/os/src/android/os/cts/BuildTest.java @@ -348,6 +348,7 @@ public class BuildTest extends TestCase { public void testIsSecureUserBuild() throws IOException { assertEquals("Must be a user build", "user", Build.TYPE); assertProperty("Must be a non-debuggable build", RO_DEBUGGABLE, "0"); + assertFalse("Must be a non-debuggable build", Build.isDebuggable()); assertProperty("Must be a secure build", RO_SECURE, "1"); } |