mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Remove dependency on fluent assertions and fix folder paths
This commit is contained in:
22
TerminalGuiFluentTesting/With.cs
Normal file
22
TerminalGuiFluentTesting/With.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user