Files
ThreadPilot/TestRunner.cs
T
Prime Build e3530e5342 Add process management, settings, and logging features
Introduces new models, services, and view models for process monitoring, power plan association, application settings, and enhanced logging. Updates main application files and views to support new features. Adds developer and architecture documentation.
2025-07-29 12:55:19 +02:00

35 lines
968 B
C#

using System;
using System.Threading.Tasks;
using ThreadPilot.Tests;
namespace ThreadPilot
{
/// <summary>
/// Simple test runner for CPU topology functionality
/// </summary>
public static class TestRunner
{
/// <summary>
/// Main test entry point
/// </summary>
public static async Task RunTests()
{
Console.WriteLine("ThreadPilot CPU Topology Test Runner");
Console.WriteLine("====================================");
try
{
await CpuTopologyServiceTests.TestCpuTopologyDetection();
}
catch (Exception ex)
{
Console.WriteLine($"Test failed with exception: {ex.Message}");
Console.WriteLine($"Stack trace: {ex.StackTrace}");
}
Console.WriteLine("\nPress any key to exit...");
Console.ReadKey();
}
}
}