Android: Create a test for AndroidSdkManager's parseProgress

Quick and dirty as plugin test. Depending on how the upcoming SdkManager
parsing tests turn out, these could become standalone tests.

Launch qtcreator with command line option "-test Android"

Change-Id: I66c1604a1df96d8c2c50006052d664d4a339f5ff
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Alessandro Portale
2021-05-07 15:14:23 +02:00
parent fe0bdf8314
commit b3ee704f17
2 changed files with 60 additions and 0 deletions

View File

@@ -43,6 +43,12 @@ class AndroidPlugin final : public ExtensionSystem::IPlugin
void askUserAboutAndroidSetup();
class AndroidPluginPrivate *d = nullptr;
#ifdef WITH_TESTS
private slots:
void testAndroidSdkManagerProgressParser_data();
void testAndroidSdkManagerProgressParser();
#endif // WITH_TESTS
};
} // namespace Internal