Skip to content

Refactor tests, splitting out Consolonia.NUnit library and a ton of unit tests #257

Refactor tests, splitting out Consolonia.NUnit library and a ton of unit tests

Refactor tests, splitting out Consolonia.NUnit library and a ton of unit tests #257

Triggered via pull request November 9, 2024 23:37
@tomlmtomlm
synchronize #143
tomlm/tests
Status Success
Total duration 2m 52s
Artifacts

editorconfig.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error, 2 warnings, and 10 notices
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: xt0rted/pull-request-comment-branch@v1, actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: xt0rted/pull-request-comment-branch@v1, actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: src/Consolonia.Core/Drawing/DrawingContextImpl.cs#L98
"[ArgumentsStyleNamedExpression] Inconsistent argument style: redundant name identifier" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/DrawingContextImpl.cs(98,70)
build: src/Consolonia.NUnit/UnitTestConsole.cs#L69
"[ArgumentsStyleNamedExpression] Inconsistent argument style: redundant name identifier" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.NUnit/UnitTestConsole.cs(69,69)
build: src/Tests/Consolonia.Core.Tests/PixelTests.cs#L48
"[ArgumentsStyleNamedExpression] Inconsistent argument style: redundant name identifier" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/PixelTests.cs(48,92)
build: src/Consolonia.Core/Drawing/ConsoleBrush.cs#L188
"[ConvertIfStatementToSwitchStatement] Convert 'if' statement into 'switch' statement" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/ConsoleBrush.cs(188,13)
build: src/Consolonia.Core/Drawing/BitmapImpl.cs#L63
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/Consolonia/Consolonia/src/Consolonia.Core/Drawing/BitmapImpl.cs(63,17)
build: src/Tests/Consolonia.Core.Tests/GlyphTests.cs#L20
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/GlyphTests.cs(20,17)
build: src/Tests/Consolonia.Core.Tests/GlyphTests.cs#L31
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/GlyphTests.cs(31,17)
build: src/Tests/Consolonia.Core.Tests/GlyphTests.cs#L46
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/GlyphTests.cs(46,17)
build: src/Tests/Consolonia.Core.Tests/GlyphTests.cs#L61
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/GlyphTests.cs(61,17)
build: src/Tests/Consolonia.Core.Tests/GlyphTests.cs#L72
"[ConvertToConstant.Local] Convert into constant" on /home/runner/work/Consolonia/Consolonia/src/Tests/Consolonia.Core.Tests/GlyphTests.cs(72,17)