| 109 | } |
| 110 | |
| 111 | void TestUtils::FileVersionDatabase_hashForFile() |
| 112 | { |
| 113 | QByteArray zero = QByteArray::fromHex("d41d8cd98f00b204e9800998ecf8427e"); |
| 114 | |
| 115 | QCOMPARE(Tw::Utils::FileVersionDatabase::hashForFile(QString("does-not-exist")), zero); |
| 116 | QCOMPARE(Tw::Utils::FileVersionDatabase::hashForFile(QStringLiteral("base14-fonts.pdf")), QByteArray::fromHex("814514754a5680a57d172b6720d48a8d")); |
| 117 | } |
| 118 | |
| 119 | void TestUtils::FileVersionDatabase_addFileRecord() |
| 120 | { |
nothing calls this directly
no outgoing calls
no test coverage detected