Skip to content

ZipExtensionWrapper class added with unit tests. #1797

ZipExtensionWrapper class added with unit tests.

ZipExtensionWrapper class added with unit tests. #1797

Triggered via pull request January 29, 2025 13:17
Status Failure
Total duration 3m 35s
Artifacts

coveralls.yaml

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

Annotations

16 errors and 60 warnings
test-platforms (ubuntu-20.04)
Process completed with exit code 1.
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 (windows-latest)
The job was canceled because "ubuntu-20_04" failed.
test-platforms (windows-latest)
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 (BusinessLogicTest)
The job was canceled because "DataAccessTest" failed.
build (BusinessLogicTest)
The operation was canceled.
build (IntegrationTest)
The job was canceled because "DataAccessTest" failed.
build (IntegrationTest)
The operation was canceled.
build (PresentationTest)
The job was canceled because "DataAccessTest" failed.
build (PresentationTest)
The operation was canceled.
build (AuthoringToolTest)
The job was canceled because "DataAccessTest" failed.
build (AuthoringToolTest)
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/LearningElementDifficultyHelperUt.cs#L24
Cannot convert null literal to non-nullable reference type.
test-platforms (ubuntu-22.04): SharedTest/ThemeHelperUt.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/Extensions/ZipExtensionWrapperUt.cs#L280
Converting null literal or possible null value to non-nullable type.
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): 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): 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): 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/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 (macos-latest): DataAccessTest/Extensions/ZipExtensionWrapperUt.cs#L220
Cannot convert null literal to non-nullable reference type.
test-platforms (macos-latest): 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.
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 (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 (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 (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 (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/TestExtensions.cs#L189
Possible null reference return.
build (IntegrationTest): 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 (IntegrationTest): 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 (IntegrationTest): PresentationTest/Components/Forms/Element/UnplacedElementsDropZoneUt.cs#L78
Non-nullable field '_itemList' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
build (IntegrationTest): PresentationTest/Components/Forms/Element/ElementModelHandlerUt.cs#L68
Possible null reference argument for parameter 'path1' in 'string Path.Combine(string path1, string path2, string path3)'.