Skip to content

Classes, Mappings and Persist for Adaptivity (#354) #1153

Classes, Mappings and Persist for Adaptivity (#354)

Classes, Mappings and Persist for Adaptivity (#354) #1153

Triggered via push September 15, 2023 14:40
Status Success
Total duration 4m 2s
Artifacts

coveralls.yaml

on: push
Matrix: build
Matrix: test-platforms
send-summary
5s
send-summary
Fit to window
Zoom out
Zoom in

Annotations

104 warnings
test-platforms (ubuntu-20.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-platforms (ubuntu-20.04): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-20.04): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (ubuntu-20.04): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (ubuntu-20.04): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
test-platforms (ubuntu-20.04): DataAccessTest/Persistence/PersistenceCt.cs#L458
Dereference of a possibly null reference.
test-platforms (ubuntu-20.04): DataAccessTest/Persistence/PersistenceCt.cs#L459
Dereference of a possibly null reference.
test-platforms (ubuntu-20.04): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L45
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.
test-platforms (ubuntu-20.04): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L140
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.
test-platforms (ubuntu-20.04): BusinessLogicTest/API/BusinessLogicUt.cs#L820
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
test-platforms (ubuntu-20.04): PresentationTest/Components/Forms/Element/ElementModelHandlerUt.cs#L58
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2, string path3)'.
test-platforms (ubuntu-22.04)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-platforms (ubuntu-22.04): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (ubuntu-22.04): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (ubuntu-22.04): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-22.04): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
test-platforms (ubuntu-22.04): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L45
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.
test-platforms (ubuntu-22.04): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L140
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.
test-platforms (ubuntu-22.04): DataAccessTest/Persistence/PersistenceCt.cs#L458
Dereference of a possibly null reference.
test-platforms (ubuntu-22.04): DataAccessTest/Persistence/PersistenceCt.cs#L459
Dereference of a possibly null reference.
test-platforms (ubuntu-22.04): PresentationTest/TestExtensions.cs#L189
Possible null reference return.
build (SharedTest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (SharedTest): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
build (SharedTest): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
build (BackendAccessTest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (BackendAccessTest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
build (BackendAccessTest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
build (BackendAccessTest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
build (BackendAccessTest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
build (GeneratorTest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (GeneratorTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (GeneratorTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (AuthoringToolTest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (AuthoringToolTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (AuthoringToolTest): PresentationTest/Components/Forms/Element/ElementModelHandlerUt.cs#L58
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2, string path3)'.
build (AuthoringToolTest): PresentationTest/Components/Forms/BaseFormUt.cs#L170
Non-nullable property 'Foo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (AuthoringToolTest): PresentationTest/Components/Forms/BaseFormUt.cs#L165
Non-nullable property 'Foo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (AuthoringToolTest): PresentationTest/TestExtensions.cs#L189
Possible null reference return.
build (AuthoringToolTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L26
Non-nullable field '_authoringToolWorkspaceViewModel' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (AuthoringToolTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L20
Non-nullable field '_authoringToolWorkspaceViewModel' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (AuthoringToolTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L20
The field 'AuthoringToolWorkspacePresenterUt._authoringToolWorkspaceViewModel' is never used
build (AuthoringToolTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L26
The field 'LearningWorldPresenterUt._authoringToolWorkspaceViewModel' is never used
build (BusinessLogicTest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (BusinessLogicTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (BusinessLogicTest): BusinessLogicTest/API/BusinessLogicUt.cs#L820
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build (BusinessLogicTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (BusinessLogicTest): BusinessLogicTest/API/BusinessLogicUt.cs#L820
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
build (DataAccessTest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (DataAccessTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (DataAccessTest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L45
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 (DataAccessTest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L140
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 (DataAccessTest): DataAccessTest/Persistence/PersistenceCt.cs#L458
Dereference of a possibly null reference.
build (DataAccessTest): DataAccessTest/Persistence/PersistenceCt.cs#L459
Dereference of a possibly null reference.
build (DataAccessTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (DataAccessTest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L45
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 (DataAccessTest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L140
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 (DataAccessTest): DataAccessTest/Persistence/PersistenceCt.cs#L458
Dereference of a possibly null reference.
build (DataAccessTest): DataAccessTest/Persistence/PersistenceCt.cs#L459
Dereference of a possibly null reference.
build (PresentationTest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (PresentationTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (PresentationTest): PresentationTest/Components/Forms/Element/ElementModelHandlerUt.cs#L58
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2, string path3)'.
build (PresentationTest): PresentationTest/Components/Forms/BaseFormUt.cs#L170
Non-nullable property 'Foo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (PresentationTest): PresentationTest/Components/Forms/BaseFormUt.cs#L165
Non-nullable property 'Foo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (PresentationTest): PresentationTest/TestExtensions.cs#L189
Possible null reference return.
build (PresentationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L20
Non-nullable field '_authoringToolWorkspaceViewModel' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (PresentationTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L26
Non-nullable field '_authoringToolWorkspaceViewModel' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (PresentationTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L26
The field 'LearningWorldPresenterUt._authoringToolWorkspaceViewModel' is never used
build (PresentationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L20
The field 'AuthoringToolWorkspacePresenterUt._authoringToolWorkspaceViewModel' is never used
build (IntegrationTest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (IntegrationTest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
build (IntegrationTest): PresentationTest/TestExtensions.cs#L189
Possible null reference return.
build (IntegrationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L20
Non-nullable field '_authoringToolWorkspaceViewModel' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (IntegrationTest): PresentationTest/Components/Forms/Element/ElementModelHandlerUt.cs#L58
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2, string path3)'.
build (IntegrationTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L26
Non-nullable field '_authoringToolWorkspaceViewModel' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build (IntegrationTest): PresentationTest/Components/Forms/BaseFormUt.cs#L170
Non-nullable property 'Foo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (IntegrationTest): PresentationTest/Components/Forms/BaseFormUt.cs#L165
Non-nullable property 'Foo' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build (IntegrationTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L26
The field 'LearningWorldPresenterUt._authoringToolWorkspaceViewModel' is never used
build (IntegrationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L20
The field 'AuthoringToolWorkspacePresenterUt._authoringToolWorkspaceViewModel' is never used
test-platforms (macos-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-platforms (macos-latest): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (macos-latest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
test-platforms (macos-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (macos-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (macos-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L45
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.
test-platforms (macos-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L140
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.
test-platforms (macos-latest): DataAccessTest/Persistence/PersistenceCt.cs#L458
Dereference of a possibly null reference.
test-platforms (macos-latest): DataAccessTest/Persistence/PersistenceCt.cs#L459
Dereference of a possibly null reference.
test-platforms (macos-latest): BusinessLogicTest/API/BusinessLogicUt.cs#L820
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
test-platforms (windows-latest)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-dotnet@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-platforms (windows-latest): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (windows-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L233
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (windows-latest): BackendAccessTest/BackendServices/UserBackendServicesUt.cs#L263
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (windows-latest): TestHelpers/PersistEntityProvider.cs#L39
Possible null reference argument for parameter 'learningContent' in 'LearningElementPe.LearningElementPe(string name, ILearningContentPe learningContent, string description, string goals, LearningElementDifficultyEnum difficulty, ElementModel elementModel, int workload = 0, int points = 1, double positionX = 0, double positionY = 0)'.
test-platforms (windows-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L45
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.
test-platforms (windows-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L140
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.
test-platforms (windows-latest): DataAccessTest/Persistence/PersistenceCt.cs#L458
Dereference of a possibly null reference.
test-platforms (windows-latest): DataAccessTest/Persistence/PersistenceCt.cs#L459
Dereference of a possibly null reference.
test-platforms (windows-latest): BusinessLogicTest/API/BusinessLogicUt.cs#L820
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.