Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ public void ConvertFrom_ShouldConvertKeys(string input, Keys keys)
Assert.Equal(keys, result);
}

[Theory]
[ActiveIssue("https://github.com/dotnet/winforms/issues/13117")]
[Theory(Skip = "Localization tests, see: https://github.com/dotnet/winforms/issues/13117")]
[InlineData("fr-FR", "(aucun)", Keys.None)]
[InlineData("nb-NO", "None", Keys.None)]
[InlineData("de-DE", "Ende", Keys.End)]
Expand Down Expand Up @@ -71,7 +72,8 @@ public void ConvertToString_ShouldConvertKeys(Keys keys, string expectedResult)
Assert.Equal(expectedResult, result);
}

[Theory]
[ActiveIssue("https://github.com/dotnet/winforms/issues/13117")]
[Theory(Skip = "Localization tests, see: https://github.com/dotnet/winforms/issues/13117")]
[InlineData("fr-FR", Keys.None, "(aucun)")]
[InlineData("de-DE", Keys.End, "Ende")]
public void ConvertToString_ShouldConvertKeys_Localization(string cultureName, Keys key, string expectedLocalizedKeyName)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Licensed to the .NET Foundation under one or more agreements.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.ComponentModel;
Expand Down Expand Up @@ -143,7 +143,8 @@ public void ToolStripMenuItem_SetShortcutKeys_ThrowsInvalidEnumArgumentException
Assert.Throws<InvalidEnumArgumentException>(() => item.ShortcutKeys = keys);
}

[WinFormsTheory]
[ActiveIssue("https://github.com/dotnet/winforms/issues/13117")]
[WinFormsTheory(Skip = "Localization tests, see: https://github.com/dotnet/winforms/issues/13117")]
[MemberData(nameof(CultureInfo_Shortcut_TestData))]
public void ToolStripMenuItem_SetShortcutKeys_ReturnExpectedShortcutText(CultureInfo threadCulture, CultureInfo threadUICulture, string expectedShortcutText)
{
Expand Down