From 8d63910aae978984117de32114dfbe5c30d251b8 Mon Sep 17 00:00:00 2001 From: Leon Hoppe Date: Sun, 19 Jan 2025 12:12:01 +0100 Subject: [PATCH] Added more tests --- .idea/.idea.HopFrame/.idea/workspace.xml | 144 +++++++++---- src/HopFrame.Core/Config/PropertyConfig.cs | 6 +- src/HopFrame.Core/Config/TableConfig.cs | 9 +- .../Services/Implementations/TableManager.cs | 18 +- src/HopFrame.Web/HopFrame.Web.csproj | 4 + .../ServiceCollectionExtensions.cs | 9 + testing/HopFrame.Testing/Program.cs | 2 +- .../Config/HopFrameConfiguratorTests.cs | 18 ++ .../Config/PropertyConfiguratorTests.cs | 13 ++ .../Config/TableConfiguratorTests.cs | 60 ++++++ tests/HopFrame.Core.Tests/Models/MockModel.cs | 7 +- .../HopFrame.Core.Tests/Models/MockModel2.cs | 11 +- .../Services/ContextExplorerTests.cs | 89 ++++++++ .../Services/DisplayPropertyTests.cs | 199 ++++++++++++++++++ 14 files changed, 529 insertions(+), 60 deletions(-) create mode 100644 tests/HopFrame.Core.Tests/Services/DisplayPropertyTests.cs diff --git a/.idea/.idea.HopFrame/.idea/workspace.xml b/.idea/.idea.HopFrame/.idea/workspace.xml index 66cd2af..be4a925 100644 --- a/.idea/.idea.HopFrame/.idea/workspace.xml +++ b/.idea/.idea.HopFrame/.idea/workspace.xml @@ -10,24 +10,20 @@ - - - - - - - - - - - + - - - - - - + + + + + + + + + + + + - { + "keyToString": { + ".NET Launch Settings Profile.HopFrame.Testing.executor": "Run", + ".NET Launch Settings Profile.HopFrame.Testing: https.executor": "Run", + ".NET Project.HopFrame.Testing.executor": "Run", + "72b118b0-a6fc-4561-acdf-74f0b454dbb8.executor": "Debug", + "RunOnceActivity.ShowReadmeOnStart": "true", + "RunOnceActivity.git.unshallow": "true", + "dcdf1689-dc07-47e4-8824-2e60a4fbf301.executor": "Debug", + "git-widget-placeholder": "!18 on feature/unit-tests", + "list.type.of.created.stylesheet": "CSS", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "settings.editor.selected.configurable": "preferences.environmentSetup", + "vue.rearranger.settings.migration": "true" } -}]]> +} + +