# DefaultInputsForAgpTestSuites

# DefaultInputsForAgpTestSuites

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/DefaultInputsForAgpTestSuites.kt+class:com.android.build.api.dsl.DefaultInputsForAgpTestSuites)  
Added in 8.10.0-beta01  

<br />

```
enum DefaultInputsForAgpTestSuites : Enum
```

<br />

|---|---|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                                                                      |||
| ↳ | [kotlin.Enum](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html)                                                                                                 ||
|   | ↳ | [com.android.build.api.dsl.DefaultInputsForAgpTestSuites](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites) |

*** ** * ** ***

List of default properties that can be used to initialize the AgpTestSuite.testEngineInputs for a particular test suite.

Can be used as :  

```scdoc
android {
    testOptions {
        suites {
            create("myHostTestSuite") {
                useJunitEngine() {
                   DefaultInputsForAgpTestSuites.HOST_TEST.initialize(this)
                }
            }
        }
    }
}
```

## Summary

|                                                                   ### Enum Values                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [DEVICE_TEST](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites#DEVICE_TEST)     |   |
| [HOST_TEST](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites#HOST_TEST)         |   |
| [JOURNEYS_TEST](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites#JOURNEYS_TEST) |   |

|                                                                                                            ### Public functions                                                                                                            |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)                                                                                                                                                               | `@`[Incubating](https://docs.gradle.org/current/javadoc/org/gradle/api/Incubating.html) [initialize](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites#initialize(com.android.build.api.dsl.JUnitEngineSpec))`(testSuite: `[JUnitEngineSpec](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/JUnitEngineSpec)`)` |
| [DefaultInputsForAgpTestSuites](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites)                                                                                     | [valueOf](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites#valueOf(kotlin.String))`(value: `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`)` Returns the enum constant of this type with the specified name.                                                                                                         |
| [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)`<`[DefaultInputsForAgpTestSuites](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites)`>` | [values](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites#values())`()` Returns an array containing the constants of this enum type, in the order they're declared.                                                                                                                                                                                     |

|                                                                                                              ### Public properties                                                                                                               |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[AgpTestSuiteInputParameters](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/AgpTestSuiteInputParameters)`>` | [supportedProperties](https://developer.android.com/reference/tools/gradle-api/8.10/com/android/build/api/dsl/DefaultInputsForAgpTestSuites#supportedProperties()) List of properties that will be made available to the junit test engine by the test task. |

## Enum Values

### DEVICE_TEST

```
val DefaultInputsForAgpTestSuites.DEVICE_TEST: DefaultInputsForAgpTestSuites
```  

### HOST_TEST

```
val DefaultInputsForAgpTestSuites.HOST_TEST: DefaultInputsForAgpTestSuites
```  

### JOURNEYS_TEST

```
val DefaultInputsForAgpTestSuites.JOURNEYS_TEST: DefaultInputsForAgpTestSuites
```  

## Public functions

### initialize

Added in 8.10.0-beta01  

```
@Incubating
fun initialize(testSuite: JUnitEngineSpec): Unit
```  

### valueOf

Added in 8.10.0-beta01  

```
fun valueOf(value: String): DefaultInputsForAgpTestSuites
```

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)  

|                                                            Throws                                                             |
|-------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|
| [kotlin.IllegalArgumentException](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html) | if this enum type has no constant with the specified name |

### values

Added in 8.10.0-beta01  

```
fun values(): Array<DefaultInputsForAgpTestSuites>
```

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.  

## Public properties

### supportedProperties

Added in 8.10.0-beta01  

```
val supportedProperties: List<AgpTestSuiteInputParameters>
```

List of properties that will be made available to the junit test engine by the test task.

At this time, the lists definition are mostly for testing purposes.

TODO: change comment once property handover is implemented. These properties are guaranteed to be provided by the time the test start and a retrieval mechanism will be added in a subsequent CL.