Raise error if we don't find exactly one root group.

This commit is contained in:
Felix Geyer
2013-04-20 19:17:09 +02:00
parent f1bebe904a
commit 0ec29b2354
4 changed files with 54 additions and 6 deletions

View File

@@ -370,6 +370,8 @@ void TestKeePass2XmlReader::testBroken_data()
QTest::newRow("BrokenNoGroupUuid") << "BrokenNoGroupUuid";
QTest::newRow("BrokenNoEntryUuid") << "BrokenNoEntryUuid";
QTest::newRow("BrokenNoRootGroup") << "BrokenNoRootGroup";
QTest::newRow("BrokenTwoRoots") << "BrokenTwoRoots";
QTest::newRow("BrokenTwoRootGroups") << "BrokenTwoRootGroups";
}
void TestKeePass2XmlReader::cleanupTestCase()