MCPcopy Create free account
hub / github.com/IJHack/QtPass / parseSingleKey_data

Method parseSingleKey_data

tests/auto/gpgkeystate/tst_gpgkeystate.cpp:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void 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
153void tst_gpgkeystate::parseKeyRollover() {
154 QFETCH(QString, input);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected