Skip to content

Unit tests

Unit tests #853

Triggered via schedule December 19, 2024 19:36
Status Success
Total duration 12m 59s
Artifacts

run-unit-tests.yml

on: schedule
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
Analyze (csharp, x86): src/LiveChartsCore/Chart.cs#L353
This call will always result in an empty sequence because type 'LiveChartsCore.Kernel.ChartElement<TDrawingContext>' is incompatible with type 'LiveChartsCore.VisualElements.VisualElement<TDrawingContext>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/StepLineSeriesTest.cs#L57
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/StackedStepAreaSeriesTest.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/LineSeriesTest.cs#L60
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/StackedAreaSeriesTest.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/StepLineSeriesTest.cs#L57
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/StackedStepAreaSeriesTest.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/LineSeriesTest.cs#L60
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/StackedAreaSeriesTest.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x86): tests/LiveChartsCore.UnitTesting/SeriesTests/StepLineSeriesTest.cs#L57
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): src/LiveChartsCore/Chart.cs#L353
This call will always result in an empty sequence because type 'LiveChartsCore.Kernel.ChartElement<TDrawingContext>' is incompatible with type 'LiveChartsCore.VisualElements.VisualElement<TDrawingContext>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/SeriesTests/StepLineSeriesTest.cs#L57
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/SeriesTests/LineSeriesTest.cs#L60
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/SeriesTests/StackedStepAreaSeriesTest.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/SeriesTests/StackedAreaSeriesTest.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/SeriesTests/StepLineSeriesTest.cs#L57
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/SeriesTests/StackedStepAreaSeriesTest.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/SeriesTests/LineSeriesTest.cs#L60
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/SeriesTests/StackedAreaSeriesTest.cs#L69
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Analyze (csharp, x64): tests/LiveChartsCore.UnitTesting/OtherTests/EventsTests.cs#L72
Type 'LiveChartsCore.Kernel.ChartElement<LiveChartsCore.SkiaSharpView.Drawing.SkiaSharpDrawingContext>' is incompatible with type 'LiveChartsCore.VisualElements.VisualElement<LiveChartsCore.SkiaSharpView.Drawing.SkiaSharpDrawingContext>' and cast attempts will throw InvalidCastException at runtime (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2021)