aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qandroidfunctions/tst_qandroidfunctions.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qandroidfunctions/tst_qandroidfunctions.cpp b/tests/auto/qandroidfunctions/tst_qandroidfunctions.cpp
index 9f6bfd9..4288b34 100644
--- a/tests/auto/qandroidfunctions/tst_qandroidfunctions.cpp
+++ b/tests/auto/qandroidfunctions/tst_qandroidfunctions.cpp
@@ -46,9 +46,15 @@ class tst_QAndroidFunctions : public QObject
{
Q_OBJECT
private slots:
+ void testAndroidSdkVersion();
void testAndroidActivity();
};
+void tst_QAndroidFunctions::testAndroidSdkVersion()
+{
+ QVERIFY(QtAndroid::androidSdkVersion() > 0);
+}
+
void tst_QAndroidFunctions::testAndroidActivity()
{
QAndroidJniObject activity = QtAndroid::androidActivity();