Skip to content

Commit

Permalink
Enable Tests after Server Test.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusfriedman committed Dec 18, 2023
1 parent dd5e552 commit a7d2575
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions UnitTests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,22 @@ public class Program
[MTAThread]
public static async Task Main(string[] args)
{
//Run the main tests
//foreach (Action test in LogicTests) RunTest(test);
await RunTestAsync(TestServerAsync, nameof(TestServerAsync)).ConfigureAwait(false);

Console.WriteLine("Server Test Complete! Press Q to Exit or any other key to perform the LogicTests.");

//Console.WriteLine("Logic Tests Complete! Press Q to Exit or any other key to perform the live tests.");
if (Console.ReadKey(true).Key == ConsoleKey.Q) return;

//if (Console.ReadKey(true).Key == ConsoleKey.Q) return;
//Run the main tests
foreach (Action test in LogicTests) RunTest(test);

//RunTest(HttpClientTests);
Console.WriteLine("Logic Tests Complete! Press Q to Exit or any other key to perform the live tests.");

//RunTest(RtspClientTests);
if (Console.ReadKey(true).Key == ConsoleKey.Q) return;

await RunTestAsync(TestServerAsync, nameof(TestServerAsync)).ConfigureAwait(false);
RunTest(HttpClientTests);

RunTest(RtspClientTests);
}

#region Unit Tests
Expand Down

0 comments on commit a7d2575

Please sign in to comment.