mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Work on ability to test both v2net and v2win
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user