From f1cab7d55ae2f5b5340deb1dfddce7e9d90ee78d Mon Sep 17 00:00:00 2001 From: Tig Date: Sun, 7 Jul 2024 09:38:00 -0600 Subject: [PATCH] Fixed API docs --- UnitTests/TestHelpers.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/UnitTests/TestHelpers.cs b/UnitTests/TestHelpers.cs index 02af3b000..899a35986 100644 --- a/UnitTests/TestHelpers.cs +++ b/UnitTests/TestHelpers.cs @@ -8,12 +8,13 @@ using Xunit.Sdk; namespace Terminal.Gui; -// This class enables test functions annotated with the [AutoInitShutdown] attribute to -// automatically call Application.Init at start of the test and Application.Shutdown after the -// test exits. -// -// This is necessary because a) Application is a singleton and Init/Shutdown must be called -// as a pair, and b) all unit test functions should be atomic.. +/// +/// This class enables test functions annotated with the [AutoInitShutdown] attribute to +/// automatically call Application.Init at start of the test and Application.Shutdown after the +/// test exits. +/// This is necessary because a) Application is a singleton and Init/Shutdown must be called +/// as a pair, and b) all unit test functions should be atomic.. +/// [AttributeUsage (AttributeTargets.Class | AttributeTargets.Method)] public class AutoInitShutdownAttribute : BeforeAfterTestAttribute { @@ -312,8 +313,7 @@ internal partial class TestHelpers } /// - /// Asserts that the driver contents are equal to the expected look, and that the cursor is at the expected - /// position. + /// Asserts that the driver contents are equal to the provided string. /// /// ///