Fix unit test: UnknownFlavor should actually be listed

Change-Id: I858eb6efe05dbc9a770bb7e858bd033e81df0f60
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-02-13 10:22:59 +01:00
parent 5abf7ab901
commit 36d091a858

View File

@@ -876,7 +876,7 @@ void ProjectExplorer::ProjectExplorerPlugin::testFlavorForOs()
foundCounter = 0;
// make sure i is in exactly on of the flavor lists!
foreach (const QList<Abi::OSFlavor> &l, flavorLists) {
QVERIFY(!l.contains(Abi::UnknownFlavor));
QVERIFY(l.contains(Abi::UnknownFlavor));
if (l.contains(static_cast<Abi::OSFlavor>(i)))
++foundCounter;
}