forked from qt-creator/qt-creator
Fix unit test: UnknownFlavor should actually be listed
Change-Id: I858eb6efe05dbc9a770bb7e858bd033e81df0f60 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -876,7 +876,7 @@ void ProjectExplorer::ProjectExplorerPlugin::testFlavorForOs()
|
|||||||
foundCounter = 0;
|
foundCounter = 0;
|
||||||
// make sure i is in exactly on of the flavor lists!
|
// make sure i is in exactly on of the flavor lists!
|
||||||
foreach (const QList<Abi::OSFlavor> &l, flavorLists) {
|
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)))
|
if (l.contains(static_cast<Abi::OSFlavor>(i)))
|
||||||
++foundCounter;
|
++foundCounter;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user