Skip to content

Commit

Permalink
Document CI results
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-strecker-sonarsource committed Jun 18, 2024
1 parent 3e792c3 commit dbde88c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Tests/SonarScanner.MSBuild.Common.Test/ProcessRunnerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ REM The sonar-scanner.bat uses %* to pass the argument to javac.exe
}

[DataTestMethod]
[DataRow(@"")]
[DataRow(@"")] // in CI: one empty string
[DataRow(@"unquoted", @"unquoted")]
[DataRow(@"""quoted""", @"""quoted""")]
[DataRow(@"""quoted with spaces""", @"""quoted with spaces""")]
Expand All @@ -362,15 +362,15 @@ REM The sonar-scanner.bat uses %* to pass the argument to javac.exe
[DataRow(@"quote""name", @"quote""name")]
[DataRow(@"quotes ""& ampersands", @"quotes ""& ampersands")]
[DataRow(@"""multiple """""" quotes "" ", @"""multiple """""" quotes "" ")]
[DataRow(@"trailing backslash \", @"trailing backslash """)] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706
[DataRow(@"trailing backslash \", @"trailing backslash """)] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706 - in CI: trailing backslash \
[DataRow(@"trailing backslash \""", @"trailing backslash \""")]
[DataRow(@"trailing\\backslash\\", @"trailing\\backslash\\")] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706
[DataRow(@"trailing\\backslash\\", @"trailing\\backslash\\")] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706 - in CI: trailing \\backslash\\
[DataRow(@"trailing \\backslash\\", @"trailing \\backslash\")] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706
[DataRow(@"trailing \""""\ backslash""\\""", @"trailing \""\", @"backslash""\""""")] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706
[DataRow(@"trailing \""""\ backslash""\\""", @"trailing \""\", @"backslash""\""""")] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706 - in CI: trailing \""\ backslash"\\"
[DataRow(@"all special chars: \ / : * ? "" < > | %", @"all special chars: \ / : * ? "" < > | %")]
[DataRow(@"injection "" > foo.txt", @"injection "" > foo.txt")]
[DataRow(@"injection "" & echo haha", @"injection "" & echo haha")]
[DataRow(@"double escaping \"" > foo.txt", @"double escaping \", @">", @"foo.txt")] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706
[DataRow(@"double escaping \"" > foo.txt", @"double escaping \", @">", @"foo.txt")] // https://github.com/SonarSource/sonar-scanner-msbuild/issues/1706 - in CI: double escaping \" > foo.txt
[DataRow(@"^", @"^")]
[DataRow(@"a^", @"a^")]
[DataRow(@"a^b^c", @"a^b^c")]
Expand Down Expand Up @@ -398,13 +398,13 @@ REM The sonar-scanner.bat uses %* to pass the argument to javac.exe
[DataRow(@"]", @"]")]
[DataRow(@"!", @"!")]
[DataRow(@".", @".")]
[DataRow(@"*", @"LogArgs.class", @"LogArgs.java", @"ProcRunner_ArgumentQuotingForwardedByBatchScriptToJava.bat")] // Expected behavior
[DataRow(@"*.*", @"LogArgs.class", @"LogArgs.java", @"ProcRunner_ArgumentQuotingForwardedByBatchScriptToJava.bat")] // Expected behavior
[DataRow(@"*", @"LogArgs.class", @"LogArgs.java", @"ProcRunner_ArgumentQuotingForwardedByBatchScriptToJava.bat")] // Expected behavior - in CI: *
[DataRow(@"*.*", @"LogArgs.class", @"LogArgs.java", @"ProcRunner_ArgumentQuotingForwardedByBatchScriptToJava.bat")] // Expected behavior - in CI: *.*
[DataRow(@"""C:\*.*""", @"""C:\*.*""")]
[DataRow(@"?", @"?")]
[DataRow(@"=", @"=")]
[DataRow(@"a=b", @"a=b")]
[DataRow(@"äöüß", @"äöüß")]
[DataRow(@"äöüß", @"äöüß")] // in CI: ����
[DataRow(@"Σὲ γνωρίζω ἀπὸ τὴν κόψη", @"S? ??????? ?p? t?? ????")]
public void ProcRunner_ArgumentQuotingForwardedByBatchScriptToJava(string parameter, params string[] expected)
{
Expand Down

0 comments on commit dbde88c

Please sign in to comment.