Name Description Size Coverage
androidtestutils_p.h 1289 -
quickforandroidtest.cpp For testing Qt Quick for Android (QQ4A) applications with QuickTest Usage: QUICK_FOR_ANDROID_TEST_MAIN(test_name) This function does the same steps as the regular QtQuickTest macro, with one exception: it does not parse tests from QML files. This is because in the QQ4A context, the QML content is loaded by the hosting Android Activity, via QtQuickView.java (QQuickView internally) So in order to execute tests, we need to just spin the event loop and wait for the application to be manually quit by the tests. This is done via QGuiApplication::exec(), which allows the QML to be loaded and the tests to be run. Once there are no more testcases to run or the program has been aborted, we continue the regular QtQuickTest routine, finishing up the QuickTestResult logging and writing the Android exit code file, before returning out of the function. 2775 -
quickforandroidtest_p.h 1035 -