MCPcopy Create free account
hub / github.com/KDE/kdevelop / createFile

Method createFile

kdevplatform/shell/tests/test_shellbuddy.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99void TestShellBuddy::createFile(const QTemporaryDir& dir, const QString& filename)
100{
101 QFile file(dir.path() + '/' + filename);
102 QVERIFY(file.open(QIODevice::WriteOnly | QIODevice::Text));
103 file.close();
104}
105
106
107void TestShellBuddy::enableBuddies(bool enable)

Callers

nothing calls this directly

Calls 3

pathMethod · 0.45
openMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected