mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
23 lines
697 B
C#
23 lines
697 B
C#
using Terminal.Gui;
|
|
|
|
namespace TerminalGuiFluentTesting;
|
|
|
|
/// <summary>
|
|
/// Entry point to fluent assertions.
|
|
/// </summary>
|
|
public static class With
|
|
{
|
|
/// <summary>
|
|
/// Entrypoint to fluent assertions
|
|
/// </summary>
|
|
/// <param name="width"></param>
|
|
/// <param name="height"></param>
|
|
/// <returns></returns>
|
|
public static GuiTestContext A<T> (int width, int height) where T : Toplevel, new () { return new (() => new T (), width, height); }
|
|
|
|
/// <summary>
|
|
/// The global timeout to allow for any given application to run for before shutting down.
|
|
/// </summary>
|
|
public static TimeSpan Timeout { get; set; } = TimeSpan.FromSeconds (30);
|
|
}
|