blob: 3de8ece8c30239172db6a7d90315ec539693e2da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package com.mapbox.mapboxsdk.integration
import android.support.test.filters.LargeTest
import android.support.test.runner.AndroidJUnit4
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import java.lang.Thread.sleep
/**
* Regression test that validates reopening an Activity with a TextureView
*/
@RunWith(AndroidJUnit4::class)
class TextureViewReopenTest : BaseIntegrationTest() {
@Before
override fun beforeTest() {
super.beforeTest()
openFeature("TextureView debug")
}
@Test
@LargeTest
fun reopenTextureViewDebugActivity() {
pressHomeReturnWithRecentApps()
device.waitForIdle()
sleep(LAUNCH_TIMEOUT)
}
}
|