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:
@@ -79,8 +79,10 @@ public class BasicFluentAssertionTests
|
||||
Assert.True (clicked);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void ContextMenu_OpenSubmenu ()
|
||||
[Theory]
|
||||
[InlineData(V2TestDriver.V2Win)]
|
||||
//[InlineData (V2TestDriver.V2Net)] // TODO
|
||||
public void ContextMenu_OpenSubmenu (V2TestDriver v2TestDriver)
|
||||
{
|
||||
var clicked = false;
|
||||
|
||||
@@ -110,7 +112,7 @@ public class BasicFluentAssertionTests
|
||||
]
|
||||
);
|
||||
|
||||
using GuiTestContext c = With.A<Window> (40, 10)
|
||||
using GuiTestContext c = With.A<Window> (40, 10,v2TestDriver)
|
||||
.WithContextMenu (ctx, menuItems)
|
||||
.ScreenShot ("Before open menu", _out)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user