Work on ability to test both v2net and v2win

This commit is contained in:
tznind
2025-03-19 20:54:13 +00:00
committed by Tig
parent 56d3835c37
commit 7712bc64b1
6 changed files with 104 additions and 20 deletions

View File

@@ -12,8 +12,12 @@ public static class With
/// </summary>
/// <param name="width"></param>
/// <param name="height"></param>
/// <param name="v2TestDriver">Which v2 v2TestDriver to use for the test</param>
/// <returns></returns>
public static GuiTestContext A<T> (int width, int height) where T : Toplevel, new () { return new (() => new T (), width, height); }
public static GuiTestContext A<T> (int width, int height, V2TestDriver v2TestDriver = V2TestDriver.V2Win) where T : Toplevel, new ()
{
return new (() => new T (), width, height,v2TestDriver);
}
/// <summary>
/// The global timeout to allow for any given application to run for before shutting down.