Skip to content

Push on main

Push on main #122

Triggered via dynamic February 10, 2025 03:00
Status Success
Total duration 4m 21s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec ► WhenVerifyConcurrencyCheckAndFirstVersionIsBeforeStored_TheReturnsError: src/UnitTesting.Common/ResultAssertions.cs#L20
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_32.trx Error: Expected result to return an Error with code ErrorCode.EntityExists {value: 5}, but it returned a Successful value.
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec ► WhenVerifyConcurrencyCheckAndFirstVersionIsSameAsStored_TheReturnsError: src/UnitTesting.Common/ResultAssertions.cs#L20
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_32.trx Error: Expected result to return an Error with code ErrorCode.EntityExists {value: 5}, but it returned a Successful value.
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel ► WhenComplete_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 ► WhenIsNotPublic_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Context: Verifying exclusions in '#pragma warning disable' code Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(11,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(11, 29, 11, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 ► WhenMissingEntityNameAttribute_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(7,14): warning SAASAPP021: Class 'AClass' must use the '[EntityNameAttribute]' VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP021).WithSpan(7, 14, 7, 20).WithArguments("AClass"), // /0/Test0.cs(9,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(9, 29, 9, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndIsParameterless_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndNotParameterless_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(8,14): warning SAASAPP022: Class 'AClass' must have a public parameterless constructor, for serialization VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP022).WithSpan(8, 14, 8, 20).WithArguments("AClass"), // /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndPrivate_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(8,14): warning SAASAPP022: Class 'AClass' must have a public parameterless constructor, for serialization VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP022).WithSpan(8, 14, 8, 20).WithArguments("AClass"), // /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 ► WhenAnyPropertyHasNoSetter_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(10,29): warning SAASAPP023: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP023).WithSpan(10, 29, 10, 38).WithArguments("AProperty"), // /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsNullable_ThenAlerts: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2" Diagnostics: // /0/Test0.cs(10,20): warning SAASAPP024: Property 'AProperty' should be 'Optional<T>' not nullable VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP024).WithSpan(10, 20, 10, 29).WithArguments("AProperty"), // /0/Test0.cs(10,20): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 20, 10, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsOptionalAndInitialized_ThenNoAlert: src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L178
Failed test found in: src/TestResults/csharp/runneradmin_fv-az1111-45_2025-02-10_03_07_42.trx Error: System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1" Diagnostics: // /0/Test0.cs(12,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 29, 12, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),