mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 07:47:54 +01:00
23 lines
684 B
C#
23 lines
684 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<T> A<T> (int width, int height) where T : Toplevel, new () { return new (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);
|
|
}
|