Skip to content

Commit 15df392

Browse files
Jami CogswellJami Cogswell
authored andcommitted
updates to InlineExpectationsTest
1 parent d8dbdfc commit 15df392

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

java/ql/test/query-tests/security/CWE-489/TestFalse.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
xmlns:tools="http://schemas.android.com/tools"
44
package="com.example.happybirthday">
55

6-
<!-- Safe: 'android:debuggable' set to false -->
7-
<application
6+
<!-- Safe: debuggable attribute set to false --> <application
87
android:debuggable="false"
98
android:allowBackup="true"
109
android:dataExtractionRules="@xml/data_extraction_rules"

java/ql/test/query-tests/security/CWE-489/TestNotSet.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
xmlns:tools="http://schemas.android.com/tools"
44
package="com.example.happybirthday">
55

6-
<!-- Safe: 'android:debuggable' not set at all -->
7-
<application
6+
<!-- Safe: debuggable attribute not set --> <application
87
android:allowBackup="true"
98
android:dataExtractionRules="@xml/data_extraction_rules"
109
android:fullBackupContent="@xml/backup_rules"

java/ql/test/query-tests/security/CWE-489/TestTrue.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
xmlns:tools="http://schemas.android.com/tools"
44
package="com.example.happybirthday">
55

6-
<!-- Not Safe: 'android:debuggable' set to true -->
7-
<application
6+
<!-- $ hasDebuggableAttributeEnabled --> <application
87
android:debuggable="true"
98
android:allowBackup="true"
109
android:dataExtractionRules="@xml/data_extraction_rules"

0 commit comments

Comments
 (0)