Files
Terminal.Gui/Tests/IntegrationTests/FluentTests/V2TestDrivers.cs
Thomas Nind d0bfa5ef13 Fixes #4035 - FileDialog keeps path when selecting folder (optionally) (#4065)
* WIP keep path

* Make new 'sticky filename' behaviour optional

* Tests for new behaviour when selecting in TreeView

* Add more tests, this time for table view navigation

* Add the new style option into UICatalog scenario
2025-05-09 08:47:04 -06:00

32 lines
1.0 KiB
C#

using System.Collections;
using TerminalGuiFluentTesting;
namespace IntegrationTests.FluentTests;
public class V2TestDrivers : IEnumerable<object []>
{
public IEnumerator<object []> GetEnumerator ()
{
yield return new object [] { V2TestDriver.V2Win };
yield return new object [] { V2TestDriver.V2Net };
}
IEnumerator IEnumerable.GetEnumerator () => GetEnumerator ();
}
/// <summary>
/// Test cases for functions with signature <code>V2TestDriver d, bool someFlag</code>
/// that enumerates all variations
/// </summary>
public class V2TestDrivers_WithTrueFalseParameter : IEnumerable<object []>
{
public IEnumerator<object []> GetEnumerator ()
{
yield return new object [] { V2TestDriver.V2Win,false };
yield return new object [] { V2TestDriver.V2Net,false };
yield return new object [] { V2TestDriver.V2Win,true };
yield return new object [] { V2TestDriver.V2Net,true };
}
IEnumerator IEnumerable.GetEnumerator () => GetEnumerator ();
}