Skip to content

C#: Convert qlref tests to inline expectations#22123

Draft
owen-mc wants to merge 4 commits into
github:mainfrom
owen-mc:csharp/convert-qlref-tests-to-inline-expectations
Draft

C#: Convert qlref tests to inline expectations#22123
owen-mc wants to merge 4 commits into
github:mainfrom
owen-mc:csharp/convert-qlref-tests-to-inline-expectations

Conversation

@owen-mc

@owen-mc owen-mc commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Convert suitable qlref tests to inline expectations. Done by Copilot (Opus 4.8).

@github-actions github-actions Bot added the C# label Jul 4, 2026
<sample>
<db pwd=""/>
<db pwd="foo"/>
<db pwd=""/> <!-- $ Alert[cs/empty-password-in-configuration] -->
<db dwp="foo"/>
<db Password=""/>
<db Password="foo"/>
<db Password=""/> <!-- $ Alert[cs/empty-password-in-configuration] -->
<db connectionString="Driver=ODBCDriver;server=ODBCServer;password=;"/>
<db connectionString="Driver=ODBCDriver;server=ODBCServer;pwd=foo;"/>
<db connectionString="Driver=ODBCDriver;server=ODBCServer;password=foo;"/>
<db connectionString="Driver=ODBCDriver;server=ODBCServer;pwd=;"/> <!-- $ Alert[cs/empty-password-in-configuration] -->
<db connectionString="Driver=ODBCDriver;server=ODBCServer;pwd=foo;"/>
<db connectionString="Driver=ODBCDriver;server=ODBCServer;password=foo;"/>
<db connectionString="Driver=ODBCDriver;server=ODBCServer;pwd=;"/> <!-- $ Alert[cs/empty-password-in-configuration] -->
<db connectionString="Driver=ODBCDriver;server=ODBCServer;password=;"/> <!-- $ Alert[cs/empty-password-in-configuration] -->
@@ -2,8 +2,8 @@
<configuration>
<system.web>
<authentication>
<forms />
<forms /> <!-- $ Alert[cs/web/requiressl-not-set] -->
</authentication>
<httpCookies />
<httpCookies /> <!-- $ Alert[cs/web/requiressl-not-set] -->
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.webServer>
<directoryBrowse enabled="true" />
<directoryBrowse enabled="true" /> <!-- $ Alert[cs/web/directory-browse-enabled] -->
<html>
<body>
<p>2 + 3 = <%Response.Write(2 + 3)%></p>
<p>2 + 3 = <%Response.Write(2 + 3)%></p> <%-- $ Alert[cs/asp/response-write] --%>
<html>
<body>
<p>2 + 3 = <%Response.Write(2 + 3)%></p>
<p>2 + 3 = <%Response.Write(2 + 3)%></p> <%-- $ Alert[cs/asp/response-write] --%>
@owen-mc owen-mc force-pushed the csharp/convert-qlref-tests-to-inline-expectations branch from a365c6c to 800482d Compare July 4, 2026 22:32
@owen-mc owen-mc force-pushed the csharp/convert-qlref-tests-to-inline-expectations branch from 800482d to c0273ba Compare July 4, 2026 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants