From 1897428d001cc6125532b792b2e57a7179139c14 Mon Sep 17 00:00:00 2001 From: Leon Hoppe Date: Sun, 24 Nov 2024 10:42:33 +0100 Subject: [PATCH] Reorganized project in solution folders --- HopFrame.sln | 17 +++++++++++++++-- {test => testing}/FrontendTest/.gitignore | 0 {test => testing}/FrontendTest/AdminContext.cs | 0 .../FrontendTest/Components/App.razor | 0 .../Components/Layout/MainLayout.razor | 0 .../Components/Layout/MainLayout.razor.css | 0 .../Components/Layout/NavMenu.razor | 0 .../Components/Layout/NavMenu.razor.css | 0 .../Components/Pages/Counter.razor | 0 .../FrontendTest/Components/Pages/Error.razor | 0 .../FrontendTest/Components/Pages/Home.razor | 0 .../Components/Pages/Weather.razor | 0 .../FrontendTest/Components/Routes.razor | 0 .../FrontendTest/Components/_Imports.razor | 0 .../FrontendTest/DatabaseContext.cs | 2 +- .../FrontendTest/FrontendTest.csproj | 0 .../FrontendTest/Models/Address.cs | 0 .../FrontendTest/Models/Employee.cs | 0 {test => testing}/FrontendTest/Program.cs | 0 .../Properties/launchSettings.json | 0 .../FrontendTest/Providers/AddressProvider.cs | 0 .../FrontendTest/Providers/EmployeeProvider.cs | 0 .../FrontendTest/appsettings.json | 0 {test => testing}/FrontendTest/wwwroot/app.css | 0 .../FrontendTest/wwwroot/favicon.png | Bin {test => testing}/RestApiTest/.gitignore | 0 .../RestApiTest/Controllers/TestController.cs | 0 .../RestApiTest/DatabaseContext.cs | 2 +- .../RestApiTest/Models/Address.cs | 0 .../RestApiTest/Models/Employee.cs | 0 {test => testing}/RestApiTest/Program.cs | 0 .../RestApiTest/Properties/launchSettings.json | 0 .../RestApiTest/RestApiTest.csproj | 0 {test => testing}/RestApiTest/appsettings.json | 0 34 files changed, 17 insertions(+), 4 deletions(-) rename {test => testing}/FrontendTest/.gitignore (100%) rename {test => testing}/FrontendTest/AdminContext.cs (100%) rename {test => testing}/FrontendTest/Components/App.razor (100%) rename {test => testing}/FrontendTest/Components/Layout/MainLayout.razor (100%) rename {test => testing}/FrontendTest/Components/Layout/MainLayout.razor.css (100%) rename {test => testing}/FrontendTest/Components/Layout/NavMenu.razor (100%) rename {test => testing}/FrontendTest/Components/Layout/NavMenu.razor.css (100%) rename {test => testing}/FrontendTest/Components/Pages/Counter.razor (100%) rename {test => testing}/FrontendTest/Components/Pages/Error.razor (100%) rename {test => testing}/FrontendTest/Components/Pages/Home.razor (100%) rename {test => testing}/FrontendTest/Components/Pages/Weather.razor (100%) rename {test => testing}/FrontendTest/Components/Routes.razor (100%) rename {test => testing}/FrontendTest/Components/_Imports.razor (100%) rename {test => testing}/FrontendTest/DatabaseContext.cs (88%) rename {test => testing}/FrontendTest/FrontendTest.csproj (100%) rename {test => testing}/FrontendTest/Models/Address.cs (100%) rename {test => testing}/FrontendTest/Models/Employee.cs (100%) rename {test => testing}/FrontendTest/Program.cs (100%) rename {test => testing}/FrontendTest/Properties/launchSettings.json (100%) rename {test => testing}/FrontendTest/Providers/AddressProvider.cs (100%) rename {test => testing}/FrontendTest/Providers/EmployeeProvider.cs (100%) rename {test => testing}/FrontendTest/appsettings.json (100%) rename {test => testing}/FrontendTest/wwwroot/app.css (100%) rename {test => testing}/FrontendTest/wwwroot/favicon.png (100%) rename {test => testing}/RestApiTest/.gitignore (100%) rename {test => testing}/RestApiTest/Controllers/TestController.cs (100%) rename {test => testing}/RestApiTest/DatabaseContext.cs (88%) rename {test => testing}/RestApiTest/Models/Address.cs (100%) rename {test => testing}/RestApiTest/Models/Employee.cs (100%) rename {test => testing}/RestApiTest/Program.cs (100%) rename {test => testing}/RestApiTest/Properties/launchSettings.json (100%) rename {test => testing}/RestApiTest/RestApiTest.csproj (100%) rename {test => testing}/RestApiTest/appsettings.json (100%) diff --git a/HopFrame.sln b/HopFrame.sln index 2e65007..269b7be 100644 --- a/HopFrame.sln +++ b/HopFrame.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HopFrame.Database", "src\HopFrame.Database\HopFrame.Database.csproj", "{003120AE-F38B-4632-8497-BE4505189627}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestApiTest", "test\RestApiTest\RestApiTest.csproj", "{921159CE-AF75-44C3-A3F9-6B9B1A4E85CF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RestApiTest", "testing\RestApiTest\RestApiTest.csproj", "{921159CE-AF75-44C3-A3F9-6B9B1A4E85CF}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HopFrame.Security", "src\HopFrame.Security\HopFrame.Security.csproj", "{7F82E1C6-4A42-4337-9E03-2EE6429D004F}" EndProject @@ -10,10 +10,16 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HopFrame.Api", "src\HopFram EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HopFrame.Web", "src\HopFrame.Web\HopFrame.Web.csproj", "{3BE585BC-13A5-4BE4-A806-E9EC2D825956}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FrontendTest", "test\FrontendTest\FrontendTest.csproj", "{8F983A37-63CF-48D5-988D-58B78EF8AECD}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FrontendTest", "testing\FrontendTest\FrontendTest.csproj", "{8F983A37-63CF-48D5-988D-58B78EF8AECD}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HopFrame.Web.Admin", "src\HopFrame.Web.Admin\HopFrame.Web.Admin.csproj", "{02D9F10A-664A-4EF7-BF19-310C26FF4DEB}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Core", "Core", "{64EDCBED-A84F-4936-8697-78DC43CB2427}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Testing", "Testing", "{EEA20D27-D471-44AF-A287-C0E068D93182}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{1D98E5DE-CB8B-4C1C-A319-D49AC137441A}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -50,5 +56,12 @@ Global {02D9F10A-664A-4EF7-BF19-310C26FF4DEB}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(NestedProjects) = preSolution + {1E821490-AEDC-4F55-B758-52F4FADAB53A} = {64EDCBED-A84F-4936-8697-78DC43CB2427} + {003120AE-F38B-4632-8497-BE4505189627} = {64EDCBED-A84F-4936-8697-78DC43CB2427} + {7F82E1C6-4A42-4337-9E03-2EE6429D004F} = {64EDCBED-A84F-4936-8697-78DC43CB2427} + {3BE585BC-13A5-4BE4-A806-E9EC2D825956} = {64EDCBED-A84F-4936-8697-78DC43CB2427} + {02D9F10A-664A-4EF7-BF19-310C26FF4DEB} = {64EDCBED-A84F-4936-8697-78DC43CB2427} + {8F983A37-63CF-48D5-988D-58B78EF8AECD} = {EEA20D27-D471-44AF-A287-C0E068D93182} + {921159CE-AF75-44C3-A3F9-6B9B1A4E85CF} = {EEA20D27-D471-44AF-A287-C0E068D93182} EndGlobalSection EndGlobal diff --git a/test/FrontendTest/.gitignore b/testing/FrontendTest/.gitignore similarity index 100% rename from test/FrontendTest/.gitignore rename to testing/FrontendTest/.gitignore diff --git a/test/FrontendTest/AdminContext.cs b/testing/FrontendTest/AdminContext.cs similarity index 100% rename from test/FrontendTest/AdminContext.cs rename to testing/FrontendTest/AdminContext.cs diff --git a/test/FrontendTest/Components/App.razor b/testing/FrontendTest/Components/App.razor similarity index 100% rename from test/FrontendTest/Components/App.razor rename to testing/FrontendTest/Components/App.razor diff --git a/test/FrontendTest/Components/Layout/MainLayout.razor b/testing/FrontendTest/Components/Layout/MainLayout.razor similarity index 100% rename from test/FrontendTest/Components/Layout/MainLayout.razor rename to testing/FrontendTest/Components/Layout/MainLayout.razor diff --git a/test/FrontendTest/Components/Layout/MainLayout.razor.css b/testing/FrontendTest/Components/Layout/MainLayout.razor.css similarity index 100% rename from test/FrontendTest/Components/Layout/MainLayout.razor.css rename to testing/FrontendTest/Components/Layout/MainLayout.razor.css diff --git a/test/FrontendTest/Components/Layout/NavMenu.razor b/testing/FrontendTest/Components/Layout/NavMenu.razor similarity index 100% rename from test/FrontendTest/Components/Layout/NavMenu.razor rename to testing/FrontendTest/Components/Layout/NavMenu.razor diff --git a/test/FrontendTest/Components/Layout/NavMenu.razor.css b/testing/FrontendTest/Components/Layout/NavMenu.razor.css similarity index 100% rename from test/FrontendTest/Components/Layout/NavMenu.razor.css rename to testing/FrontendTest/Components/Layout/NavMenu.razor.css diff --git a/test/FrontendTest/Components/Pages/Counter.razor b/testing/FrontendTest/Components/Pages/Counter.razor similarity index 100% rename from test/FrontendTest/Components/Pages/Counter.razor rename to testing/FrontendTest/Components/Pages/Counter.razor diff --git a/test/FrontendTest/Components/Pages/Error.razor b/testing/FrontendTest/Components/Pages/Error.razor similarity index 100% rename from test/FrontendTest/Components/Pages/Error.razor rename to testing/FrontendTest/Components/Pages/Error.razor diff --git a/test/FrontendTest/Components/Pages/Home.razor b/testing/FrontendTest/Components/Pages/Home.razor similarity index 100% rename from test/FrontendTest/Components/Pages/Home.razor rename to testing/FrontendTest/Components/Pages/Home.razor diff --git a/test/FrontendTest/Components/Pages/Weather.razor b/testing/FrontendTest/Components/Pages/Weather.razor similarity index 100% rename from test/FrontendTest/Components/Pages/Weather.razor rename to testing/FrontendTest/Components/Pages/Weather.razor diff --git a/test/FrontendTest/Components/Routes.razor b/testing/FrontendTest/Components/Routes.razor similarity index 100% rename from test/FrontendTest/Components/Routes.razor rename to testing/FrontendTest/Components/Routes.razor diff --git a/test/FrontendTest/Components/_Imports.razor b/testing/FrontendTest/Components/_Imports.razor similarity index 100% rename from test/FrontendTest/Components/_Imports.razor rename to testing/FrontendTest/Components/_Imports.razor diff --git a/test/FrontendTest/DatabaseContext.cs b/testing/FrontendTest/DatabaseContext.cs similarity index 88% rename from test/FrontendTest/DatabaseContext.cs rename to testing/FrontendTest/DatabaseContext.cs index 0dede8a..c1d3c7b 100644 --- a/test/FrontendTest/DatabaseContext.cs +++ b/testing/FrontendTest/DatabaseContext.cs @@ -11,7 +11,7 @@ public class DatabaseContext : HopDbContextBase { protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { base.OnConfiguring(optionsBuilder); - optionsBuilder.UseSqlite(@"Data Source=C:\Users\leon\Documents\Projekte\HopFrame\test\RestApiTest\bin\Debug\net8.0\test.db;Mode=ReadWrite;"); + optionsBuilder.UseSqlite(@"Data Source=C:\Users\leon\Documents\Projekte\HopFrame\testing\RestApiTest\bin\Debug\net8.0\test.db;Mode=ReadWrite;"); } protected override void OnModelCreating(ModelBuilder modelBuilder) { diff --git a/test/FrontendTest/FrontendTest.csproj b/testing/FrontendTest/FrontendTest.csproj similarity index 100% rename from test/FrontendTest/FrontendTest.csproj rename to testing/FrontendTest/FrontendTest.csproj diff --git a/test/FrontendTest/Models/Address.cs b/testing/FrontendTest/Models/Address.cs similarity index 100% rename from test/FrontendTest/Models/Address.cs rename to testing/FrontendTest/Models/Address.cs diff --git a/test/FrontendTest/Models/Employee.cs b/testing/FrontendTest/Models/Employee.cs similarity index 100% rename from test/FrontendTest/Models/Employee.cs rename to testing/FrontendTest/Models/Employee.cs diff --git a/test/FrontendTest/Program.cs b/testing/FrontendTest/Program.cs similarity index 100% rename from test/FrontendTest/Program.cs rename to testing/FrontendTest/Program.cs diff --git a/test/FrontendTest/Properties/launchSettings.json b/testing/FrontendTest/Properties/launchSettings.json similarity index 100% rename from test/FrontendTest/Properties/launchSettings.json rename to testing/FrontendTest/Properties/launchSettings.json diff --git a/test/FrontendTest/Providers/AddressProvider.cs b/testing/FrontendTest/Providers/AddressProvider.cs similarity index 100% rename from test/FrontendTest/Providers/AddressProvider.cs rename to testing/FrontendTest/Providers/AddressProvider.cs diff --git a/test/FrontendTest/Providers/EmployeeProvider.cs b/testing/FrontendTest/Providers/EmployeeProvider.cs similarity index 100% rename from test/FrontendTest/Providers/EmployeeProvider.cs rename to testing/FrontendTest/Providers/EmployeeProvider.cs diff --git a/test/FrontendTest/appsettings.json b/testing/FrontendTest/appsettings.json similarity index 100% rename from test/FrontendTest/appsettings.json rename to testing/FrontendTest/appsettings.json diff --git a/test/FrontendTest/wwwroot/app.css b/testing/FrontendTest/wwwroot/app.css similarity index 100% rename from test/FrontendTest/wwwroot/app.css rename to testing/FrontendTest/wwwroot/app.css diff --git a/test/FrontendTest/wwwroot/favicon.png b/testing/FrontendTest/wwwroot/favicon.png similarity index 100% rename from test/FrontendTest/wwwroot/favicon.png rename to testing/FrontendTest/wwwroot/favicon.png diff --git a/test/RestApiTest/.gitignore b/testing/RestApiTest/.gitignore similarity index 100% rename from test/RestApiTest/.gitignore rename to testing/RestApiTest/.gitignore diff --git a/test/RestApiTest/Controllers/TestController.cs b/testing/RestApiTest/Controllers/TestController.cs similarity index 100% rename from test/RestApiTest/Controllers/TestController.cs rename to testing/RestApiTest/Controllers/TestController.cs diff --git a/test/RestApiTest/DatabaseContext.cs b/testing/RestApiTest/DatabaseContext.cs similarity index 88% rename from test/RestApiTest/DatabaseContext.cs rename to testing/RestApiTest/DatabaseContext.cs index ef370c7..42ae5d1 100644 --- a/test/RestApiTest/DatabaseContext.cs +++ b/testing/RestApiTest/DatabaseContext.cs @@ -12,7 +12,7 @@ public class DatabaseContext : HopDbContextBase { protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { base.OnConfiguring(optionsBuilder); - optionsBuilder.UseSqlite(@"Data Source=C:\Users\leon\Documents\Projekte\HopFrame\test\RestApiTest\bin\Debug\net8.0\test.db;Mode=ReadWrite;"); + optionsBuilder.UseSqlite(@"Data Source=C:\Users\leon\Documents\Projekte\HopFrame\testing\RestApiTest\bin\Debug\net8.0\test.db;Mode=ReadWrite;"); } protected override void OnModelCreating(ModelBuilder modelBuilder) { diff --git a/test/RestApiTest/Models/Address.cs b/testing/RestApiTest/Models/Address.cs similarity index 100% rename from test/RestApiTest/Models/Address.cs rename to testing/RestApiTest/Models/Address.cs diff --git a/test/RestApiTest/Models/Employee.cs b/testing/RestApiTest/Models/Employee.cs similarity index 100% rename from test/RestApiTest/Models/Employee.cs rename to testing/RestApiTest/Models/Employee.cs diff --git a/test/RestApiTest/Program.cs b/testing/RestApiTest/Program.cs similarity index 100% rename from test/RestApiTest/Program.cs rename to testing/RestApiTest/Program.cs diff --git a/test/RestApiTest/Properties/launchSettings.json b/testing/RestApiTest/Properties/launchSettings.json similarity index 100% rename from test/RestApiTest/Properties/launchSettings.json rename to testing/RestApiTest/Properties/launchSettings.json diff --git a/test/RestApiTest/RestApiTest.csproj b/testing/RestApiTest/RestApiTest.csproj similarity index 100% rename from test/RestApiTest/RestApiTest.csproj rename to testing/RestApiTest/RestApiTest.csproj diff --git a/test/RestApiTest/appsettings.json b/testing/RestApiTest/appsettings.json similarity index 100% rename from test/RestApiTest/appsettings.json rename to testing/RestApiTest/appsettings.json