mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
* first commit * initial commit * added UI test for more activities * added more tests * improved code quality * reverted code
19 lines
No EOL
482 B
Kotlin
19 lines
No EOL
482 B
Kotlin
package fr.free.nrw.commons
|
|
|
|
import androidx.test.rule.ActivityTestRule
|
|
import androidx.test.runner.AndroidJUnit4
|
|
import org.junit.Rule
|
|
import org.junit.Test
|
|
import org.junit.runner.RunWith
|
|
import fr.free.nrw.commons.explore.SearchActivity
|
|
|
|
@RunWith(AndroidJUnit4::class)
|
|
class SearchActivityTest {
|
|
@get:Rule
|
|
var activityRule = ActivityTestRule(SearchActivity::class.java)
|
|
|
|
@Test
|
|
fun orientationChange() {
|
|
UITestHelper.changeOrientation(activityRule)
|
|
}
|
|
} |