MCPcopy Create free account
hub / github.com/deskflow/deskflow / emptySingleFormat

Method emptySingleFormat

src/unittests/platform/MSWindowsClipboardTests.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void MSWindowsClipboardTests::emptySingleFormat()
43{
44 MSWindowsClipboard clipboard(NULL);
45 QVERIFY(clipboard.open(0));
46
47 clipboard.add(IClipboard::Format::Text, m_testString);
48 QVERIFY(clipboard.empty());
49 QVERIFY(!clipboard.has(IClipboard::Format::Text));
50}
51
52void MSWindowsClipboardTests::addValue()
53{

Callers

nothing calls this directly

Calls 4

openMethod · 0.45
addMethod · 0.45
emptyMethod · 0.45
hasMethod · 0.45

Tested by

no test coverage detected