Added test region in [ICommand] tests
This commit is contained in:
Родитель
4bf74cf039
Коммит
28bcbafa25
|
@ -8,6 +8,8 @@ using System.Threading.Tasks;
|
|||
using Microsoft.Toolkit.Mvvm.Input;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
#pragma warning disable SA1124
|
||||
|
||||
namespace UnitTests.Mvvm
|
||||
{
|
||||
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1601", Justification = "Type only used for testing")]
|
||||
|
@ -78,6 +80,8 @@ namespace UnitTests.Mvvm
|
|||
Counter += 1;
|
||||
}
|
||||
|
||||
#region Test region
|
||||
|
||||
/// <summary>
|
||||
/// This is multi line with also other stuff below
|
||||
/// </summary>
|
||||
|
@ -100,6 +104,8 @@ namespace UnitTests.Mvvm
|
|||
Counter += count;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
[ICommand]
|
||||
private async Task DelayAndIncrementCounterWithValueAndTokenAsync(int count, CancellationToken token)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче