9 references to GetText
System.Windows.Forms (1)
System\Windows\Forms\OLE\DataObject.cs (1)
153
public virtual string GetText() =>
GetText
(TextDataFormat.UnicodeText);
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataObjectTests.cs (8)
733
.Setup(o => o.
GetText
(TextDataFormat.UnicodeText))
737
mockDataObject.Verify(o => o.
GetText
(TextDataFormat.UnicodeText), Times.Once());
745
dataObject.
GetText
(format).Should().BeEmpty();
787
dataObject.
GetText
(format).Should().BeSameAs(expected);
796
.Setup(o => o.
GetText
(format))
802
mockDataObject.Object.
GetText
(format).Should().BeSameAs(expected);
811
Action action = () => dataObject.
GetText
(format);
1458
dataObject.
GetText
(format).Should().Be(textData);