Added roslyn rules for requests and responses #10 #178
All Tests ✅
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_48.trx
298 tests were completed in 3s with 298 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Common.UnitTests.CountryCodesSpec | 12✅ | 24ms | ||
Common.UnitTests.ErrorSpec | 6✅ | 1ms | ||
Common.UnitTests.Extensions.CollectionExtensionsSpec | 3✅ | 1ms | ||
Common.UnitTests.Extensions.DateTimeExtensionsSpec | 44✅ | 11ms | ||
Common.UnitTests.Extensions.DictionaryExtensionsSpec | 12✅ | 157ms | ||
Common.UnitTests.Extensions.EnumExtensionsSpec | 10✅ | 47ms | ||
Common.UnitTests.Extensions.ObjectExtensionsSpec | 16✅ | 632ms | ||
Common.UnitTests.Extensions.StringExtensionsSpec | 66✅ | 316ms | ||
Common.UnitTests.Extensions.TimeSpanExtensionsSpec | 7✅ | 3ms | ||
Common.UnitTests.OptionalOfTSpec | 50✅ | 14ms | ||
Common.UnitTests.OptionalSpec | 16✅ | 311ms | ||
Common.UnitTests.Recording.RecordingExtensionsSpec | 2✅ | 574ms | ||
Common.UnitTests.ReflectorSpec | 3✅ | 68ms | ||
Common.UnitTests.ResultSpec+ResultWithoutValueSpec | 14✅ | 141ms | ||
Common.UnitTests.ResultSpec+ResultWithValueSpec | 31✅ | 20ms | ||
Common.UnitTests.TimezonesSpec | 6✅ | 155ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_48[1].trx
200 tests were completed in 4s with 200 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenAPolicy | 5✅ | 178ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenPlatformAuthorization | 9✅ | 88ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenRolesAndFeatures | 8✅ | 10ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenTenantAuthorization | 7✅ | 12ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ApiUsageFilterSpec | 5✅ | 936ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ContentNegotiationFilterSpec | 26✅ | 56ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.MultiTenancyFilterSpec | 6✅ | 89ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.RequestCorrelationFilterSpec | 3✅ | 392ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasGetOptionsExtensionsSpec | 6✅ | 48ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasSearchOptionsExtensionsSpec | 9✅ | 7ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpRequestExtensionsSpec | 36✅ | 893ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpResponseExtensionsSpec | 3✅ | 1ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.RequestExtensionsSpec | 15✅ | 51ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec | 5✅ | 395ms | ||
Infrastructure.Web.Api.Common.UnitTests.HasGetOptionsSpec | 4✅ | 7ms | ||
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenARequest | 5✅ | 2ms | ||
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenASigner | 3✅ | 149ms | ||
Infrastructure.Web.Api.Common.UnitTests.JsonDateTimeConverterSpec | 6✅ | 33ms | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenAnUntenantedRequestDto | 6✅ | 1s | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenATenantedRequestDto | 1✅ | 1ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.AdditionalValidatorSpec | 5✅ | 39ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.HasGetOptionsValidatorSpec | 10✅ | 138ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.HasSearchOptionsValidatorSpec | 15✅ | 60ms | ||
Infrastructure.Web.Api.Common.UnitTests.ValidationBehaviorSpec | 2✅ | 100ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_49.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_49[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_52.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_52[1].trx
87 tests were completed in 2s with 87 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Domain.Interfaces.UnitTests.Authorization.FeatureLevelSpec | 14✅ | 13ms | ||
Domain.Interfaces.UnitTests.Authorization.PlatformFeaturesSpec | 1✅ | 0ms | ||
Domain.Interfaces.UnitTests.Authorization.PlatformRolesSpec | 2✅ | 13ms | ||
Domain.Interfaces.UnitTests.Authorization.RoleLevelSpec | 14✅ | 2ms | ||
Domain.Interfaces.UnitTests.Authorization.TenantFeaturesSpec | 1✅ | 4ms | ||
Domain.Interfaces.UnitTests.Authorization.TenantRolesSpec | 2✅ | 1ms | ||
Domain.Interfaces.UnitTests.HydrationPropertiesSpec | 13✅ | 105ms | ||
Domain.Interfaces.UnitTests.Validations.ValidationsSpec | 40✅ | 7ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_52[2].trx
22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Application.Interfaces.UnitTests.GetOptionsExtensionsSpec | 6✅ | 34ms | ||
Application.Interfaces.UnitTests.SearchOptionsExtensionsSpec | 5✅ | 16ms | ||
Application.Interfaces.UnitTests.SearchOptionsSpec | 11✅ | 388ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_55.trx
227 tests were completed in 4s with 227 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Domain.Common.UnitTests.ChangeEventTypeMigratorSpec | 4✅ | 20ms | ||
Domain.Common.UnitTests.Entities.AggregateRootBaseSpec | 17✅ | 241ms | ||
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec | 4✅ | 57ms | ||
Domain.Common.UnitTests.Entities.EntityBaseSpec | 4✅ | 188ms | ||
Domain.Common.UnitTests.Entities.EventSourcedChangeEventExtensionsSpec | 1✅ | 159ms | ||
Domain.Common.UnitTests.Extensions.HydrationPropertiesExtensionsSpec | 6✅ | 9ms | ||
Domain.Common.UnitTests.Identity.NamePrefixedIdentifierFactorySpec | 11✅ | 7ms | ||
Domain.Common.UnitTests.MessageQueueIdFactorySpec | 8✅ | 28ms | ||
Domain.Common.UnitTests.ValueObjects.EventStreamSpec | 12✅ | 5ms | ||
Domain.Common.UnitTests.ValueObjects.IdentifierExtensionsSpec | 4✅ | 15ms | ||
Domain.Common.UnitTests.ValueObjects.IdentifierSpec | 1✅ | 93ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectComparableSpec | 40✅ | 4ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectEqualitySpec | 22✅ | 12ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectSpec | 2✅ | 14ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectComparableSpec | 23✅ | 3ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectEqualitySpec | 44✅ | 51ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectExtensionsSpec | 2✅ | 1ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectSpec | 22✅ | 12ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_57.trx
17 tests were completed in 3s with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Application.Common.UnitTests.CallerSpec | 8✅ | 73ms | ||
Application.Common.UnitTests.Extensions.CallerContextExtensionsSpec | 3✅ | 73ms | ||
Application.Common.UnitTests.Extensions.FeatureFlagExtensionsSpec | 6✅ | 102ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_57[1].trx
35 tests were completed in 6s with 35 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsInfrastructure.UnitTests.Api.Cars.DeleteCarRequestValidatorSpec | 1✅ | 227ms | ||
CarsInfrastructure.UnitTests.Api.Cars.GetCarRequestValidatorSpec | 1✅ | 4ms | ||
CarsInfrastructure.UnitTests.Api.Cars.RegisterCarRequestValidatorSpec | 9✅ | 21ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ReleaseCarAvailabilityRequestValidatorSpec | 4✅ | 227ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ReserveCarIfAvailableRequestValidatorSpec | 6✅ | 44ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ScheduleMaintenanceCarRequestValidatorSpec | 4✅ | 232ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllAvailableCarsRequestValidatorSpec | 4✅ | 27ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllCarsRequestValidatorSpec | 1✅ | 198ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllUnavailabilitiesRequestValidatorSpec | 1✅ | 3ms | ||
CarsInfrastructure.UnitTests.Api.Cars.TakeOfflineCarRequestValidatorSpec | 4✅ | 42ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_00_58.trx
48 tests were completed in 7s with 48 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRule001 | 34✅ | 4s | ||
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRule002 | 14✅ | 3s |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_01.trx
34 tests were completed in 3s with 34 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Generators.Web.Api.UnitTests.MinimalApiMediatRGeneratorSpec+GivenAServiceClass | 12✅ | 1s | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAnyClass | 10✅ | 922ms | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass | 8✅ | 848ms | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass+GivenAServiceOperation | 4✅ | 1s |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_01[1].trx
127 tests were completed in 5s with 127 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Hosting.Common.UnitTests.AnonymousCallerContextSpec | 2✅ | 85ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenEncryptedSettings | 1✅ | 2ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenNoEncryptedSettings | 1✅ | 36ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.AspNetCallerContextSpec | 23✅ | 121ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.APIKeyAuthenticationHandlerSpec | 5✅ | 453ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.HMACAuthenticationHandlerSpec | 5✅ | 62ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationHandlerSpec | 11✅ | 22ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationPolicyProviderSpec | 2✅ | 18ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFMiddlewareSpec | 15✅ | 328ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFServiceSpec | 10✅ | 4ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFTokenPairSpec | 22✅ | 238ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAnonymousUser | 5✅ | 539ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAuthenticatedUser | 7✅ | 316ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnyCaller | 5✅ | 470ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.ReverseProxyMiddlewareSpec | 3✅ | 231ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.SubDomainModulesSpec | 10✅ | 2s |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_03.trx
22 tests were completed in 1s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BookingsDomain.UnitTests.BookingRootSpec | 9✅ | 105ms | ||
BookingsDomain.UnitTests.LocationSpec | 2✅ | 25ms | ||
BookingsDomain.UnitTests.TripEntitySpec | 8✅ | 88ms | ||
BookingsDomain.UnitTests.TripsSpec | 3✅ | 76ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_03[1].trx
17 tests were completed in 2s with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsApplication.UnitTests.CarsApplicationSpec | 17✅ | 270ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_03[2].trx
80 tests were completed in 4s with 80 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsDomain.UnitTests.CarRootSpec | 35✅ | 496ms | ||
CarsDomain.UnitTests.CausedBySpec | 4✅ | 6ms | ||
CarsDomain.UnitTests.JurisdictionSpec | 3✅ | 25ms | ||
CarsDomain.UnitTests.LicensePlateSpec | 3✅ | 1ms | ||
CarsDomain.UnitTests.ManufacturerSpec | 3✅ | 2ms | ||
CarsDomain.UnitTests.NumberPlateSpec | 3✅ | 2ms | ||
CarsDomain.UnitTests.TimeSlotSpec | 4✅ | 4ms | ||
CarsDomain.UnitTests.UnavailabilityEntitySpec | 13✅ | 390ms | ||
CarsDomain.UnitTests.VehicleManagersSpec | 6✅ | 11ms | ||
CarsDomain.UnitTests.VehicleOwnerSpec | 2✅ | 1ms | ||
CarsDomain.UnitTests.YearSpec | 4✅ | 2ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_05.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_05[1].trx
10 tests were completed in 2s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BookingsInfrastructure.UnitTests.Api.Bookings.CancelBookingRequestValidatorSpec | 1✅ | 118ms | ||
BookingsInfrastructure.UnitTests.Api.Bookings.MakeBookingRequestValidatorSpec | 5✅ | 137ms | ||
BookingsInfrastructure.UnitTests.Api.Bookings.SearchAllBookingsRequestValidatorSpec | 4✅ | 110ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_05[2].trx
8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BookingsApplication.UnitTests.BookingsApplicationSpec | 8✅ | 215ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_07.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_07[1].trx
11 tests were completed in 2s with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Common.UnitTests.DomainFactorySpec | 9✅ | 135ms | ||
Infrastructure.Common.UnitTests.DomainServices.AesEncryptionServiceSpec | 2✅ | 20ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_07[2].trx
44 tests were completed in 2s with 44 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Persistence.Interfaces.UnitTests.CommandEntitySpec | 22✅ | 206ms | ||
Infrastructure.Persistence.Interfaces.UnitTests.PersistedEntityMetadataSpec | 12✅ | 42ms | ||
Infrastructure.Persistence.Interfaces.UnitTests.QueryEntitySpec | 10✅ | 148ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_09.trx
8 tests were completed in 2s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Application.Persistence.Common.UnitTests.QueryAnyExtensionsSpec | 8✅ | 29ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_09[1].trx
19 tests were completed in 2s with 19 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Eventing.Common.UnitTests.Notifications.EventNotificationNotifierSpec | 7✅ | 163ms | ||
Infrastructure.Eventing.Common.UnitTests.Projections.ProjectionCheckpointRepositorySpec | 4✅ | 217ms | ||
Infrastructure.Eventing.Common.UnitTests.Projections.ReadModelProjectorSpec | 8✅ | 166ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_09[2].trx
135 tests were completed in 4s with 135 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Persistence.Common.UnitTests.BlobStoreSpec | 9✅ | 28ms | ||
Infrastructure.Persistence.Common.UnitTests.EventSourcingDddCommandStoreSpec | 7✅ | 427ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.DynamicLinqWhereExtensionsSpec | 3✅ | 3ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.EventNotifyingStoreExtensionsSpec | 4✅ | 552ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec | 6✅ | 3ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.StoreExtensionsSpec | 21✅ | 1s | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.TypeExtensionsSpec | 15✅ | 63ms | ||
Infrastructure.Persistence.Common.UnitTests.MessageQueueStoreSpec | 5✅ | 1s | ||
Infrastructure.Persistence.Common.UnitTests.ReadModelProjectionStoreSpec | 9✅ | 45ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingDddCommandStoreSpec | 20✅ | 116ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingQueryStoreSpec | 12✅ | 470ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingStoreSpec | 24✅ | 449ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_11.trx
22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryInfrastructure.UnitTests.Api.Audits.DeliverAuditRequestValidatorSpec | 2✅ | 2ms | ||
AncillaryInfrastructure.UnitTests.Api.Emails.DeliverEmailRequestValidatorSpec | 2✅ | 2ms | ||
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec | 2✅ | 30ms | ||
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagRequestValidatorSpec | 6✅ | 220ms | ||
AncillaryInfrastructure.UnitTests.Api.Provisionings.NotifyProvisioningRequestValidatorSpec | 2✅ | 61ms | ||
AncillaryInfrastructure.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec | 3✅ | 15ms | ||
AncillaryInfrastructure.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec | 3✅ | 21ms | ||
AncillaryInfrastructure.UnitTests.Api.Usages.DeliverUsageRequestValidatorSpec | 2✅ | 20ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_11[1].trx
72 tests were completed in 2s with 72 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Domain.Shared.UnitTests.EmailAddressSpec | 10✅ | 9ms | ||
Domain.Shared.UnitTests.FeatureSpec | 4✅ | 13ms | ||
Domain.Shared.UnitTests.FeaturesSpec | 23✅ | 33ms | ||
Domain.Shared.UnitTests.NameSpec | 2✅ | 0ms | ||
Domain.Shared.UnitTests.PersonDisplayNameSpec | 2✅ | 1ms | ||
Domain.Shared.UnitTests.PersonNameSpec | 4✅ | 31ms | ||
Domain.Shared.UnitTests.RoleSpec | 4✅ | 1ms | ||
Domain.Shared.UnitTests.RolesSpec | 23✅ | 26ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_12.trx
27 tests were completed in 2s with 27 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryApplication.UnitTests.AncillaryApplicationSpec | 24✅ | 416ms | ||
AncillaryApplication.UnitTests.FeatureFlagsApplicationSpec | 3✅ | 145ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_13.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14.trx
25 tests were completed in 2s with 25 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryDomain.UnitTests.AuditRootSpec | 1✅ | 79ms | ||
AncillaryDomain.UnitTests.DeliveryAttemptsSpec | 6✅ | 39ms | ||
AncillaryDomain.UnitTests.EmailDeliverRootSpec | 12✅ | 132ms | ||
AncillaryDomain.UnitTests.EmailRecipientSpec | 2✅ | 39ms | ||
AncillaryDomain.UnitTests.QueuedMessageIdSpec | 3✅ | 28ms | ||
AncillaryDomain.UnitTests.TemplateArgumentsSpec | 1✅ | 1ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[1].trx
No tests found
❌ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].trx
275 tests were completed in 10s with 258 passed, 15 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule030 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule031 | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule032 | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule033 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule034 | 3✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule035 | 1✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule036 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule040 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule041 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule042 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule043 | 3✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule044 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule045 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenAnyRule | 5✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule010 | 18✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule011And012 | 6✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule013AndRule017 | 3✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule014 | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule015 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule016 | 35✅ | 8s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule018AndRule019 | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel | 1❌ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 | 1❌ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 | 1❌ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 | 3❌ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 | 1❌ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 | 3❌ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025 | 7✅ | 5❌ | 2s | |
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenAnyResource | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule010 | 1✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 | 3✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule012 | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule013 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule014 | 22✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenAnyDomainEvent | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule040 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule041 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 | 3✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule044 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule045 | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule046 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule047 | 18✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule048 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule049 | 8✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule020 | 3✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule021 | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule022 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule023 | 2✅ | 8s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule024 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule025 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule026 | 4✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule027 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnyRule | 4✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule010 | 3✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule011 | 4✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule012 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule013 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule014 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule015 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule016 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule017 | 4✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule018 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule030 | 3✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule031 | 4✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule032 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule033 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule034 | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule035 | 6✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule036 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule020 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule023 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule025 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule027 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule010 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule014 | 2✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule015 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule016 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule018 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule030 | 2✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule033 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule035 | 2⚪ | 2ms | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule036 | 1✅ | 2s |
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel
❌ WhenComplete_ThenNoAlert
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
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,16): warning SAASAPP020: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP020).WithSpan(8, 16, 8, 22).WithArguments("AClass"),
// /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+GivenRule021
❌ WhenMissingEntityNameAttribute_ThenAlerts
System.InvalidOperationException : Context: Verifying exclusions in '#pragma warning disable' code
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+GivenRule022
❌ WhenHasCtorAndIsParameterless_ThenNoAlert
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"),
❌ WhenHasCtorAndNotParameterless_ThenAlerts
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"),
❌ WhenHasCtorAndPrivate_ThenAlerts
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
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
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"),
❌ WhenAnyPropertyIsOptionalAndInitialized_ThenNoAlert
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"),
❌ WhenAnyPropertyIsOptionalAndNotInitialized_ThenNoAlert
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+GivenRule025
✅ WhenAnyPropertyIsEnum_ThenNoAlert
✅ WhenAnyPropertyIsNotSupportedDictionaryKeyType_ThenAlerts
✅ WhenAnyPropertyIsNotSupportedDictionaryOfPrimitive_ThenAlerts
✅ WhenAnyPropertyIsNotSupportedListOfPrimitive_ThenAlerts
✅ WhenAnyPropertyIsNotSupportedPrimitive_ThenAlerts
✅ WhenAnyPropertyIsOptionalValueObject_ThenNoAlert
❌ WhenAnyPropertyIsSupportedDictionaryOfPrimitive_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,49): 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, 49, 12, 58).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsSupportedListOfPrimitive_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,35): 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, 35, 12, 44).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsSupportedOptionalNullablePrimitive_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,32): 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, 32, 12, 41).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsSupportedOptionalPrimitive_ThenNoAlert
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"),
❌ WhenAnyPropertyIsSupportedPrimitive_ThenNoAlert
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"),
✅ WhenAnyPropertyIsValueObject_ThenNoAlert
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_16.trx
32 tests were completed in 2s with 32 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenAnUntypedResponse | 8✅ | 179ms | ||
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenATypedResponse | 7✅ | 230ms | ||
Infrastructure.Web.Common.UnitTests.Extensions.ResponseProblemExtensionsSpec | 17✅ | 64ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_17.trx
58 tests were completed in 2s with 58 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenOnlyPlatformConfiguration | 10✅ | 38ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenTenancyAndNoPlatformConfiguration | 10✅ | 216ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.AspNetDynamicConfigurationSettingsSpec+GivenTenancyAndPlatformConfiguration | 10✅ | 9ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.EventHandlerBaseSpec | 4✅ | 72ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Notifications.InProcessSynchronousNotificationRelaySpec | 2✅ | 111ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.Eventing.Projections.InProcessSynchronousProjectionRelaySpec | 2✅ | 64ms | ||
Infrastructure.Hosting.Common.UnitTests.ApplicationServices.HostSettingsSpec | 6✅ | 81ms | ||
Infrastructure.Hosting.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec | 7✅ | 80ms | ||
Infrastructure.Hosting.Common.UnitTests.Recording.HostRecorderSpec | 7✅ | 221ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_19.trx
40 tests were completed in 4s with 40 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec+GivenAnotherProvider | 7✅ | 3ms | ||
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticateRequestValidatorSpec+GivenCredentialsProvider | 6✅ | 96ms | ||
Infrastructure.Web.Website.UnitTests.Api.AuthN.AuthenticationApiSpec | 4✅ | 213ms | ||
Infrastructure.Web.Website.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec | 2✅ | 9ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordCrashRequestValidatorSpec | 2✅ | 2ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec | 3✅ | 4ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordPageViewRequestValidatorSpec | 2✅ | 67ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordTraceRequestValidatorSpec | 4✅ | 114ms | ||
Infrastructure.Web.Website.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec | 3✅ | 71ms | ||
Infrastructure.Web.Website.UnitTests.Application.AuthenticationApplicationSpec | 5✅ | 174ms | ||
Infrastructure.Web.Website.UnitTests.Application.FeatureFlagsApplicationSpec | 2✅ | 180ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_22.trx
53 tests were completed in 5s with 53 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
IdentityInfrastructure.UnitTests.Api.AuthTokens.RefreshTokenRequestValidatorSpec | 2✅ | 67ms | ||
IdentityInfrastructure.UnitTests.Api.AuthTokens.RevokeRefreshTokenRequestValidatorSpec | 2✅ | 4ms | ||
IdentityInfrastructure.UnitTests.Api.MachineCredentials.RegisterMachineRequestValidatorSpec | 9✅ | 22ms | ||
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticatePasswordRequestValidatorSpec | 4✅ | 6ms | ||
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.AuthenticateSingleSignOnRequestValidatorSpec | 6✅ | 6ms | ||
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.ConfirmPersonRegistrationRequestValidatorSpec | 3✅ | 3ms | ||
IdentityInfrastructure.UnitTests.Api.PasswordCredentials.RegisterPersonRequestValidatorSpec | 13✅ | 248ms | ||
IdentityInfrastructure.UnitTests.ApplicationServices.FakeSSOAuthenticationProviderSpec | 3✅ | 359ms | ||
IdentityInfrastructure.UnitTests.ApplicationServices.JWTTokensServiceSpec | 1✅ | 145ms | ||
IdentityInfrastructure.UnitTests.DomainServices.EmailAddressServiceSpec | 3✅ | 455ms | ||
IdentityInfrastructure.UnitTests.DomainServices.PasswordHasherServiceSpec | 7✅ | 3s |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_23.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_25.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_25[1].trx
37 tests were completed in 2s with 37 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
IdentityApplication.UnitTests.APIKeysApplicationSpec | 6✅ | 90ms | ||
IdentityApplication.UnitTests.AuthTokensApplicationSpec | 6✅ | 158ms | ||
IdentityApplication.UnitTests.MachineCredentialsApplicationSpec | 1✅ | 109ms | ||
IdentityApplication.UnitTests.PasswordCredentialsApplicationSpec | 12✅ | 128ms | ||
IdentityApplication.UnitTests.SingleSignOnApplicationSpec | 6✅ | 182ms | ||
IdentityApplication.UnitTests.SSOProvidersServiceSpec+GivenAuthProviders | 4✅ | 233ms | ||
IdentityApplication.UnitTests.SSOProvidersServiceSpec+GivenNoAuthProviders | 2✅ | 2ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_26.trx
6 tests were completed in 1s with 6 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Shared.UnitTests.DomainServices.TokensServiceSpec | 6✅ | 26ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_27.trx
38 tests were completed in 2s with 38 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
EndUsersDomain.UnitTests.EndUserRootSpec | 22✅ | 149ms | ||
EndUsersDomain.UnitTests.MembershipSpec | 5✅ | 109ms | ||
EndUsersDomain.UnitTests.MembershipsSpec | 11✅ | 109ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_27[1].trx
13 tests were completed in 2s with 13 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
EndUsersApplication.UnitTests.EndUsersApplicationSpec | 13✅ | 412ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_27[2].trx
98 tests were completed in 17s with 98 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
IdentityDomain.UnitTests.APIKeyKeepSpec | 11✅ | 528ms | ||
IdentityDomain.UnitTests.APIKeyRootSpec | 9✅ | 596ms | ||
IdentityDomain.UnitTests.AuthTokensRootSpec | 9✅ | 25ms | ||
IdentityDomain.UnitTests.LoginMonitorSpec | 14✅ | 14s | ||
IdentityDomain.UnitTests.PasswordCredentialRootSpec | 25✅ | 196ms | ||
IdentityDomain.UnitTests.PasswordKeepSpec | 23✅ | 791ms | ||
IdentityDomain.UnitTests.SSOAuthTokenSpec | 2✅ | 3ms | ||
IdentityDomain.UnitTests.SSOUserRootSpec | 2✅ | 112ms | ||
IdentityDomain.UnitTests.VerificationSpec | 3✅ | 6ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_29.trx
4 tests were completed in 2s with 4 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
EndUsersInfrastructure.UnitTests.Api.EndUsers.AssignPlatformRolesRequestValidatorSpec | 4✅ | 85ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_29[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_30.trx
1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Generators.Web.Api.Authorization.UnitTests.AuthorizationAttributeGeneratorSpec+GivenAuthorizationClasses | 1✅ | 523ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_31.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_31[1].trx
1 tests were completed in 2s with 1 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Generators.Common.UnitTests.FeatureFlagGeneratorSpec+GivenFeatureFlagsResources | 1✅ | 244ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_32.trx
19 tests were completed in 1s with 19 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
OrganizationsDomain.UnitTests.DisplayNameSpec | 2✅ | 30ms | ||
OrganizationsDomain.UnitTests.OrganizationRootSpec | 3✅ | 122ms | ||
OrganizationsDomain.UnitTests.SettingSpec | 10✅ | 117ms | ||
OrganizationsDomain.UnitTests.SettingsSpec | 4✅ | 29ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_32[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_33.trx
8 tests were completed in 1s with 8 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
OrganizationsApplication.UnitTests.OrganizationsApplicationSpec | 8✅ | 198ms |
✅ src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_33[1].trx
2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel ► WhenComplete_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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"),
Raw output
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.NoDiagnosticExists[TAnalyzer](String inputSnippet) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 132
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenAnyReadModel.WhenComplete_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 741
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 ► WhenIsNotPublic_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,16): warning SAASAPP020: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP020).WithSpan(8, 16, 8, 22).WithArguments("AClass"),
// /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"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,16): warning SAASAPP020: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP020).WithSpan(8, 16, 8, 22).WithArguments("AClass"),
// /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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, ValueTuple`3 expected1, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 147
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, Int32 locationX, Int32 locationY, String argument, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 87
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule020.WhenIsNotPublic_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 763
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 ► WhenMissingEntityNameAttribute_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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(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"),
Raw output
System.InvalidOperationException : Context: Verifying exclusions in '#pragma warning disable' code
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifySuppressionDiagnosticsAsync(ImmutableArray`1 analyzers, ValueTuple`2[] sources, EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 330
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 275
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, ValueTuple`3 expected1, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 147
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, Int32 locationX, Int32 locationY, String argument, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 87
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule021.WhenMissingEntityNameAttribute_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 785
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndIsParameterless_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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"),
Raw output
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.NoDiagnosticExists[TAnalyzer](String inputSnippet) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 132
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule022.WhenHasCtorAndIsParameterless_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 861
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndNotParameterless_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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"),
Raw output
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, ValueTuple`3 expected1, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 147
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, Int32 locationX, Int32 locationY, String argument, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 87
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule022.WhenHasCtorAndNotParameterless_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 813
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndPrivate_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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"),
Raw output
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, ValueTuple`3 expected1, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 147
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, Int32 locationX, Int32 locationY, String argument, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 87
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule022.WhenHasCtorAndPrivate_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 837
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 ► WhenAnyPropertyHasNoSetter_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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"),
Raw output
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, ValueTuple`3 expected1, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 147
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, Int32 locationX, Int32 locationY, String argument, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 87
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule023.WhenAnyPropertyHasNoSetter_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 883
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsNullable_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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"),
Raw output
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, ValueTuple`3 expected1, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 147
at Tools.Analyzers.NonPlatform.UnitTests.Verify.DiagnosticExists[TAnalyzer](DiagnosticDescriptor descriptor, String inputSnippet, Int32 locationX, Int32 locationY, String argument, Object[] messageArgs) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 87
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule024.WhenAnyPropertyIsNullable_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 906
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsOptionalAndInitialized_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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"),
Raw output
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.NoDiagnosticExists[TAnalyzer](String inputSnippet) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 132
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule024.WhenAnyPropertyIsOptionalAndInitialized_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 945
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsOptionalAndNotInitialized_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].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"),
Raw output
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"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.NoDiagnosticExists[TAnalyzer](String inputSnippet) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 132
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule024.WhenAnyPropertyIsOptionalAndNotInitialized_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 925
--- End of stack trace from previous location ---
Check failure on line 166 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025 ► WhenAnyPropertyIsSupportedDictionaryOfPrimitive_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1258-503_2024-03-20_04_01_14[2].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,49): 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, 49, 12, 58).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,49): 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, 49, 12, 58).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 166
at Tools.Analyzers.NonPlatform.UnitTests.Verify.NoDiagnosticExists[TAnalyzer](String inputSnippet) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 132
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule025.WhenAnyPropertyIsSupportedDictionaryOfPrimitive_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 1211
--- End of stack trace from previous location ---