Added MFA support for PasswordCredentials. Closes #52 #383
All Tests ✅
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_46.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_46[1].trx
345 tests were completed in 21s with 345 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Common.UnitTests.CountryCodesSpec | 12✅ | 144ms | ||
Common.UnitTests.CurrencyCodesSpec | 13✅ | 213ms | ||
Common.UnitTests.ErrorSpec | 10✅ | 16ms | ||
Common.UnitTests.Extensions.CollectionExtensionsSpec | 6✅ | 2ms | ||
Common.UnitTests.Extensions.DateTimeExtensionsSpec | 44✅ | 359ms | ||
Common.UnitTests.Extensions.DictionaryExtensionsSpec | 15✅ | 639ms | ||
Common.UnitTests.Extensions.EnumExtensionsSpec | 10✅ | 148ms | ||
Common.UnitTests.Extensions.ObjectExtensionsSpec | 16✅ | 683ms | ||
Common.UnitTests.Extensions.StringExtensionsSpec | 66✅ | 2s | ||
Common.UnitTests.Extensions.TimeSpanExtensionsSpec | 7✅ | 589ms | ||
Common.UnitTests.OptionalOfTSpec | 58✅ | 1s | ||
Common.UnitTests.OptionalSpec | 23✅ | 866ms | ||
Common.UnitTests.Recording.RecordingExtensionsSpec | 2✅ | 1s | ||
Common.UnitTests.ReflectorSpec | 3✅ | 125ms | ||
Common.UnitTests.ResultSpec+ResultWithoutValueSpec | 14✅ | 820ms | ||
Common.UnitTests.ResultSpec+ResultWithValueSpec | 31✅ | 3s | ||
Common.UnitTests.SubscriptionMetadataSpec | 9✅ | 9ms | ||
Common.UnitTests.TimezonesSpec | 6✅ | 88ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_47.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_49.trx
35 tests were completed in 2s with 35 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsInfrastructure.UnitTests.Api.Cars.DeleteCarRequestValidatorSpec | 1✅ | 137ms | ||
CarsInfrastructure.UnitTests.Api.Cars.GetCarRequestValidatorSpec | 1✅ | 137ms | ||
CarsInfrastructure.UnitTests.Api.Cars.RegisterCarRequestValidatorSpec | 9✅ | 15ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ReleaseCarAvailabilityRequestValidatorSpec | 4✅ | 205ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ReserveCarIfAvailableRequestValidatorSpec | 6✅ | 71ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ScheduleMaintenanceCarRequestValidatorSpec | 4✅ | 27ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllAvailableCarsRequestValidatorSpec | 4✅ | 75ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllCarsRequestValidatorSpec | 1✅ | 67ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllUnavailabilitiesRequestValidatorSpec | 1✅ | 15ms | ||
CarsInfrastructure.UnitTests.Api.Cars.TakeOfflineCarRequestValidatorSpec | 4✅ | 135ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_49[1].trx
256 tests were completed in 22s with 256 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenAPolicy | 5✅ | 39ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenPlatformAuthorization | 9✅ | 43ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenRolesAndFeatures | 9✅ | 13ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenTenantAuthorization | 7✅ | 23ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ApiUsageFilterSpec | 5✅ | 99ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ContentNegotiationFilterSpec | 28✅ | 4s | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.MultiTenancyFilterSpec | 7✅ | 123ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.RequestCorrelationFilterSpec | 3✅ | 5ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasGetOptionsExtensionsSpec | 6✅ | 5ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasSearchOptionsExtensionsSpec | 9✅ | 9ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpRequestExtensionsSpec | 41✅ | 222ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpResponseExtensionsSpec | 3✅ | 4ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.RequestExtensionsSpec | 20✅ | 155ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec | 5✅ | 14ms | ||
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenAnyUpload | 4✅ | 5ms | ||
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenKnownFile | 7✅ | 598ms | ||
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenUnknownFile | 3✅ | 2ms | ||
Infrastructure.Web.Api.Common.UnitTests.HasGetOptionsSpec | 4✅ | 7ms | ||
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenARequest | 5✅ | 5ms | ||
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenASigner | 3✅ | 3s | ||
Infrastructure.Web.Api.Common.UnitTests.JsonDateTimeConverterSpec | 6✅ | 6ms | ||
Infrastructure.Web.Api.Common.UnitTests.Pipeline.ValidationBehaviorSpec | 2✅ | 3s | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenAnUntenantedRequestDto | 10✅ | 239ms | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenAnyRequestDto | 3✅ | 5ms | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenATenantedOrganizationRequestDto | 6✅ | 18ms | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenATenantedRequestDto | 6✅ | 4s | ||
Infrastructure.Web.Api.Common.UnitTests.StatusCodeSpec | 3✅ | 124ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.AdditionalValidatorSpec | 5✅ | 59ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.HasGetOptionsValidatorSpec | 10✅ | 170ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.HasSearchOptionsValidatorSpec | 15✅ | 62ms | ||
Infrastructure.Web.Api.Common.UnitTests.WebRequestSpec+GivenAJsonRequest | 3✅ | 15ms | ||
Infrastructure.Web.Api.Common.UnitTests.WebRequestSpec+GivenAMultiPartFormRequest | 4✅ | 113ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_51.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_53.trx
22 tests were completed in 3s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Application.Interfaces.UnitTests.Extensions.GetOptionsExtensionsSpec | 6✅ | 74ms | ||
Application.Interfaces.UnitTests.Extensions.SearchOptionsExtensionsSpec | 5✅ | 26ms | ||
Application.Interfaces.UnitTests.SearchOptionsSpec | 11✅ | 537ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_53[1].trx
111 tests were completed in 3s with 111 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Domain.Interfaces.UnitTests.Authorization.FeatureLevelSpec | 14✅ | 6ms | ||
Domain.Interfaces.UnitTests.Authorization.PlatformFeaturesSpec | 1✅ | 17ms | ||
Domain.Interfaces.UnitTests.Authorization.PlatformRolesSpec | 2✅ | 16ms | ||
Domain.Interfaces.UnitTests.Authorization.RoleLevelSpec | 14✅ | 3ms | ||
Domain.Interfaces.UnitTests.Authorization.TenantFeaturesSpec | 1✅ | 68ms | ||
Domain.Interfaces.UnitTests.Authorization.TenantRolesSpec | 2✅ | 19ms | ||
Domain.Interfaces.UnitTests.Extensions.HierarchicalLevelExtensionsSpec | 24✅ | 15ms | ||
Domain.Interfaces.UnitTests.HydrationPropertiesSpec | 13✅ | 134ms | ||
Domain.Interfaces.UnitTests.Validations.ValidationsSpec | 40✅ | 72ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_54.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✅ | 5ms | ||
Domain.Common.UnitTests.Entities.AggregateRootBaseSpec | 17✅ | 81ms | ||
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec | 4✅ | 52ms | ||
Domain.Common.UnitTests.Entities.EntityBaseSpec | 4✅ | 267ms | ||
Domain.Common.UnitTests.Entities.EventSourcedChangeEventExtensionsSpec | 1✅ | 101ms | ||
Domain.Common.UnitTests.Extensions.HydrationPropertiesExtensionsSpec | 6✅ | 8ms | ||
Domain.Common.UnitTests.Identity.NamePrefixedIdentifierFactorySpec | 11✅ | 10ms | ||
Domain.Common.UnitTests.MessageQueueIdFactorySpec | 8✅ | 41ms | ||
Domain.Common.UnitTests.ValueObjects.EventStreamSpec | 12✅ | 13ms | ||
Domain.Common.UnitTests.ValueObjects.IdentifierExtensionsSpec | 4✅ | 26ms | ||
Domain.Common.UnitTests.ValueObjects.IdentifierSpec | 1✅ | 139ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectComparableSpec | 40✅ | 5ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectEqualitySpec | 22✅ | 3ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectSpec | 2✅ | 26ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectComparableSpec | 23✅ | 155ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectEqualitySpec | 44✅ | 18ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectExtensionsSpec | 2✅ | 1ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectSpec | 22✅ | 19ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_57.trx
17 tests were completed in 2s with 17 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Application.Common.UnitTests.CallerSpec | 8✅ | 83ms | ||
Application.Common.UnitTests.Extensions.CallerContextExtensionsSpec | 3✅ | 89ms | ||
Application.Common.UnitTests.Extensions.FeatureFlagExtensionsSpec | 6✅ | 124ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_43_57[1].trx
36 tests were completed in 4s with 36 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Generators.Web.Api.UnitTests.MinimalApiMediatRGeneratorSpec+GivenAServiceClass | 14✅ | 2s | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAnyClass | 10✅ | 1s | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass | 8✅ | 1s | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass+GivenAServiceOperation | 4✅ | 2s |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_00.trx
81 tests were completed in 2s with 81 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsDomain.UnitTests.CarRootSpec | 35✅ | 165ms | ||
CarsDomain.UnitTests.CausedBySpec | 4✅ | 33ms | ||
CarsDomain.UnitTests.JurisdictionSpec | 3✅ | 40ms | ||
CarsDomain.UnitTests.LicensePlateSpec | 3✅ | 3ms | ||
CarsDomain.UnitTests.ManufacturerSpec | 3✅ | 2ms | ||
CarsDomain.UnitTests.NumberPlateSpec | 3✅ | 7ms | ||
CarsDomain.UnitTests.TimeSlotSpec | 4✅ | 3ms | ||
CarsDomain.UnitTests.UnavailabilitySpec | 14✅ | 75ms | ||
CarsDomain.UnitTests.VehicleManagersSpec | 6✅ | 51ms | ||
CarsDomain.UnitTests.VehicleOwnerSpec | 2✅ | 1ms | ||
CarsDomain.UnitTests.YearSpec | 4✅ | 3ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_01.trx
140 tests were completed in 8s with 140 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Hosting.Common.UnitTests.AnonymousCallerContextSpec | 2✅ | 3ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenEncryptedSettings | 1✅ | 2ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenNoEncryptedSettings | 1✅ | 37ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.AspNetCallerContextSpec | 23✅ | 219ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.APIKeyAuthenticationHandlerSpec | 6✅ | 1s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.HMACAuthenticationHandlerSpec | 5✅ | 1s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationHandlerSpec | 11✅ | 19ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationPolicyProviderSpec | 2✅ | 1s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Documentation.DefaultBodyFilterSpec | 4✅ | 796ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Documentation.DefaultResponsesFilterSpec | 8✅ | 973ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFMiddlewareSpec | 15✅ | 2s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFServiceSpec | 10✅ | 394ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFTokenPairSpec | 22✅ | 175ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAnonymousUser | 5✅ | 31ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAuthenticatedUser | 7✅ | 125ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnyCaller | 5✅ | 367ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.ReverseProxyMiddlewareSpec | 3✅ | 340ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.SubdomainModulesSpec | 10✅ | 5s |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_02.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✅ | 311ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_03.trx
22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BookingsDomain.UnitTests.BookingRootSpec | 9✅ | 109ms | ||
BookingsDomain.UnitTests.LocationSpec | 2✅ | 50ms | ||
BookingsDomain.UnitTests.TripSpec | 8✅ | 89ms | ||
BookingsDomain.UnitTests.TripsSpec | 3✅ | 67ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_04.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✅ | 237ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_06.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✅ | 99ms | ||
BookingsInfrastructure.UnitTests.Api.Bookings.MakeBookingRequestValidatorSpec | 5✅ | 135ms | ||
BookingsInfrastructure.UnitTests.Api.Bookings.SearchAllBookingsRequestValidatorSpec | 4✅ | 122ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_06[1].trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_08.trx
151 tests were completed in 2s with 151 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✅ | 275ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.DynamicLinqWhereExtensionsSpec | 3✅ | 34ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.EventNotifyingStoreExtensionsSpec | 4✅ | 153ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec | 6✅ | 2ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.StoreExtensionsSpec | 21✅ | 478ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.TypeExtensionsSpec | 15✅ | 37ms | ||
Infrastructure.Persistence.Common.UnitTests.MessageQueueStoreSpec | 5✅ | 133ms | ||
Infrastructure.Persistence.Common.UnitTests.ReadModelStoreSpec | 25✅ | 430ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingDddCommandStoreSpec | 20✅ | 90ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingQueryStoreSpec | 12✅ | 63ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingStoreSpec | 24✅ | 306ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_09.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_09[1].trx
45 tests were completed in 2s with 45 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Persistence.Interfaces.UnitTests.CommandEntitySpec | 23✅ | 297ms | ||
Infrastructure.Persistence.Interfaces.UnitTests.PersistedEntityMetadataSpec | 12✅ | 118ms | ||
Infrastructure.Persistence.Interfaces.UnitTests.QueryEntitySpec | 10✅ | 208ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_11.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✅ | 157ms | ||
Infrastructure.Common.UnitTests.DomainServices.AesEncryptionServiceSpec | 2✅ | 23ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_11[1].trx
15 tests were completed in 2s with 15 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Application.Persistence.Common.UnitTests.EventStreamChangedArgsSpec | 7✅ | 54ms | ||
Application.Persistence.Common.UnitTests.QueryAnyExtensionsSpec | 8✅ | 39ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_11[2].trx
26 tests were completed in 2s with 26 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Eventing.Common.UnitTests.Notifications.AsynchronousQueueConsumerRelaySpec | 2✅ | 105ms | ||
Infrastructure.Eventing.Common.UnitTests.Notifications.EventNotificationNotifierSpec | 9✅ | 101ms | ||
Infrastructure.Eventing.Common.UnitTests.Notifications.InProcessSynchronousConsumerRelaySpec | 3✅ | 106ms | ||
Infrastructure.Eventing.Common.UnitTests.Projections.InProcessSynchronousReadModelProjectorSpec | 8✅ | 190ms | ||
Infrastructure.Eventing.Common.UnitTests.Projections.ProjectionCheckpointRepositorySpec | 4✅ | 215ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_14.trx
41 tests were completed in 2s with 41 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryInfrastructure.UnitTests.Api._3rdParties.MailgunApiSpec | 7✅ | 260ms | ||
AncillaryInfrastructure.UnitTests.Api.Audits.DeliverAuditRequestValidatorSpec | 2✅ | 202ms | ||
AncillaryInfrastructure.UnitTests.Api.Emails.SearchEmailDeliveriesRequestValidatorSpec | 5✅ | 6ms | ||
AncillaryInfrastructure.UnitTests.Api.Emails.SendEmailRequestValidatorSpec | 2✅ | 201ms | ||
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec | 2✅ | 192ms | ||
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagRequestValidatorSpec | 6✅ | 158ms | ||
AncillaryInfrastructure.UnitTests.Api.Provisionings.NotifyProvisioningRequestValidatorSpec | 2✅ | 10ms | ||
AncillaryInfrastructure.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec | 3✅ | 146ms | ||
AncillaryInfrastructure.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec | 3✅ | 154ms | ||
AncillaryInfrastructure.UnitTests.Api.Smses.SearchSmsDeliveriesRequestValidatorSpec | 5✅ | 44ms | ||
AncillaryInfrastructure.UnitTests.Api.Smses.SendSmsRequestValidatorSpec | 2✅ | 2ms | ||
AncillaryInfrastructure.UnitTests.Api.Usages.DeliverUsageRequestValidatorSpec | 2✅ | 2ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_14[1].trx
119 tests were completed in 3s with 119 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Domain.Shared.UnitTests.AvatarSpec | 2✅ | 2ms | ||
Domain.Shared.UnitTests.CurrencyCodeSpec | 3✅ | 1ms | ||
Domain.Shared.UnitTests.EmailAddressSpec | 12✅ | 7ms | ||
Domain.Shared.UnitTests.FeatureSpec | 4✅ | 37ms | ||
Domain.Shared.UnitTests.FeaturesSpec | 31✅ | 108ms | ||
Domain.Shared.UnitTests.NameSpec | 2✅ | 0ms | ||
Domain.Shared.UnitTests.PersonDisplayNameSpec | 2✅ | 35ms | ||
Domain.Shared.UnitTests.PersonNameSpec | 4✅ | 5ms | ||
Domain.Shared.UnitTests.PhoneNumberSpec | 3✅ | 986ms | ||
Domain.Shared.UnitTests.RoleSpec | 4✅ | 1ms | ||
Domain.Shared.UnitTests.RolesSpec | 31✅ | 75ms | ||
Domain.Shared.UnitTests.Subscriptions.BillingProviderSpec | 9✅ | 54ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderInvoiceSpec | 2✅ | 23ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderPaymentMethodSpec | 1✅ | 4ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderPlanPeriodSpec | 1✅ | 1ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderPlanSpec | 2✅ | 3ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderStatusSpec | 3✅ | 2ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderSubscriptionSpec | 3✅ | 4ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_14[2].trx
54 tests were completed in 3s with 54 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryApplication.UnitTests.AncillaryApplicationAuditingSpec | 5✅ | 136ms | ||
AncillaryApplication.UnitTests.AncillaryApplicationEmailingSpec | 14✅ | 620ms | ||
AncillaryApplication.UnitTests.AncillaryApplicationProvisioningSpec | 5✅ | 305ms | ||
AncillaryApplication.UnitTests.AncillaryApplicationSmsingSpec | 14✅ | 827ms | ||
AncillaryApplication.UnitTests.AncillaryApplicationUsageSpec | 6✅ | 293ms | ||
AncillaryApplication.UnitTests.FeatureFlagsApplicationSpec | 3✅ | 274ms | ||
AncillaryApplication.UnitTests.MailgunApplicationSpec | 7✅ | 322ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_16.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_16[1].trx
48 tests were completed in 21s with 48 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRule001 | 34✅ | 17s | ||
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRule002 | 14✅ | 16s |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_17.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_18.trx
48 tests were completed in 2s with 48 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryDomain.UnitTests.AuditRootSpec | 1✅ | 144ms | ||
AncillaryDomain.UnitTests.EmailDeliverRootSpec | 18✅ | 131ms | ||
AncillaryDomain.UnitTests.EmailRecipientSpec | 2✅ | 23ms | ||
AncillaryDomain.UnitTests.QueuedMessageIdSpec | 3✅ | 30ms | ||
AncillaryDomain.UnitTests.SendingAttemptsSpec | 6✅ | 13ms | ||
AncillaryDomain.UnitTests.SmsDeliverRootSpec | 17✅ | 377ms | ||
AncillaryDomain.UnitTests.TemplateArgumentsSpec | 1✅ | 1ms |
✅ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20.trx
45 tests were completed in 4s with 45 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenAnUntypedResponse | 10✅ | 235ms | ||
Infrastructure.Web.Common.UnitTests.Clients.JsonClientSpec+GivenATypedResponse | 17✅ | 1s | ||
Infrastructure.Web.Common.UnitTests.Extensions.ResponseProblemExtensionsSpec | 18✅ | 248ms |
❌ src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
366 tests were completed in 11s with 286 passed, 78 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule030 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule031 | 1✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule032 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule033 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule034 | 3✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule035 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule036 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule037 | 3✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule038+GivenAGetRequest | 6✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule038+GivenAPostRequest | 6✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule040 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule041 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule042 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule043 | 3✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule044 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule045 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenAnyRule | 5✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule010 | 18✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule011And012 | 6✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule013AndRule017 | 3✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule014 | 4✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule015 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule016 | 35✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule018AndRule019 | 4✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule020 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerCodeFixSpec+GivenARequest+GivenRuleRule039 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 | 1✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 | 3✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 | 3✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025 | 12✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule030 | 4✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenAnyResource | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule010 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 | 2✅ | 1❌ | 3s | |
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule012 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule013 | 2✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule014 | 22✅ | 8s | ||
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❌ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 | 3❌ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 | 2❌ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule045 | 1❌ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule046 | 1❌ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule047 | 27❌ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule048 | 2❌ | 8s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule049 | 12❌ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule020 | 3✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule021 | 4✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule022 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule023 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule024 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule025 | 2✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule026 | 4✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule027 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnyRule | 4✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule010 | 2✅ | 1❌ | 2s | |
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule011 | 4❌ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule012 | 1✅ | 1❌ | 5s | |
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule013 | 2❌ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule014 | 2❌ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule015 | 2❌ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule016 | 2❌ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule017 | 4❌ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule018 | 2❌ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule030 | 3✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule031 | 4✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule032 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule033 | 2✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule034 | 4✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule035 | 6✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule036 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule037 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule038 | 9✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule020 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule023 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule025 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule027 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule010 | 1❌ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule014 | 2❌ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule015 | 1❌ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule016 | 1❌ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule018 | 1❌ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule030 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule033 | 2✅ | 8s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule035 | 2⚪ | 2ms | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule036 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenAnyIntegrationEvent | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule010 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule011 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule012 | 3✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule013 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule014 | 18✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule015 | 2✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule016 | 10✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnyRule | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.SubdomainModuleAnalyzerSpec+GivenAnySubdomainModule+GivenAnyRule | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.SubdomainModuleAnalyzerSpec+GivenAnySubdomainModule+GivenRule010 | 7✅ | 5s |
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011
✅ WhenHasCtorAndIsParameterless_ThenNoAlert
❌ WhenHasCtorAndNotParameterless_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASAPP011: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP011).WithSpan(5, 14, 5, 20).WithArguments("AClass"),
// /0/Test0.cs(12,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(12, 28, 12, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
✅ WhenHasCtorAndPrivate_ThenAlerts
❌ Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenAnyDomainEvent
❌ WhenNoCtor_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule040
❌ WhenIsNotPublic_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,23): warning SAASDDD040: Class 'AClassed' should be 'public'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD040).WithSpan(5, 23, 5, 31).WithArguments("AClassed"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule041
❌ WhenIsNotSealed_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASDDD041: Class 'AClassed' should be marked as 'sealed'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD041).WithSpan(5, 14, 5, 22).WithArguments("AClassed"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042
❌ WhenHasCtorAndIsParameterless_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(22,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "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 "3"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASDDD042: Class 'AClassed' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD042).WithSpan(5, 21, 5, 29).WithArguments("AClassed"),
// /0/Test0.cs(22,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "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(5,21): warning SAASDDD042: Class 'AClassed' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD042).WithSpan(5, 21, 5, 29).WithArguments("AClassed"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043
❌ WhenNamedInThePastTense_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenNotNamedInThePastTense_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASDDD043: Domain Event 'AClass' must be named in the past tense
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD043).WithSpan(5, 21, 5, 27).WithArguments("AClass"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule045
❌ WhenCreateFactoryReturnsWrongType_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(7,26): warning SAASDDD045: Factory method 'Create' must return this type: 'ANamespace.AClassed'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD045).WithSpan(7, 26, 7, 32).WithArguments("Create", "ANamespace.AClassed"),
// /0/Test0.cs(12,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(12, 28, 12, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(14,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(14, 30, 14, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule046
❌ WhenAnyPropertyHasNoSetter_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "4"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(20,20): warning SAASDDD046: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD046).WithSpan(20, 20, 20, 29).WithArguments("AProperty"),
// /0/Test0.cs(20,20): warning SAASDDD049: 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 Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(20, 20, 20, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 ► WhenHasCtorAndNotParameterless_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASAPP011: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP011).WithSpan(5, 14, 5, 20).WithArguments("AClass"),
// /0/Test0.cs(12,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(12, 28, 12, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASAPP011: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP011).WithSpan(5, 14, 5, 20).WithArguments("AClass"),
// /0/Test0.cs(12,28): warning SAASAPP014: Property 'Id' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream', or a List<T>/Dictionary<string, T> of one of those types, or be another type in the 'Application.Resources.Shared' namespace
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP014).WithSpan(12, 28, 12, 30).WithArguments("Id", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte or System.IO.Stream", "Application.Resources.Shared"),
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 178
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 159
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 103
at Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec.GivenAResource.GivenRule011.WhenHasCtorAndNotParameterless_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 75
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenAnyDomainEvent ► WhenNoCtor_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 "2"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 178
at Tools.Analyzers.NonPlatform.UnitTests.Verify.NoDiagnosticExists[TAnalyzer](String inputSnippet) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 144
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenAnyDomainEvent.WhenNoCtor_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4024
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule040 ► WhenIsNotPublic_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,23): warning SAASDDD040: Class 'AClassed' should be 'public'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD040).WithSpan(5, 23, 5, 31).WithArguments("AClassed"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 "3"
Diagnostics:
// /0/Test0.cs(5,23): warning SAASDDD040: Class 'AClassed' should be 'public'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD040).WithSpan(5, 23, 5, 31).WithArguments("AClassed"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 178
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 159
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 103
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule040.WhenIsNotPublic_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4054
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule041 ► WhenIsNotSealed_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASDDD041: Class 'AClassed' should be marked as 'sealed'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD041).WithSpan(5, 14, 5, 22).WithArguments("AClassed"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 "3"
Diagnostics:
// /0/Test0.cs(5,14): warning SAASDDD041: Class 'AClassed' should be marked as 'sealed'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD041).WithSpan(5, 14, 5, 22).WithArguments("AClassed"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 178
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 159
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 103
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule041.WhenIsNotSealed_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4085
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 ► WhenHasCtorAndIsParameterless_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(22,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "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 "2"
Diagnostics:
// /0/Test0.cs(22,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "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 178
at Tools.Analyzers.NonPlatform.UnitTests.Verify.NoDiagnosticExists[TAnalyzer](String inputSnippet) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 144
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule042.WhenHasCtorAndIsParameterless_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4188
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 ► WhenHasCtorAndNotParameterless_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASDDD042: Class 'AClassed' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD042).WithSpan(5, 21, 5, 29).WithArguments("AClassed"),
// /0/Test0.cs(22,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "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 "3"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASDDD042: Class 'AClassed' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD042).WithSpan(5, 21, 5, 29).WithArguments("AClassed"),
// /0/Test0.cs(22,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(22, 28, 22, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "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 178
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 159
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 103
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule042.WhenHasCtorAndNotParameterless_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4122
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 ► WhenHasCtorAndPrivate_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASDDD042: Class 'AClassed' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD042).WithSpan(5, 21, 5, 29).WithArguments("AClassed"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "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(5,21): warning SAASDDD042: Class 'AClassed' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD042).WithSpan(5, 21, 5, 29).WithArguments("AClassed"),
// /0/Test0.cs(24,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(24, 30, 24, 41).WithArguments("OccurredUtc", "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 178
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 159
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 103
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule042.WhenHasCtorAndPrivate_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4155
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 ► WhenNamedInThePastTense_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "2"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 "2"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 178
at Tools.Analyzers.NonPlatform.UnitTests.Verify.NoDiagnosticExists[TAnalyzer](String inputSnippet) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 144
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule043.WhenNamedInThePastTense_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4245
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 ► WhenNotNamedInThePastTense_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASDDD043: Domain Event 'AClass' must be named in the past tense
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD043).WithSpan(5, 21, 5, 27).WithArguments("AClass"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 "3"
Diagnostics:
// /0/Test0.cs(5,21): warning SAASDDD043: Domain Event 'AClass' must be named in the past tense
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD043).WithSpan(5, 21, 5, 27).WithArguments("AClass"),
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "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 178
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 159
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 103
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule043.WhenNotNamedInThePastTense_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4218
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule045 ► WhenCreateFactoryReturnsWrongType_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "3"
Diagnostics:
// /0/Test0.cs(7,26): warning SAASDDD045: Factory method 'Create' must return this type: 'ANamespace.AClassed'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD045).WithSpan(7, 26, 7, 32).WithArguments("Create", "ANamespace.AClassed"),
// /0/Test0.cs(12,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(12, 28, 12, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(14,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(14, 30, 14, 41).WithArguments("OccurredUtc", "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 "3"
Diagnostics:
// /0/Test0.cs(7,26): warning SAASDDD045: Factory method 'Create' must return this type: 'ANamespace.AClassed'
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD045).WithSpan(7, 26, 7, 32).WithArguments("Create", "ANamespace.AClassed"),
// /0/Test0.cs(12,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(12, 28, 12, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(14,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(14, 30, 14, 41).WithArguments("OccurredUtc", "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 178
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 159
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 103
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule045.WhenCreateFactoryReturnsWrongType_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4271
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule046 ► WhenAnyPropertyHasNoSetter_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az534-925_2024-11-25_19_44_20[1].trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "4"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(20,20): warning SAASDDD046: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD046).WithSpan(20, 20, 20, 29).WithArguments("AProperty"),
// /0/Test0.cs(20,20): warning SAASDDD049: 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 Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(20, 20, 20, 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 "4"
Diagnostics:
// /0/Test0.cs(16,28): warning SAASDDD049: Property 'RootId' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(16, 28, 16, 34).WithArguments("RootId", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(18,30): warning SAASDDD049: Property 'OccurredUtc' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(18, 30, 18, 41).WithArguments("OccurredUtc", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
// /0/Test0.cs(20,20): warning SAASDDD046: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD046).WithSpan(20, 20, 20, 29).WithArguments("AProperty"),
// /0/Test0.cs(20,20): warning SAASDDD049: 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 Enum, or a List<T>/Dictionary<string, T> of one of those types, or another DTO
VerifyCS.Diagnostic(DomainDrivenDesignAnalyzer.SAASDDD049).WithSpan(20, 20, 20, 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 178
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 159
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 103
at Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec.GivenADomainEvent.GivenRule046.WhenAnyPropertyHasNoSetter_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\DomainDrivenDesignAnalyzerSpec.cs:line 4304
--- End of stack trace from previous location ---