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

Method varResolution

plugins/qmakemanager/tests/test_qmakefile.cpp:92–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void TestQMakeFile::varResolution()
93{
94 QFETCH(QString, fileContents);
95 QFETCH(QMakeFile::VariableMap, variables);
96
97 QTemporaryFile tmpfile;
98 tmpfile.open();
99 QTextStream stream(&tmpfile);
100 stream << fileContents;
101 stream.flush();
102 tmpfile.close();
103
104 QMakeFile file(tmpfile.fileName());
105 QVERIFY(file.read());
106 QCOMPARE(file.variableMap(), variables);
107}
108
109void TestQMakeFile::varResolution_data()
110{

Callers

nothing calls this directly

Calls 5

variableMapMethod · 0.80
openMethod · 0.45
closeMethod · 0.45
fileNameMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected