improved API docs, removed duplicate code, refactored to make more readable

This commit is contained in:
Tig Kindel
2023-03-17 18:30:39 -06:00
committed by Tig
parent 752574a542
commit ab2bda109b
12 changed files with 236 additions and 181 deletions

View File

@@ -30,8 +30,8 @@ namespace Terminal.Gui.ViewTests {
[ ]
";
TestHelpers.AssertDriverContentsWithFrameAre (expected, output);
Application.End (rs);
btn = new Button ("ARGS", true) { Text = "Test" };
Assert.Equal ("Test", btn.Text);
Application.Top.Add (btn);
@@ -48,8 +48,8 @@ namespace Terminal.Gui.ViewTests {
[◦ Test ◦]
";
TestHelpers.AssertDriverContentsWithFrameAre (expected, output);
Application.End (rs);
btn = new Button (3, 4, "Test", true);
Assert.Equal ("Test", btn.Text);
Application.Top.Add (btn);