Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for collectDescriptorsFromBuild (0.19 sec)

  1. 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)
  2. 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