Interface TestVariant

    • Method Detail

      • getTestedVariant

        @NonNull
        BaseVariant getTestedVariant()
        Deprecated.
        Returns the build variant that is tested by this variant.
      • getConnectedInstrumentTest

        @Nullable
        @Deprecated
        org.gradle.api.DefaultTask getConnectedInstrumentTest()
        Returns the task to run the tests.

        Only valid for test project.

      • getConnectedInstrumentTestProvider

        @Nullable
        org.gradle.api.tasks.TaskProvider<org.gradle.api.Task> getConnectedInstrumentTestProvider()
        Deprecated.
        Returns the TaskProvider for the task to run the tests.

        Only valid for test project.

        Prefer this to getConnectedInstrumentTest() as it triggers eager configuration of the task.

      • getProviderInstrumentTests

        @NonNull
        java.util.List<? extends org.gradle.api.DefaultTask> getProviderInstrumentTests()
        Returns the tasks to run the tests.

        Only valid for test project.

      • getProviderInstrumentTestProviders

        @NonNull
        java.util.List<org.gradle.api.tasks.TaskProvider<org.gradle.api.Task>> getProviderInstrumentTestProviders()
        Deprecated.
        Returns the TaskProviders for the tasks to run the tests.

        Only valid for test project.

        Prefer this to getProviderInstrumentTests() as it triggers eager configuration of the tasks.