Restructuing

This commit is contained in:
2026-07-05 16:30:58 -04:00
parent 678e20d402
commit 7b0f2ce1a5
767 changed files with 354 additions and 76 deletions
+5 -5
View File
@@ -11,7 +11,7 @@ public class TestSetup
[OneTimeSetUp]
public async Task BeforeAllTests()
{
Console.WriteLine("[DEBUG_LOG] Starting Server...");
Console.WriteLine("[DEBUG_LOG] Starting Cloud...");
// Find solution root
var currentDir = AppContext.BaseDirectory;
@@ -20,7 +20,7 @@ public class TestSetup
if (currentDir == null) throw new Exception("Could not find Chrono.sln to determine project path.");
var projectPath = Path.Combine(currentDir, "Server", "Server.csproj");
var projectPath = Path.Combine(currentDir, "Cloud", "Cloud.csproj");
var startInfo = new ProcessStartInfo
{
@@ -73,10 +73,10 @@ public class TestSetup
if (!isReady)
{
_serverProcess.Kill(true);
throw new Exception($"Server did not start within {timeout.TotalSeconds} seconds.");
throw new Exception($"Cloud did not start within {timeout.TotalSeconds} seconds.");
}
Console.WriteLine("[DEBUG_LOG] Server is ready.");
Console.WriteLine("[DEBUG_LOG] Cloud is ready.");
}
[OneTimeTearDown]
@@ -84,7 +84,7 @@ public class TestSetup
{
if (_serverProcess != null && !_serverProcess.HasExited)
{
Console.WriteLine("[DEBUG_LOG] Stopping Server...");
Console.WriteLine("[DEBUG_LOG] Stopping Cloud...");
_serverProcess.Kill(true);
_serverProcess.Dispose();
}