Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,9 @@ firebaseTestLab {
// you can list all available via `gcloud firebase test android models list` for your device model
androidApiLevels = [23]

// You can test app in landscape and portrait
// screenOrientations = [com.appunite.firebasetestlabplugin.model.ScreenOrientation.PORTRAIT, com.appunite.firebasetestlabplugin.model.ScreenOrientation.LANDSCAPE]
// You can test app in landscape, portrait and default
// More info in: https://cloud.google.com/sdk/gcloud/reference/firebase/test/android/run#--orientations
// screenOrientations = ["portrait", "landscape", "default"]

// Choose language (default is `en`)
// you can list all available via `gcloud firebase test android locales list`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ object FirebaseTestLabProcessCreator {
"--app=${processData.apk}",
"--locales=${device.locales.joinArgs()}",
"--os-version-ids=${device.androidApiLevels.joinArgs()}",
"--orientations=${device.screenOrientations.map { orientation -> orientation.gcloudName }.joinArgs()}")
"--orientations=${device.screenOrientations.joinArgs()}")
.plus(when (processData.testType) {
TestType.Robo -> sequenceOf("--type=robo")
is TestType.Instrumentation -> sequenceOf("--type=instrumentation", "--test=${processData.testType.testApk}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import java.io.Serializable

class Device(val name: String) : Serializable {
var locales: List<String> = listOf("en")
var screenOrientations: List<ScreenOrientation> = listOf(ScreenOrientation.PORTRAIT)
var screenOrientations: List<String> = listOf("portrait")
var androidApiLevels: List<Int> = listOf()
var deviceIds: List<String> = listOf()
var timeout: Long = 0
Expand Down

This file was deleted.

5 changes: 3 additions & 2 deletions sample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ firebaseTestLab {
// you can list all available via `gcloud firebase test android models list` for your device model
androidApiLevels = [23]

// You can test app in landscape and portrait
// screenOrientations = [com.appunite.firebasetestlabplugin.model.ScreenOrientation.PORTRAIT, com.appunite.firebasetestlabplugin.model.ScreenOrientation.LANDSCAPE]
// You can test app in landscape, portrait and default
// More info in: https://cloud.google.com/sdk/gcloud/reference/firebase/test/android/run#--orientations
// screenOrientations = ["portrait", "landscape", "default"]

// Choose language (default is `en`)
// you can list all available via `gcloud firebase test android locales list`
Expand Down