Fixed typos in global build properties #321
All Tests ✅
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_20_53.trx
345 tests were completed in 4s with 345 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Common.UnitTests.CountryCodesSpec | 12✅ | 65ms | ||
Common.UnitTests.CurrencyCodesSpec | 13✅ | 92ms | ||
Common.UnitTests.ErrorSpec | 10✅ | 56ms | ||
Common.UnitTests.Extensions.CollectionExtensionsSpec | 6✅ | 2ms | ||
Common.UnitTests.Extensions.DateTimeExtensionsSpec | 44✅ | 15ms | ||
Common.UnitTests.Extensions.DictionaryExtensionsSpec | 15✅ | 400ms | ||
Common.UnitTests.Extensions.EnumExtensionsSpec | 10✅ | 66ms | ||
Common.UnitTests.Extensions.ObjectExtensionsSpec | 16✅ | 395ms | ||
Common.UnitTests.Extensions.StringExtensionsSpec | 66✅ | 74ms | ||
Common.UnitTests.Extensions.TimeSpanExtensionsSpec | 7✅ | 12ms | ||
Common.UnitTests.OptionalOfTSpec | 58✅ | 50ms | ||
Common.UnitTests.OptionalSpec | 23✅ | 10ms | ||
Common.UnitTests.Recording.RecordingExtensionsSpec | 2✅ | 425ms | ||
Common.UnitTests.ReflectorSpec | 3✅ | 97ms | ||
Common.UnitTests.ResultSpec+ResultWithoutValueSpec | 14✅ | 14ms | ||
Common.UnitTests.ResultSpec+ResultWithValueSpec | 31✅ | 72ms | ||
Common.UnitTests.SubscriptionMetadataSpec | 9✅ | 5ms | ||
Common.UnitTests.TimezonesSpec | 6✅ | 304ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_20_54.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_20_56.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_20_56[1].trx
256 tests were completed in 9s with 256 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenAPolicy | 5✅ | 21ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenPlatformAuthorization | 9✅ | 22ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenRolesAndFeatures | 9✅ | 773ms | ||
Infrastructure.Web.Api.Common.UnitTests.AuthorizeAttributeSpec+GivenTenantAuthorization | 7✅ | 28ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ApiUsageFilterSpec | 5✅ | 405ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.ContentNegotiationFilterSpec | 28✅ | 107ms | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.MultiTenancyFilterSpec | 7✅ | 1s | ||
Infrastructure.Web.Api.Common.UnitTests.Endpoints.RequestCorrelationFilterSpec | 3✅ | 3s | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasGetOptionsExtensionsSpec | 6✅ | 3ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HasSearchOptionsExtensionsSpec | 9✅ | 2s | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpRequestExtensionsSpec | 41✅ | 157ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.HttpResponseExtensionsSpec | 3✅ | 1ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.RequestExtensionsSpec | 20✅ | 626ms | ||
Infrastructure.Web.Api.Common.UnitTests.Extensions.ServiceCollectionExtensionsSpec | 5✅ | 10ms | ||
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenAnyUpload | 4✅ | 5ms | ||
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenKnownFile | 7✅ | 1s | ||
Infrastructure.Web.Api.Common.UnitTests.FileUploadServiceSpec+GivenUnknownFile | 3✅ | 53ms | ||
Infrastructure.Web.Api.Common.UnitTests.HasGetOptionsSpec | 4✅ | 9ms | ||
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenARequest | 5✅ | 25ms | ||
Infrastructure.Web.Api.Common.UnitTests.HMACSignerSpec+GivenASigner | 3✅ | 4ms | ||
Infrastructure.Web.Api.Common.UnitTests.JsonDateTimeConverterSpec | 6✅ | 13ms | ||
Infrastructure.Web.Api.Common.UnitTests.Pipeline.ValidationBehaviorSpec | 2✅ | 263ms | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenAnUntenantedRequestDto | 10✅ | 3s | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenAnyRequestDto | 3✅ | 2ms | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenATenantedOrganizationRequestDto | 6✅ | 28ms | ||
Infrastructure.Web.Api.Common.UnitTests.RequestTenantDetectiveSpec+GivenATenantedRequestDto | 6✅ | 681ms | ||
Infrastructure.Web.Api.Common.UnitTests.StatusCodeSpec | 3✅ | 225ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.AdditionalValidatorSpec | 5✅ | 107ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.HasGetOptionsValidatorSpec | 10✅ | 61ms | ||
Infrastructure.Web.Api.Common.UnitTests.Validation.HasSearchOptionsValidatorSpec | 15✅ | 67ms | ||
Infrastructure.Web.Api.Common.UnitTests.WebRequestSpec+GivenAJsonRequest | 3✅ | 1s | ||
Infrastructure.Web.Api.Common.UnitTests.WebRequestSpec+GivenAMultiPartFormRequest | 4✅ | 4ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_20_57.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_20_57[1].trx
35 tests were completed in 3s with 35 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsInfrastructure.UnitTests.Api.Cars.DeleteCarRequestValidatorSpec | 1✅ | 238ms | ||
CarsInfrastructure.UnitTests.Api.Cars.GetCarRequestValidatorSpec | 1✅ | 57ms | ||
CarsInfrastructure.UnitTests.Api.Cars.RegisterCarRequestValidatorSpec | 9✅ | 233ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ReleaseCarAvailabilityRequestValidatorSpec | 4✅ | 7ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ReserveCarIfAvailableRequestValidatorSpec | 6✅ | 20ms | ||
CarsInfrastructure.UnitTests.Api.Cars.ScheduleMaintenanceCarRequestValidatorSpec | 4✅ | 27ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllAvailableCarsRequestValidatorSpec | 4✅ | 10ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllCarsRequestValidatorSpec | 1✅ | 186ms | ||
CarsInfrastructure.UnitTests.Api.Cars.SearchAllUnavailabilitiesRequestValidatorSpec | 1✅ | 4ms | ||
CarsInfrastructure.UnitTests.Api.Cars.TakeOfflineCarRequestValidatorSpec | 4✅ | 254ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_20_59.trx
22 tests were completed in 2s with 22 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Application.Interfaces.UnitTests.Extensions.GetOptionsExtensionsSpec | 6✅ | 63ms | ||
Application.Interfaces.UnitTests.Extensions.SearchOptionsExtensionsSpec | 5✅ | 68ms | ||
Application.Interfaces.UnitTests.SearchOptionsSpec | 11✅ | 821ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_01.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✅ | 7ms | ||
Domain.Interfaces.UnitTests.Authorization.PlatformFeaturesSpec | 1✅ | 1ms | ||
Domain.Interfaces.UnitTests.Authorization.PlatformRolesSpec | 2✅ | 1ms | ||
Domain.Interfaces.UnitTests.Authorization.RoleLevelSpec | 14✅ | 3ms | ||
Domain.Interfaces.UnitTests.Authorization.TenantFeaturesSpec | 1✅ | 41ms | ||
Domain.Interfaces.UnitTests.Authorization.TenantRolesSpec | 2✅ | 41ms | ||
Domain.Interfaces.UnitTests.Extensions.HierarchicalLevelExtensionsSpec | 24✅ | 15ms | ||
Domain.Interfaces.UnitTests.HydrationPropertiesSpec | 13✅ | 233ms | ||
Domain.Interfaces.UnitTests.Validations.ValidationsSpec | 40✅ | 59ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_02.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✅ | 172ms | ||
Domain.Common.UnitTests.Entities.DomainEventExtensionsSpec | 4✅ | 44ms | ||
Domain.Common.UnitTests.Entities.EntityBaseSpec | 4✅ | 290ms | ||
Domain.Common.UnitTests.Entities.EventSourcedChangeEventExtensionsSpec | 1✅ | 51ms | ||
Domain.Common.UnitTests.Extensions.HydrationPropertiesExtensionsSpec | 6✅ | 52ms | ||
Domain.Common.UnitTests.Identity.NamePrefixedIdentifierFactorySpec | 11✅ | 8ms | ||
Domain.Common.UnitTests.MessageQueueIdFactorySpec | 8✅ | 15ms | ||
Domain.Common.UnitTests.ValueObjects.EventStreamSpec | 12✅ | 57ms | ||
Domain.Common.UnitTests.ValueObjects.IdentifierExtensionsSpec | 4✅ | 1ms | ||
Domain.Common.UnitTests.ValueObjects.IdentifierSpec | 1✅ | 215ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectComparableSpec | 40✅ | 4ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectEqualitySpec | 22✅ | 10ms | ||
Domain.Common.UnitTests.ValueObjects.SingleValueObjectSpec | 2✅ | 1ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectComparableSpec | 23✅ | 50ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectEqualitySpec | 44✅ | 109ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectExtensionsSpec | 2✅ | 1ms | ||
Domain.Common.UnitTests.ValueObjects.ValueObjectSpec | 22✅ | 57ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_04.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✅ | 142ms | ||
Application.Common.UnitTests.Extensions.CallerContextExtensionsSpec | 3✅ | 135ms | ||
Application.Common.UnitTests.Extensions.FeatureFlagExtensionsSpec | 6✅ | 165ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_06.trx
36 tests were completed in 3s with 36 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Generators.Web.Api.UnitTests.MinimalApiMediatRGeneratorSpec+GivenAServiceClass | 14✅ | 1s | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAnyClass | 10✅ | 714ms | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass | 8✅ | 695ms | ||
Tools.Generators.Web.Api.UnitTests.WebApiAssemblyVisitorSpec+GivenAServiceClass+GivenAServiceOperation | 4✅ | 882ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_08.trx
81 tests were completed in 3s with 81 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CarsDomain.UnitTests.CarRootSpec | 35✅ | 243ms | ||
CarsDomain.UnitTests.CausedBySpec | 4✅ | 65ms | ||
CarsDomain.UnitTests.JurisdictionSpec | 3✅ | 1ms | ||
CarsDomain.UnitTests.LicensePlateSpec | 3✅ | 63ms | ||
CarsDomain.UnitTests.ManufacturerSpec | 3✅ | 6ms | ||
CarsDomain.UnitTests.NumberPlateSpec | 3✅ | 1ms | ||
CarsDomain.UnitTests.TimeSlotSpec | 4✅ | 9ms | ||
CarsDomain.UnitTests.UnavailabilitySpec | 14✅ | 141ms | ||
CarsDomain.UnitTests.VehicleManagersSpec | 6✅ | 8ms | ||
CarsDomain.UnitTests.VehicleOwnerSpec | 2✅ | 1ms | ||
CarsDomain.UnitTests.YearSpec | 4✅ | 64ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_09.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✅ | 1ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenEncryptedSettings | 1✅ | 2ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.ApplicationServices.AspNetHostLocalFileTenantSettingsServiceSpec+GivenNoEncryptedSettings | 1✅ | 40ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.AspNetCallerContextSpec | 23✅ | 509ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.APIKeyAuthenticationHandlerSpec | 6✅ | 2s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.HMACAuthenticationHandlerSpec | 5✅ | 30ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationHandlerSpec | 11✅ | 1s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Auth.RolesAndFeaturesAuthorizationPolicyProviderSpec | 2✅ | 17ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Documentation.DefaultBodyFilterSpec | 4✅ | 2s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Documentation.DefaultResponsesFilterSpec | 8✅ | 2s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFMiddlewareSpec | 15✅ | 990ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFServiceSpec | 10✅ | 287ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.CSRFTokenPairSpec | 22✅ | 89ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAnonymousUser | 5✅ | 27ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnAuthenticatedUser | 7✅ | 3s | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.MultiTenancyMiddlewareSpec+GivenAnyCaller | 5✅ | 23ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.Pipeline.ReverseProxyMiddlewareSpec | 3✅ | 392ms | ||
Infrastructure.Web.Hosting.Common.UnitTests.SubdomainModulesSpec | 10✅ | 4s |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_10.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✅ | 526ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_11.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✅ | 242ms | ||
BookingsDomain.UnitTests.LocationSpec | 2✅ | 178ms | ||
BookingsDomain.UnitTests.TripSpec | 8✅ | 229ms | ||
BookingsDomain.UnitTests.TripsSpec | 3✅ | 214ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_13.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✅ | 301ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_13[1].trx
10 tests were completed in 2s with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
BookingsInfrastructure.UnitTests.Api.Bookings.CancelBookingRequestValidatorSpec | 1✅ | 185ms | ||
BookingsInfrastructure.UnitTests.Api.Bookings.MakeBookingRequestValidatorSpec | 5✅ | 250ms | ||
BookingsInfrastructure.UnitTests.Api.Bookings.SearchAllBookingsRequestValidatorSpec | 4✅ | 234ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_15.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_15[1].trx
151 tests were completed in 3s with 151 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Persistence.Common.UnitTests.BlobStoreSpec | 9✅ | 18ms | ||
Infrastructure.Persistence.Common.UnitTests.EventSourcingDddCommandStoreSpec | 7✅ | 57ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.DynamicLinqWhereExtensionsSpec | 3✅ | 79ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.EventNotifyingStoreExtensionsSpec | 4✅ | 175ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.EventStoreExtensionsSpec | 6✅ | 2ms | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.StoreExtensionsSpec | 21✅ | 1s | ||
Infrastructure.Persistence.Common.UnitTests.Extensions.TypeExtensionsSpec | 15✅ | 144ms | ||
Infrastructure.Persistence.Common.UnitTests.MessageQueueStoreSpec | 5✅ | 189ms | ||
Infrastructure.Persistence.Common.UnitTests.ReadModelStoreSpec | 25✅ | 126ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingDddCommandStoreSpec | 20✅ | 428ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingQueryStoreSpec | 12✅ | 427ms | ||
Infrastructure.Persistence.Common.UnitTests.SnapshottingStoreSpec | 24✅ | 204ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_16.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✅ | 333ms | ||
Infrastructure.Persistence.Interfaces.UnitTests.PersistedEntityMetadataSpec | 12✅ | 82ms | ||
Infrastructure.Persistence.Interfaces.UnitTests.QueryEntitySpec | 10✅ | 250ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_18.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_18[1].trx
48 tests were completed in 18s with 48 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRule001 | 34✅ | 15s | ||
Tools.Analyzers.Platform.UnitTests.MissingDocsAnalyzerSpec+GivenRule002 | 14✅ | 14s |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_19.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✅ | 75ms | ||
Application.Persistence.Common.UnitTests.QueryAnyExtensionsSpec | 8✅ | 53ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_19[1].trx
11 tests were completed in 2s with 11 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Infrastructure.Common.UnitTests.DomainFactorySpec | 9✅ | 237ms | ||
Infrastructure.Common.UnitTests.DomainServices.AesEncryptionServiceSpec | 2✅ | 103ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_21.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✅ | 196ms | ||
Infrastructure.Eventing.Common.UnitTests.Notifications.EventNotificationNotifierSpec | 9✅ | 82ms | ||
Infrastructure.Eventing.Common.UnitTests.Notifications.InProcessSynchronousConsumerRelaySpec | 3✅ | 202ms | ||
Infrastructure.Eventing.Common.UnitTests.Projections.InProcessSynchronousReadModelProjectorSpec | 8✅ | 260ms | ||
Infrastructure.Eventing.Common.UnitTests.Projections.ProjectionCheckpointRepositorySpec | 4✅ | 303ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_22.trx
29 tests were completed in 3s with 29 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryInfrastructure.UnitTests.Api._3rdParties.MailgunApiSpec | 7✅ | 429ms | ||
AncillaryInfrastructure.UnitTests.Api.Audits.DeliverAuditRequestValidatorSpec | 2✅ | 3ms | ||
AncillaryInfrastructure.UnitTests.Api.Emails.SendEmailRequestValidatorSpec | 2✅ | 306ms | ||
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagForCallerRequestValidatorSpec | 2✅ | 303ms | ||
AncillaryInfrastructure.UnitTests.Api.FeatureFlags.GetFeatureFlagRequestValidatorSpec | 6✅ | 70ms | ||
AncillaryInfrastructure.UnitTests.Api.Provisionings.NotifyProvisioningRequestValidatorSpec | 2✅ | 306ms | ||
AncillaryInfrastructure.UnitTests.Api.Recording.RecordMeasureRequestValidatorSpec | 3✅ | 40ms | ||
AncillaryInfrastructure.UnitTests.Api.Recording.RecordUsageRequestValidatorSpec | 3✅ | 42ms | ||
AncillaryInfrastructure.UnitTests.Api.Usages.DeliverUsageRequestValidatorSpec | 2✅ | 4ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_22[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✅ | 77ms | ||
Domain.Shared.UnitTests.CurrencyCodeSpec | 3✅ | 338ms | ||
Domain.Shared.UnitTests.EmailAddressSpec | 12✅ | 17ms | ||
Domain.Shared.UnitTests.FeatureSpec | 4✅ | 77ms | ||
Domain.Shared.UnitTests.FeaturesSpec | 31✅ | 42ms | ||
Domain.Shared.UnitTests.NameSpec | 2✅ | 1ms | ||
Domain.Shared.UnitTests.PersonDisplayNameSpec | 2✅ | 1ms | ||
Domain.Shared.UnitTests.PersonNameSpec | 4✅ | 3ms | ||
Domain.Shared.UnitTests.PhoneNumberSpec | 3✅ | 575ms | ||
Domain.Shared.UnitTests.RoleSpec | 4✅ | 2ms | ||
Domain.Shared.UnitTests.RolesSpec | 31✅ | 16ms | ||
Domain.Shared.UnitTests.Subscriptions.BillingProviderSpec | 9✅ | 24ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderInvoiceSpec | 2✅ | 332ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderPaymentMethodSpec | 1✅ | 77ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderPlanPeriodSpec | 1✅ | 2ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderPlanSpec | 2✅ | 5ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderStatusSpec | 3✅ | 2ms | ||
Domain.Shared.UnitTests.Subscriptions.ProviderSubscriptionSpec | 3✅ | 78ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_24.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_25.trx
No tests found
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_25[1].trx
31 tests were completed in 2s with 31 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryDomain.UnitTests.AuditRootSpec | 1✅ | 165ms | ||
AncillaryDomain.UnitTests.EmailDeliverRootSpec | 18✅ | 187ms | ||
AncillaryDomain.UnitTests.EmailRecipientSpec | 2✅ | 19ms | ||
AncillaryDomain.UnitTests.QueuedMessageIdSpec | 3✅ | 80ms | ||
AncillaryDomain.UnitTests.SendingAttemptsSpec | 6✅ | 12ms | ||
AncillaryDomain.UnitTests.TemplateArgumentsSpec | 1✅ | 79ms |
✅ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_26.trx
40 tests were completed in 6s with 40 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AncillaryApplication.UnitTests.AncillaryApplicationSpec | 30✅ | 1s | ||
AncillaryApplication.UnitTests.FeatureFlagsApplicationSpec | 3✅ | 893ms | ||
AncillaryApplication.UnitTests.MailgunApplicationSpec | 7✅ | 906ms |
❌ src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
366 tests were completed in 9s with 320 passed, 44 failed and 2 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule030 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule031 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule032 | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule033 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule034 | 3✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule035 | 1✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule036 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule037 | 3✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule038+GivenAGetRequest | 6✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenARequest+GivenRule038+GivenAPostRequest | 6✅ | 7s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule040 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule041 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule042 | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule043 | 3✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule044 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAResponse+GivenRule045 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenAnyRule | 5✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule010 | 18✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule011And012 | 6✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule013AndRule017 | 3✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule014 | 4✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule015 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule016 | 35✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule018AndRule019 | 4✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerAnalyzerSpec+GivenAWebApiService+GivenRule020 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApiLayerCodeFixSpec+GivenARequest+GivenRuleRule039 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel | 1❌ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 | 1❌ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 | 1❌ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 | 3❌ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 | 1❌ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 | 3❌ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025 | 7✅ | 5❌ | 7s | |
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule030 | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenAnyResource | 1❌ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule010 | 1❌ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011 | 3❌ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule012 | 1❌ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule013 | 1✅ | 1❌ | 3s | |
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule014 | 22❌ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenAnyDomainEvent | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule040 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule041 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule042 | 3✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule043 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule045 | 1✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule046 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule047 | 27✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule048 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenADomainEvent+GivenRule049 | 12✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule020 | 3✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule021 | 4✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule022 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule023 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule024 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule025 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule026 | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnEntity+GivenRule027 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAnyRule | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule010 | 3✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule011 | 4✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule012 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule013 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule014 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule015 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule016 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule017 | 4✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenARootAggregate+GivenRule018 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule030 | 3✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule031 | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule032 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule033 | 2✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule034 | 4✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule035 | 6✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule036 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule037 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignAnalyzerSpec+GivenAValueObject+GivenRule038 | 9✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule020 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule023 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule025 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAnEntity+GivenRuleRule027 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule010 | 1✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule014 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule015 | 1✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule016 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenARootAggregate+GivenRuleRule018 | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule030 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule033 | 2✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule035 | 2⚪ | 2ms | ||
Tools.Analyzers.NonPlatform.UnitTests.DomainDrivenDesignCodeFixSpec+GivenAValueObject+GivenRuleRule036 | 1✅ | 3s | ||
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✅ | 1s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule012 | 3✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule013 | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule014 | 18✅ | 6s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule015 | 2✅ | 2s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnIntegrationEvent+GivenRule016 | 10✅ | 4s | ||
Tools.Analyzers.NonPlatform.UnitTests.EventingAnalyzerSpec+GivenAnyRule | 1✅ | 5s | ||
Tools.Analyzers.NonPlatform.UnitTests.SubdomainModuleAnalyzerSpec+GivenAnySubdomainModule+GivenAnyRule | 1✅ | 3s | ||
Tools.Analyzers.NonPlatform.UnitTests.SubdomainModuleAnalyzerSpec+GivenAnySubdomainModule+GivenRule010 | 7✅ | 6s |
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenAnyReadModel
❌ WhenComplete_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020
❌ WhenIsNotPublic_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,16): warning SAASAPP020: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP020).WithSpan(8, 16, 8, 22).WithArguments("AClass"),
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021
❌ WhenMissingEntityNameAttribute_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(7,14): warning SAASAPP021: Class 'AClass' must use the '[EntityNameAttribute]'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP021).WithSpan(7, 14, 7, 20).WithArguments("AClass"),
// /0/Test0.cs(9,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(9, 29, 9, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022
❌ WhenHasCtorAndIsParameterless_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenHasCtorAndNotParameterless_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,14): warning SAASAPP022: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP022).WithSpan(8, 14, 8, 20).WithArguments("AClass"),
// /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenHasCtorAndPrivate_ThenAlerts
System.InvalidOperationException : Context: Verifying exclusions in '#pragma warning disable' code
Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(16,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(16, 29, 16, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023
❌ WhenAnyPropertyHasNoSetter_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP023: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP023).WithSpan(10, 29, 10, 38).WithArguments("AProperty"),
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024
❌ WhenAnyPropertyIsNullable_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(10,20): warning SAASAPP024: Property 'AProperty' should be 'Optional<T>' not nullable
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP024).WithSpan(10, 20, 10, 29).WithArguments("AProperty"),
// /0/Test0.cs(10,20): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 20, 10, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsOptionalAndInitialized_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 29, 12, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsOptionalAndNotInitialized_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025
✅ WhenAnyPropertyIsEnum_ThenNoAlert
✅ WhenAnyPropertyIsNotSupportedDictionaryKeyType_ThenAlerts
✅ WhenAnyPropertyIsNotSupportedDictionaryOfPrimitive_ThenAlerts
✅ WhenAnyPropertyIsNotSupportedListOfPrimitive_ThenAlerts
✅ WhenAnyPropertyIsNotSupportedPrimitive_ThenAlerts
✅ WhenAnyPropertyIsOptionalValueObject_ThenNoAlert
❌ WhenAnyPropertyIsSupportedDictionaryOfPrimitive_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,49): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 49, 12, 58).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsSupportedListOfPrimitive_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,35): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 35, 12, 44).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsSupportedOptionalNullablePrimitive_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,32): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 32, 12, 41).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsSupportedOptionalPrimitive_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 29, 12, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
❌ WhenAnyPropertyIsSupportedPrimitive_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 29, 12, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
✅ WhenAnyPropertyIsValueObject_ThenNoAlert
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenAnyResource
❌ WhenComplete_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(7,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(7, 28, 7, 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"),
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule010
❌ WhenIsNotPublic_ThenAlerts
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(5,16): warning SAASAPP010: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP010).WithSpan(5, 16, 5, 22).WithArguments("AClass"),
// /0/Test0.cs(7,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(7, 28, 7, 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"),
❌ Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAResource+GivenRule011
❌ WhenHasCtorAndIsParameterless_ThenNoAlert
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /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"),
❌ 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
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"),
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+GivenAReadModel+GivenAnyReadModel ► WhenComplete_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenAnyReadModel.WhenComplete_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 741
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule020 ► WhenIsNotPublic_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,16): warning SAASAPP020: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP020).WithSpan(8, 16, 8, 22).WithArguments("AClass"),
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,16): warning SAASAPP020: Class 'AClass' should be 'public'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP020).WithSpan(8, 16, 8, 22).WithArguments("AClass"),
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.GivenAReadModel.GivenRule020.WhenIsNotPublic_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 763
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule021 ► WhenMissingEntityNameAttribute_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(7,14): warning SAASAPP021: Class 'AClass' must use the '[EntityNameAttribute]'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP021).WithSpan(7, 14, 7, 20).WithArguments("AClass"),
// /0/Test0.cs(9,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(9, 29, 9, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(7,14): warning SAASAPP021: Class 'AClass' must use the '[EntityNameAttribute]'
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP021).WithSpan(7, 14, 7, 20).WithArguments("AClass"),
// /0/Test0.cs(9,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(9, 29, 9, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
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.GivenAReadModel.GivenRule021.WhenMissingEntityNameAttribute_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 785
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndIsParameterless_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule022.WhenHasCtorAndIsParameterless_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 861
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndNotParameterless_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,14): warning SAASAPP022: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP022).WithSpan(8, 14, 8, 20).WithArguments("AClass"),
// /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(8,14): warning SAASAPP022: Class 'AClass' must have a public parameterless constructor, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP022).WithSpan(8, 14, 8, 20).WithArguments("AClass"),
// /0/Test0.cs(15,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(15, 29, 15, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.GivenAReadModel.GivenRule022.WhenHasCtorAndNotParameterless_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 813
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule022 ► WhenHasCtorAndPrivate_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Context: Verifying exclusions in '#pragma warning disable' code
Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(16,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(16, 29, 16, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Context: Verifying exclusions in '#pragma warning disable' code
Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(16,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(16, 29, 16, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifySuppressionDiagnosticsAsync(ImmutableArray`1 analyzers, ValueTuple`2[] sources, EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 330
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 275
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.GivenAReadModel.GivenRule022.WhenHasCtorAndPrivate_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 837
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule023 ► WhenAnyPropertyHasNoSetter_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP023: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP023).WithSpan(10, 29, 10, 38).WithArguments("AProperty"),
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP023: Property 'AProperty' must have a 'public' getter and 'public' setter, for serialization
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP023).WithSpan(10, 29, 10, 38).WithArguments("AProperty"),
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.GivenAReadModel.GivenRule023.WhenAnyPropertyHasNoSetter_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 883
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsNullable_ThenAlerts
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(10,20): warning SAASAPP024: Property 'AProperty' should be 'Optional<T>' not nullable
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP024).WithSpan(10, 20, 10, 29).WithArguments("AProperty"),
// /0/Test0.cs(10,20): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 20, 10, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "1" actual "2"
Diagnostics:
// /0/Test0.cs(10,20): warning SAASAPP024: Property 'AProperty' should be 'Optional<T>' not nullable
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP024).WithSpan(10, 20, 10, 29).WithArguments("AProperty"),
// /0/Test0.cs(10,20): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 20, 10, 29).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.GivenAReadModel.GivenRule024.WhenAnyPropertyIsNullable_ThenAlerts() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 906
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsOptionalAndInitialized_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 29, 12, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 29, 12, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule024.WhenAnyPropertyIsOptionalAndInitialized_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 945
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule024 ► WhenAnyPropertyIsOptionalAndNotInitialized_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(10,29): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(10, 29, 10, 38).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule024.WhenAnyPropertyIsOptionalAndNotInitialized_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 925
--- End of stack trace from previous location ---
Check failure on line 178 in src/Tools.Analyzers.NonPlatform.UnitTests/Verify.cs
github-actions / All Tests
Tools.Analyzers.NonPlatform.UnitTests.ApplicationLayerAnalyzerSpec+GivenAReadModel+GivenRule025 ► WhenAnyPropertyIsSupportedDictionaryOfPrimitive_ThenNoAlert
Failed test found in:
src/TestResults/csharp/runneradmin_fv-az1785-826_2024-10-08_22_21_28.trx
Error:
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,49): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 49, 12, 58).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
Raw output
System.InvalidOperationException : Mismatch between number of diagnostics returned, expected "0" actual "1"
Diagnostics:
// /0/Test0.cs(12,49): warning SAASAPP025: Property 'AProperty' must return one of these primitive types: 'bool or string or ulong or int or long or double or decimal or System.DateTime or byte', or any ValueObject, or any Enum, or an Optional<T>/List<T>/Dictionary<string, T> of one of those types
VerifyCS.Diagnostic(ApplicationLayerAnalyzer.SAASAPP025).WithSpan(12, 49, 12, 58).WithArguments("AProperty", "bool or string or ulong or int or long or double or decimal or System.DateTime or byte"),
at Microsoft.CodeAnalysis.Testing.DefaultVerifier.Equal[T](T expected, T actual, String message) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/DefaultVerifier.cs:line 79
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticResults(IEnumerable`1 actualResults, ImmutableArray`1 analyzers, DiagnosticResult[] expectedResults, IVerifier verifier) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 360
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.VerifyDiagnosticsAsync(EvaluatedProjectState primaryProject, ImmutableArray`1 additionalProjects, DiagnosticResult[] expected, IVerifier verifier, CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 273
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunImplAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 207
at Microsoft.CodeAnalysis.Testing.AnalyzerTest`1.RunAsync(CancellationToken cancellationToken) in /_/src/Microsoft.CodeAnalysis.Testing/Microsoft.CodeAnalysis.Analyzer.Testing/AnalyzerTest`1.cs:line 181
at Tools.Analyzers.NonPlatform.UnitTests.Verify.RunAnalyzerTest[TAnalyzer](String inputSnippet, DiagnosticResult[] expected) in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\Verify.cs:line 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.ApplicationLayerAnalyzerSpec.GivenAReadModel.GivenRule025.WhenAnyPropertyIsSupportedDictionaryOfPrimitive_ThenNoAlert() in D:\a\saastack\saastack\src\Tools.Analyzers.NonPlatform.UnitTests\ApplicationLayerAnalyzerSpec.cs:line 1211
--- End of stack trace from previous location ---