Skip to content

ZipExtensionWrapper class added with unit tests. #1795

ZipExtensionWrapper class added with unit tests.

ZipExtensionWrapper class added with unit tests. #1795

Triggered via pull request January 29, 2025 12:16
Status Failure
Total duration 4m 39s
Artifacts

coveralls.yaml

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

Annotations

13 errors and 84 warnings
test-platforms (ubuntu-20.04)
Process completed with exit code 1.
test-platforms (windows-latest)
The job was canceled because "ubuntu-20_04" failed.
test-platforms (windows-latest)
The operation was canceled.
test-platforms (ubuntu-22.04)
The job was canceled because "ubuntu-20_04" failed.
test-platforms (ubuntu-22.04)
The operation was canceled.
test-platforms (macos-latest)
The job was canceled because "ubuntu-20_04" failed.
test-platforms (macos-latest)
The operation was canceled.
build (DataAccessTest)
Process completed with exit code 1.
build (AuthoringToolTest)
The job was canceled because "DataAccessTest" failed.
build (AuthoringToolTest)
The operation was canceled.
build (PresentationTest)
The job was canceled because "DataAccessTest" failed.
build (IntegrationTest)
The job was canceled because "DataAccessTest" failed.
build (IntegrationTest)
The operation was canceled.
test-platforms (ubuntu-20.04): SharedTest/LearningElementDifficultyHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-20.04): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-20.04): TestHelpers/PersistEntityProvider.cs#L65
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): BackendAccessTest/BackendServices/UserWebApiServicesUt.cs#L298
'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/UserWebApiServicesUt.cs#L398
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (ubuntu-20.04): DataAccessTest/Extensions/ZipExtensionsUt.cs#L17
Non-nullable field '_fileSystem' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-platforms (ubuntu-20.04): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L63
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-20.04): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L48
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/Extensions/ZipExtensionWrapperUt.cs#L220
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-20.04): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L147
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): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-22.04): SharedTest/LearningElementDifficultyHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-22.04): BackendAccessTest/BackendServices/UserWebApiServicesUt.cs#L298
'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/UserWebApiServicesUt.cs#L398
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (ubuntu-22.04): TestHelpers/PersistEntityProvider.cs#L65
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/Extensions/ZipExtensionWrapperUt.cs#L63
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-22.04): DataAccessTest/Extensions/ZipExtensionsUt.cs#L17
Non-nullable field '_fileSystem' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-platforms (ubuntu-22.04): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L48
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/Extensions/ZipExtensionWrapperUt.cs#L220
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-22.04): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L147
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): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (macos-latest): SharedTest/LearningElementDifficultyHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (macos-latest): BackendAccessTest/BackendServices/UserWebApiServicesUt.cs#L298
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (macos-latest): BackendAccessTest/BackendServices/UserWebApiServicesUt.cs#L398
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
test-platforms (macos-latest): TestHelpers/PersistEntityProvider.cs#L65
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): BusinessLogicTest/API/BusinessLogicUt.cs#L644
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 (macos-latest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L63
Cannot convert null literal to non-nullable reference type.
test-platforms (macos-latest): DataAccessTest/Extensions/ZipExtensionsUt.cs#L17
Non-nullable field '_fileSystem' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
test-platforms (macos-latest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L220
Cannot convert null literal to non-nullable reference type.
test-platforms (macos-latest): DataAccessTest/Persistence/ContentFileHandlerUt.cs#L48
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 (SharedTest): SharedTest/ThemeHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
build (SharedTest): SharedTest/LearningElementDifficultyHelperUt.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 (SharedTest): SharedTest/LearningElementDifficultyHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
build (BackendAccessTest): BackendAccessTest/BackendServices/UserWebApiServicesUt.cs#L298
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
build (BackendAccessTest): BackendAccessTest/BackendServices/UserWebApiServicesUt.cs#L398
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
build (BackendAccessTest): BackendAccessTest/BackendServices/UserWebApiServicesUt.cs#L298
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
build (BackendAccessTest): BackendAccessTest/BackendServices/UserWebApiServicesUt.cs#L398
'MockedRequestExtensions.Respond(MockedRequest, HttpResponseMessage)' is obsolete: 'Using this overload is not recommended. Instead, use Respond(req => new HttpResponseMessage(...))'
build (GeneratorTest): TestHelpers/PersistEntityProvider.cs#L65
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#L65
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): TestHelpers/PersistEntityProvider.cs#L65
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#L644
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#L65
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#L644
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): TestHelpers/PersistEntityProvider.cs#L65
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/Extensions/ZipExtensionWrapperUt.cs#L63
Cannot convert null literal to non-nullable reference type.
build (DataAccessTest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L220
Cannot convert null literal to non-nullable reference type.
build (DataAccessTest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L280
Converting null literal or possible null value to non-nullable type.
build (DataAccessTest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L286
Possible null reference argument for parameter 'sourcePath' in 'Task ZipExtensionWrapper.CreateFromDirectoryAsync(string sourcePath, string destinationPath)'.
build (DataAccessTest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L278
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/Extensions/ZipExtensionWrapperUt.cs#L294
Converting null literal or possible null value to non-nullable type.
build (DataAccessTest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L298
Possible null reference argument for parameter 'destinationPath' in 'Task ZipExtensionWrapper.CreateFromDirectoryAsync(string sourcePath, string destinationPath)'.
build (DataAccessTest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L291
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/Extensions/ZipExtensionWrapperUt.cs#L303
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 (AuthoringToolTest): TestHelpers/PersistEntityProvider.cs#L65
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/View/LearningWorld/LearningWorldTreeViewUt.cs#L45
Non-nullable property 'StoryEle1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (AuthoringToolTest): PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L46
Non-nullable property 'StoryEle2' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (AuthoringToolTest): PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L47
Non-nullable property 'Ele1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (AuthoringToolTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L61
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 (AuthoringToolTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L85
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 (AuthoringToolTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L30
Non-nullable field '_authoringToolWorkspaceViewModel' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (AuthoringToolTest): PresentationTest/PresentationLogic/LearningSpace/FloorPlans/FloorPlanViewModelUt.cs#L18
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2, string path3)'.
build (AuthoringToolTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L152
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 (AuthoringToolTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L167
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 (PresentationTest): TestHelpers/PersistEntityProvider.cs#L65
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/View/LearningWorld/LearningWorldTreeViewUt.cs#L45
Non-nullable property 'StoryEle1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (PresentationTest): PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L46
Non-nullable property 'StoryEle2' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (PresentationTest): PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L47
Non-nullable property 'Ele1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (PresentationTest): PresentationTest/TestExtensions.cs#L189
Possible null reference return.
build (PresentationTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L61
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 (PresentationTest): PresentationTest/PresentationLogic/LearningWorld/LearningWorldPresenterUt.cs#L85
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 (PresentationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L152
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 (PresentationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L167
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 (IntegrationTest): TestHelpers/PersistEntityProvider.cs#L65
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/View/LearningWorld/LearningWorldTreeViewUt.cs#L45
Non-nullable property 'StoryEle1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (IntegrationTest): PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L46
Non-nullable property 'StoryEle2' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (IntegrationTest): PresentationTest/View/LearningWorld/LearningWorldTreeViewUt.cs#L47
Non-nullable property 'Ele1' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build (IntegrationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L152
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 (IntegrationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L167
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 (IntegrationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L185
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 (IntegrationTest): PresentationTest/PresentationLogic/AuthoringToolWorkspace/AuthoringToolWorkspacePresenterUt.cs#L20
Non-nullable field '_authoringToolWorkspaceViewModel' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (IntegrationTest): PresentationTest/TestExtensions.cs#L189
Possible null reference return.