Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for myTestTask (0.19 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r83/TestLauncherCustomTestTaskCrossVersionTest.groovy

                launcher.withTestsFor { TestSpecs specs ->
                    specs.forTaskPath(':myTestTask').includeClass('org.my.MyClass')
                }
            }
    
            then:
            Throwable exception = thrown(TestExecutionException)
            exception.cause.message == "Task ':myTestTask' of type 'CustomTestTask_Decorated' not supported for executing tests via TestLauncher API."
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/fixture/Snippets.groovy

     * limitations under the License.
     */
    
    package org.gradle.integtests.tooling.fixture
    
    import org.gradle.test.fixtures.file.TestFile
    
    abstract class Snippets {
    
        /**
         * Defines the 'myTestTask' test task in the build script with a custom AbstractTestTask implementation in buildSrc.
         */
        static void customTestTask(TestFile buildScript, TestFile buildSrcDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r75/CustomTestTaskProgressEventCrossVersionTest.groovy

            ValidatingProgressEventListener validatingListener = new ValidatingProgressEventListener()
    
            when:
            withConnection {
                it.newBuild().forTasks('myTestTask').addProgressListener(validatingListener).run()
            }
    
            then:
            validatingListener.receivedCustomTestTaskProgressEvents()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc

    ----
    val test by testing.suites.existing(JvmTestSuite::class)
    tasks.named<Test>("myTestTask") {
        testClassesDirs = files(test.map { it.sources.output.classesDirs })
        classpath = files(test.map { it.sources.runtimeClasspath })
    }
    ----
    =====
    [.multi-language-sample]
    =====
    .build.gradle
    [source,groovy]
    ----
    tasks.myTestTask {
        testClassesDirs = testing.suites.test.sources.output.classesDirs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 17:01:07 UTC 2024
    - 90.7K bytes
    - Viewed (0)
Back to top