
com.pulumi.googlenative.testing.v1.kotlin.outputs.TestSpecificationResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.testing.v1.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* A description of how to run the test.
* @property androidInstrumentationTest An Android instrumentation test.
* @property androidRoboTest An Android robo test.
* @property androidTestLoop An Android Application with a Test Loop.
* @property disablePerformanceMetrics Disables performance metrics recording. May reduce test latency.
* @property disableVideoRecording Disables video recording. May reduce test latency.
* @property iosTestLoop An iOS application with a test loop.
* @property iosTestSetup Test setup requirements for iOS.
* @property iosXcTest An iOS XCTest, via an .xctestrun file.
* @property testSetup Test setup requirements for Android e.g. files to install, bootstrap scripts.
* @property testTimeout Max time a test execution is allowed to run before it is automatically cancelled. The default value is 5 min.
*/
public data class TestSpecificationResponse(
public val androidInstrumentationTest: AndroidInstrumentationTestResponse,
public val androidRoboTest: AndroidRoboTestResponse,
public val androidTestLoop: AndroidTestLoopResponse,
public val disablePerformanceMetrics: Boolean,
public val disableVideoRecording: Boolean,
public val iosTestLoop: IosTestLoopResponse,
public val iosTestSetup: IosTestSetupResponse,
public val iosXcTest: IosXcTestResponse,
public val testSetup: TestSetupResponse,
public val testTimeout: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.testing.v1.outputs.TestSpecificationResponse): TestSpecificationResponse = TestSpecificationResponse(
androidInstrumentationTest = javaType.androidInstrumentationTest().let({ args0 ->
com.pulumi.googlenative.testing.v1.kotlin.outputs.AndroidInstrumentationTestResponse.Companion.toKotlin(args0)
}),
androidRoboTest = javaType.androidRoboTest().let({ args0 ->
com.pulumi.googlenative.testing.v1.kotlin.outputs.AndroidRoboTestResponse.Companion.toKotlin(args0)
}),
androidTestLoop = javaType.androidTestLoop().let({ args0 ->
com.pulumi.googlenative.testing.v1.kotlin.outputs.AndroidTestLoopResponse.Companion.toKotlin(args0)
}),
disablePerformanceMetrics = javaType.disablePerformanceMetrics(),
disableVideoRecording = javaType.disableVideoRecording(),
iosTestLoop = javaType.iosTestLoop().let({ args0 ->
com.pulumi.googlenative.testing.v1.kotlin.outputs.IosTestLoopResponse.Companion.toKotlin(args0)
}),
iosTestSetup = javaType.iosTestSetup().let({ args0 ->
com.pulumi.googlenative.testing.v1.kotlin.outputs.IosTestSetupResponse.Companion.toKotlin(args0)
}),
iosXcTest = javaType.iosXcTest().let({ args0 ->
com.pulumi.googlenative.testing.v1.kotlin.outputs.IosXcTestResponse.Companion.toKotlin(args0)
}),
testSetup = javaType.testSetup().let({ args0 ->
com.pulumi.googlenative.testing.v1.kotlin.outputs.TestSetupResponse.Companion.toKotlin(args0)
}),
testTimeout = javaType.testTimeout(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy