fix: add unit test for WriteValue function in script-service #5816
Annotations
10 warnings
build:
libs/adsp-service-net-sdk/Configuration/ConfigurationStartupFilter.spec.cs#L29
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
libs/adsp-service-net-sdk/Configuration/ConfigurationService.Spec.cs#L98
Dereference of a possibly null reference.
|
build:
libs/adsp-service-net-sdk/Configuration/ConfigurationService.Spec.cs#L99
Dereference of a possibly null reference.
|
build:
libs/adsp-service-net-sdk/Configuration/ConfigurationMiddleware.Spec.cs#L118
Possible null reference argument for parameter 'httpContext' in 'Task ConfigurationMiddleware.InvokeAsync(HttpContext httpContext)'.
|
build:
apps/script-service/Services/TestUtil.cs#L81
Dereference of a possibly null reference.
|
build:
apps/script-service/Services/ScriptFunctions.Spec.cs#L82
Converting null literal or possible null value to non-nullable type.
|
build:
apps/script-service/Services/ScriptFunctions.Spec.cs#L82
Dereference of a possibly null reference.
|
build:
apps/script-service/Services/TestUtil.cs#L126
Possible null reference return.
|
build:
libs/adsp-service-net-sdk/Amqp/AmqpEventSubscriberService.cs#L14
Type 'AmqpEventSubscriberService' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|
build:
libs/adsp-service-net-sdk/Amqp/AmqpEventSubscriberService.cs#L14
Type 'AmqpEventSubscriberService' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
|