mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Spelling: ... (#3398)
This commit is contained in:
@@ -12,7 +12,7 @@ namespace CommonLibTest
|
||||
{
|
||||
// Work around for System.JSON required properties:
|
||||
// https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-migrate-from-newtonsoft-how-to.
|
||||
// Test also failes when the attributes are not initiliazed i.e they have null values.
|
||||
// Test also fails when the attributes are not initialized i.e they have null values.
|
||||
[TestMethod]
|
||||
[Obsolete]
|
||||
public void ToJsonString_ShouldReturnValidJSONOfModel_WhenSuccessful()
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace ViewModelTests
|
||||
ShortcutGuideViewModel viewModel = new ShortcutGuideViewModel();
|
||||
|
||||
// Assert
|
||||
// Initilize mock function of sending IPC message.
|
||||
// Initialize mock function of sending IPC message.
|
||||
ShellPage.DefaultSndMSGCallback = msg =>
|
||||
{
|
||||
OutGoingGeneralSettings snd = JsonSerializer.Deserialize<OutGoingGeneralSettings>(msg);
|
||||
@@ -77,7 +77,7 @@ namespace ViewModelTests
|
||||
Assert.AreEqual(1, viewModel.ThemeIndex);
|
||||
|
||||
// Assert
|
||||
// Initilize mock function of sending IPC message.
|
||||
// Initialize mock function of sending IPC message.
|
||||
ShellPage.DefaultSndMSGCallback = msg =>
|
||||
{
|
||||
ShortcutGuideSettingsIPCMessage snd = JsonSerializer.Deserialize<ShortcutGuideSettingsIPCMessage>(msg);
|
||||
@@ -96,7 +96,7 @@ namespace ViewModelTests
|
||||
Assert.AreEqual(900, viewModel.PressTime);
|
||||
|
||||
// Assert
|
||||
// Initilize mock function of sending IPC message.
|
||||
// Initialize mock function of sending IPC message.
|
||||
ShellPage.DefaultSndMSGCallback = msg =>
|
||||
{
|
||||
ShortcutGuideSettingsIPCMessage snd = JsonSerializer.Deserialize<ShortcutGuideSettingsIPCMessage>(msg);
|
||||
@@ -115,7 +115,7 @@ namespace ViewModelTests
|
||||
Assert.AreEqual(90, viewModel.OverlayOpacity);
|
||||
|
||||
// Assert
|
||||
// Initilize mock function of sending IPC message.
|
||||
// Initialize mock function of sending IPC message.
|
||||
ShellPage.DefaultSndMSGCallback = msg =>
|
||||
{
|
||||
ShortcutGuideSettingsIPCMessage snd = JsonSerializer.Deserialize<ShortcutGuideSettingsIPCMessage>(msg);
|
||||
|
||||
Reference in New Issue
Block a user