diff options
author | zmiao <miao.zhao@mapbox.com> | 2019-11-28 15:41:31 +0200 |
---|---|---|
committer | zmiao <miao.zhao@mapbox.com> | 2019-12-03 16:56:41 +0200 |
commit | 96bee0285b1046c7c1954eb58ff7cf9b2c251579 (patch) | |
tree | 140760a21bdcc3a38b52d9e7f1302193b689f880 /render-test/android/app/src/androidTest/java/android/app/NativeActivityTest.java | |
parent | e0873ad8f3c72e66e4492927db4d1ef422cc03e4 (diff) | |
download | qtlocation-mapboxgl-96bee0285b1046c7c1954eb58ff7cf9b2c251579.tar.gz |
[test-runner]check render test runner testing result
Diffstat (limited to 'render-test/android/app/src/androidTest/java/android/app/NativeActivityTest.java')
-rw-r--r-- | render-test/android/app/src/androidTest/java/android/app/NativeActivityTest.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/render-test/android/app/src/androidTest/java/android/app/NativeActivityTest.java b/render-test/android/app/src/androidTest/java/android/app/NativeActivityTest.java index 3d8c333902..d508a9d5a4 100644 --- a/render-test/android/app/src/androidTest/java/android/app/NativeActivityTest.java +++ b/render-test/android/app/src/androidTest/java/android/app/NativeActivityTest.java @@ -6,6 +6,7 @@ import androidx.test.rule.ActivityTestRule; import org.junit.Rule; import org.junit.Test; +import org.junit.Assert; import org.junit.runner.RunWith; import android.util.Log; @@ -24,6 +25,8 @@ public class NativeActivityTest { Log.v("Test", "Test is running"); Thread.sleep(1000L); } - Log.v("Test", "End the test"); + Log.v("Test", "All render tests are finished!"); + Assert.assertTrue("All test cases are passed", TestState.testResult); + } }
\ No newline at end of file |