mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Add XML overlay tests.
This commit is contained in:
@@ -261,3 +261,16 @@ typeMentions
|
||||
| Program.cs:60:10:60:16 | ProgramAttribute |
|
||||
| Program.cs:61:16:61:19 | Void |
|
||||
| Program.cs:64:37:64:45 | Attribute |
|
||||
xmlLocatables
|
||||
| web.changed.config:2:1:12:17 | configuration |
|
||||
| web.changed.config:3:3:4:16 | system.web |
|
||||
| web.changed.config:5:3:11:22 | system.webServer |
|
||||
| web.changed.config:6:5:10:20 | httpProtocol |
|
||||
| web.changed.config:7:7:9:23 | customHeaders |
|
||||
| web.changed.config:8:9:8:42 | add |
|
||||
| web.changed.config:8:9:8:42 | name=MyOption |
|
||||
| web.changed.config:8:9:8:42 | value=1 |
|
||||
| web.unchanged.config:2:1:6:17 | configuration |
|
||||
| web.unchanged.config:3:3:5:16 | system.web |
|
||||
| web.unchanged.config:4:5:4:37 | httpCookies |
|
||||
| web.unchanged.config:4:5:4:37 | requireSSL=true |
|
||||
|
||||
12
csharp/ql/test/library-tests/overlay/base/web.changed.config
Normal file
12
csharp/ql/test/library-tests/overlay/base/web.changed.config
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<system.web>
|
||||
</system.web>
|
||||
<system.webServer>
|
||||
<httpProtocol>
|
||||
<customHeaders>
|
||||
<add name="MyOption" value="1" />
|
||||
</customHeaders>
|
||||
</httpProtocol>
|
||||
</system.webServer>
|
||||
</configuration>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<system.web>
|
||||
<httpCookies requireSSL="true"/>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -265,3 +265,10 @@ typeMentions
|
||||
| Program.cs:60:10:60:16 | ProgramAttribute |
|
||||
| Program.cs:61:16:61:19 | Void |
|
||||
| Program.cs:64:37:64:45 | Attribute |
|
||||
xmlLocatables
|
||||
| web.changed.config:2:1:5:17 | configuration |
|
||||
| web.changed.config:3:3:4:16 | system.web |
|
||||
| web.unchanged.config:2:1:6:17 | configuration |
|
||||
| web.unchanged.config:3:3:5:16 | system.web |
|
||||
| web.unchanged.config:4:5:4:37 | httpCookies |
|
||||
| web.unchanged.config:4:5:4:37 | requireSSL=true |
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<system.web>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<system.web>
|
||||
<httpCookies requireSSL="true"/>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -37,3 +37,5 @@ query predicate commentLines(CommentLine cl) { any() }
|
||||
query predicate commentBlocks(CommentBlock cb) { any() }
|
||||
|
||||
query predicate typeMentions(TypeMention tm) { any() }
|
||||
|
||||
query predicate xmlLocatables(XmlLocatable xl) { any() }
|
||||
|
||||
Reference in New Issue
Block a user