forked from qt-creator/qt-creator
Android: Fix AVD display if there are no AVDs
Fix that a broken dummy item was shown in the AVD Manager tab in the Android options, if no AVD is available. Fixes: QTCREATORBUG-19338 Change-Id: I31550812c332ff78d107d79682e064aa9eae1070 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -45,6 +45,9 @@ void tst_AvdManagerOutputParser::parse_data()
|
||||
QTest::addColumn<AndroidDeviceInfoList>("output");
|
||||
QTest::addColumn<QStringList>("errorPaths");
|
||||
|
||||
QTest::newRow("none") << "Available Android Virtual Devices:\n"
|
||||
<< AndroidDeviceInfoList() << QStringList();
|
||||
|
||||
QTest::newRow("one") << "Available Android Virtual Devices:\n"
|
||||
" Name: Test\n"
|
||||
" Device: Galaxy Nexus (Google)\n"
|
||||
|
||||
Reference in New Issue
Block a user