Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for collectDescriptorsFromBuild (0.23 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

        public static final GradleVersion GRADLE_VERSION_34 = GradleVersion.version("3.4")
    
        def "test launcher api fires progress events"() {
            given:
            collectDescriptorsFromBuild()
            events.assertIsABuild()
    
            when:
            launchTests(testDescriptors("example.MyTest"));
    
            then:
            events.trees == events.tasks
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            events.tests.size() == (supportsEfficientClassFiltering() ? 10 : 14)
        }
    
        def "fails with meaningful error when requested tests not found"() {
            given:
            collectDescriptorsFromBuild()
            and:
            testClassRemoved()
            when:
            launchTests { TestLauncher launcher ->
                launcher.withJvmTestClasses("org.acme.NotExistingTestClass")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

            def collect = events.tests.collect { it.descriptor }
            !findTestDescriptors(collect, testInfo.className, testInfo.methodName, testInfo.task, testInfo.displayName).isEmpty()
        }
    
    
        void collectDescriptorsFromBuild() {
            try {
                withConnection {
                    ProjectConnection connection ->
                        connection.newBuild().forTasks('build')
                            .withArguments("--continue")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top