| 90 | } |
| 91 | |
| 92 | void 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 | |
| 109 | void TestQMakeFile::varResolution_data() |
| 110 | { |
nothing calls this directly
no test coverage detected