more tests #252
Annotations
9 errors and 23 warnings
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule010 ► WhenIsNotPublic_ThenAlerts:
src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs#L177
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az980-277_2024-07-01_19_21_05[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,23): warning SAASEVT010: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT010).WithSpan(5, 23, 5, 29).WithArguments("AClass"),
// /0/Test0.cs(7,28): warning SAASEVT016: Property 'RootId' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(7, 28, 7, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(9,30): warning SAASEVT016: Property 'OccurredUtc' 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 a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(EventingAnalyzer.SAASEVT016).WithSpan(9, 30, 9, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
|
test
Process completed with exit code 1.
|
build:
src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L359
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerAsync' and no accessible extension method 'CreateCustomerAsync' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L444
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerAsync' and no accessible extension method 'CreateCustomerAsync' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L445
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerPaymentMethod' and no accessible extension method 'CreateCustomerPaymentMethod' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L359
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerAsync' and no accessible extension method 'CreateCustomerAsync' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L444
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerAsync' and no accessible extension method 'CreateCustomerAsync' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
|
build:
src/Infrastructure.Shared.IntegrationTests/ApplicationServices/External/ChargebeeHttpServiceClientSpec.cs#L445
'ChargebeeHttpServiceClient' does not contain a definition for 'CreateCustomerPaymentMethod' and no accessible extension method 'CreateCustomerPaymentMethod' accepting a first argument of type 'ChargebeeHttpServiceClient' could be found (are you missing a using directive or an assembly reference?)
|
build
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, dorny/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Test report summary exceeded limit of 65535 bytes and will be trimmed
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build:
src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L37
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L52
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Application.Common.UnitTests/Extensions/FeatureFlagExtensionsSpec.cs#L67
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Web.Api.Common.UnitTests/Endpoints/ApiUsageFilterSpec.cs#L74
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/IntegrationTesting.WebApi.Common/WebApiSpec.cs#L210
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/AnyDataStoreBaseSpec.cs#L114
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureStorageAccountQueueStoreSpec.cs#L40
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureStorageAccountQueueStoreSpec.cs#L51
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureServiceBusMessageBusStoreSpec.cs#L30
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Infrastructure.Persistence.Shared.IntegrationTests/Azure/AzureServiceBusMessageBusStoreSpec.cs#L43
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/Application.Resources.Shared/EndUser.cs#L45
Property 'Features' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L30
Property 'Attempts' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/EndUser.cs#L47
Property 'IsDefault' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L32
Property 'Body' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/EndUser.cs#L49
Property 'OrganizationId' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L34
Property 'IsDelivered' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/EndUser.cs#L53
Property 'Roles' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L36
Property 'Subject' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/EndUser.cs#L55
Property 'UserId' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|
build:
src/Application.Resources.Shared/Ancillary.cs#L38
Property 'ToDisplayName' 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 System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
|