We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b141e4 commit 81b9089Copy full SHA for 81b9089
1 file changed
src/System.Windows.Forms.Design.Editors/tests/UnitTests/CollectionEditorTests.cs
@@ -27,6 +27,7 @@ public void CollectionEditor_Getters()
27
Assert.True(underTest.CanRemove("some string"));
28
Assert.True(underTest.CanRemove(1234));
29
Assert.Equal("net.ComponentModel.CollectionEditor", underTest.GetHelpTopic());
30
+ Assert.Equal("my string", underTest.GetItemDisplayText("my string"));
31
}
32
33
private TestCollectionEditor GetNewEditor()
@@ -59,6 +60,11 @@ public string GetHelpTopic()
59
60
{
61
return base.HelpTopic;
62
63
+
64
+ public string GetItemDisplayText(object value)
65
+ {
66
+ return base.GetDisplayText(value);
67
+ }
68
69
70
0 commit comments