| 139 | } |
| 140 | |
| 141 | void tst_gpgkeystate::parseSingleKey_data() { |
| 142 | QTest::addColumn<QString>("input"); |
| 143 | QTest::addColumn<int>("expectedCount"); |
| 144 | QTest::addColumn<QString>("expectedKeyId"); |
| 145 | |
| 146 | QTest::newRow("pub-only") |
| 147 | << "pub:u:4096:1:ABC123:1774947438:::u::::::23::0:" << 1 << "ABC123"; |
| 148 | QTest::newRow("pub-with-fpr") << "pub:u:4096:1:ABC123:1774947438:::u::::::23:" |
| 149 | ":0:\nfpr:::::::::FINGERPRINT123456789:" |
| 150 | << 1 << "ABC123"; |
| 151 | } |
| 152 | |
| 153 | void tst_gpgkeystate::parseKeyRollover() { |
| 154 | QFETCH(QString, input); |
nothing calls this directly
no outgoing calls
no test coverage detected