Skip to content

Commit 0040025

Browse files
committed
Update expected output of integration tests
We now produce output using the CodeQL CLI, which ignores empty properties during serialization.
1 parent 067f325 commit 0040025

File tree

7 files changed

+0
-45
lines changed

7 files changed

+0
-45
lines changed

csharp/ql/integration-tests/all-platforms/diag_dotnet_incompatible/diagnostics.expected

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"attributes": {},
3-
"helpLinks": [],
4-
"internal": false,
52
"markdownMessage": "CodeQL found some projects which cannot be built with .NET Core:\n\n- `test.csproj`",
63
"severity": "warning",
74
"source": {
@@ -16,9 +13,6 @@
1613
}
1714
}
1815
{
19-
"attributes": {},
20-
"helpLinks": [],
21-
"internal": false,
2216
"markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n\n- `test.csproj`\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2317
"severity": "error",
2418
"source": {

csharp/ql/integration-tests/all-platforms/diag_missing_project_files/diagnostics.expected

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"attributes": {},
3-
"helpLinks": [],
4-
"internal": false,
52
"markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n\n- `test.sln`\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
63
"severity": "error",
74
"source": {
@@ -16,9 +13,6 @@
1613
}
1714
}
1815
{
19-
"attributes": {},
20-
"helpLinks": [],
21-
"internal": false,
2216
"markdownMessage": "Some project files were not found when CodeQL built your project:\n\n- `Example.csproj`\n- `Example.Test.csproj`\n\nThis may lead to subsequent failures. You can check for common causes for missing project files:\n\n- Ensure that the project is built using the [intended operating system](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on) and that filenames on case-sensitive platforms are correctly specified.\n- If your repository uses Git submodules, ensure that those are [checked out](https://github.com/actions/checkout#usage) before the CodeQL Action is run.\n- If you auto-generate some project files as part of your build process, ensure that these are generated before the CodeQL Action is run.",
2317
"severity": "error",
2418
"source": {

csharp/ql/integration-tests/all-platforms/diag_missing_xamarin_sdk/diagnostics.expected

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"attributes": {},
3-
"helpLinks": [],
4-
"internal": false,
52
"markdownMessage": "CodeQL was unable to build the following projects using .NET Core:\n\n- `test.csproj`\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
63
"severity": "error",
74
"source": {
@@ -16,9 +13,6 @@
1613
}
1714
}
1815
{
19-
"attributes": {},
20-
"helpLinks": [],
21-
"internal": false,
2216
"markdownMessage": "CodeQL was unable to build the following projects using MSBuild:\n\n- `test.csproj`\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2317
"severity": "error",
2418
"source": {
@@ -33,9 +27,6 @@
3327
}
3428
}
3529
{
36-
"attributes": {},
37-
"helpLinks": [],
38-
"internal": false,
3930
"markdownMessage": "[Configure your workflow](https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-xamarin-applications) for this SDK before running CodeQL.",
4031
"severity": "error",
4132
"source": {

csharp/ql/integration-tests/posix-only/diag_autobuild_script/diagnostics.expected

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"attributes": {},
3-
"helpLinks": [],
4-
"internal": false,
52
"markdownMessage": "CodeQL attempted to build your project using a script located at `build.sh`, which failed.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
63
"severity": "error",
74
"source": {
@@ -16,9 +13,6 @@
1613
}
1714
}
1815
{
19-
"attributes": {},
20-
"helpLinks": [],
21-
"internal": false,
2216
"markdownMessage": "CodeQL could not find any project or solution files in your repository.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2317
"severity": "error",
2418
"source": {

csharp/ql/integration-tests/posix-only/diag_multiple_scripts/diagnostics.expected

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"attributes": {},
3-
"helpLinks": [],
4-
"internal": false,
52
"markdownMessage": "CodeQL could not find any project or solution files in your repository.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
63
"severity": "error",
74
"source": {
@@ -16,9 +13,6 @@
1613
}
1714
}
1815
{
19-
"attributes": {},
20-
"helpLinks": [],
21-
"internal": false,
2216
"markdownMessage": "CodeQL found multiple potential build scripts for your project and attempted to run `build.sh`, which failed. This may not be the right build script for your project.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2317
"severity": "error",
2418
"source": {

csharp/ql/integration-tests/windows-only/diag_autobuild_script/diagnostics.expected

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"attributes": {},
3-
"helpLinks": [],
4-
"internal": false,
52
"markdownMessage": "CodeQL attempted to build your project using a script located at `build.bat`, which failed.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
63
"severity": "error",
74
"source": {
@@ -16,9 +13,6 @@
1613
}
1714
}
1815
{
19-
"attributes": {},
20-
"helpLinks": [],
21-
"internal": false,
2216
"markdownMessage": "CodeQL could not find any project or solution files in your repository.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2317
"severity": "error",
2418
"source": {

csharp/ql/integration-tests/windows-only/diag_multiple_scripts/diagnostics.expected

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"attributes": {},
3-
"helpLinks": [],
4-
"internal": false,
52
"markdownMessage": "CodeQL could not find any project or solution files in your repository.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
63
"severity": "error",
74
"source": {
@@ -16,9 +13,6 @@
1613
}
1714
}
1815
{
19-
"attributes": {},
20-
"helpLinks": [],
21-
"internal": false,
2216
"markdownMessage": "CodeQL found multiple potential build scripts for your project and attempted to run `build.bat`, which failed. This may not be the right build script for your project.\n\nSet up a [manual build command](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages).",
2317
"severity": "error",
2418
"source": {

0 commit comments

Comments
 (0)