Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 3,561 for succeeds (0.24 sec)

  1. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocIntegrationTest.groovy

            when:
            succeeds scaladoc
            then:
            executedAndNotSkipped scaladoc
    
            when:
            succeeds scaladoc
            then:
            skipped scaladoc
            newScalaVersion != this.classes.scalaVersion
    
            when:
            this.classes.scalaVersion = newScalaVersion
            buildScript(this.classes.buildScript())
            succeeds scaladoc
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

    }
    """
    
            when:
            useMavenRepo(repo)
            succeeds ideTask
    
            then:
            ideFileContainsEntry("module-1.0.jar", "module-1.0-sources.jar", "module-1.0-javadoc.jar")
            ideFileContainsEntry("module-1.0-api.jar", "module-1.0-sources.jar", "module-1.0-javadoc.jar")
    
            when:
            server.resetExpectations()
            succeeds ideTask
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

            """
    
            when:
            succeeds("run")
    
            then:
            output.contains(logStatement())
            file('encoded.out').getText("utf-8") == "\u03b1\u03b2\u03b3"
        }
    
        def "can compile with specified debug settings"() {
            given:
            goodCode()
    
            when:
            succeeds("compileJava")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  4. platforms/software/version-control/src/integTest/groovy/org/gradle/vcs/git/internal/SourceDependencyCleanupIntegrationTest.groovy

            succeeds("assertVersion", "-PrepoVersion=1.0")
            def checkout = checkoutDir("dep", commits.initial.id.name, repo.id)
    
            // Put new file in the checkout directory that would be deleted if Gradle
            // deletes the checkout directory
            def trashFile = checkout.file("trash")
            trashFile.text = "junk"
    
            when:
            succeeds("assertVersion", "-PrepoVersion=1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalCompileIntegrationTest.groovy

             """
    
            and:
            succeeds "assemble", "assembleRelease"
    
            expect:
            succeeds "assemble"
            result.assertTasksExecuted(tasks.debug.allToLink, ":assemble")
            result.assertTasksSkipped(tasks.debug.allToLink, ":assemble")
    
            sharedLibrary("build/lib/main/debug/hello").assertExists()
    
            succeeds "assembleRelease"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/cli/TaskOptionsSpec.groovy

            when:
            buildScript """
                ${defineTaskWithProfileOption()}
    
                tasks.register('mytask', MyTask.class)
            """
    
            then:
            succeeds "mytask", "--profile"
            output.contains "See the profiling report at"
            !output.contains("profile=myvalue")
        }
    
        def "can use -- to specify a task option with same name as a built-in option"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  7. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/java/SamplesJavaTestingIntegrationTest.groovy

            executer.inDirectory(dslDir).withArgument("-PmySkipTests")
            def result = succeeds("build")
    
            then:
            result.assertTaskSkipped(":test")
    
            when: "run second time to restore from configuration cache if it is enabled"
            executer.inDirectory(dslDir).withArgument("-PmySkipTests")
            def secondResult = succeeds("build")
    
            then:
            secondResult.assertTaskSkipped(":test")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/JavaExecJavaVersionIntegrationSpec.groovy

            when:
            executer.withJavaHome AvailableJavaHomes.getLowestSupportedLTS().javaHome
            succeeds "runHelloWorld"
            then:
            executedAndNotSkipped ":runHelloWorld"
    
            when:
            executer.withJavaHome AvailableJavaHomes.getLowestSupportedLTS().javaHome
            succeeds "runHelloWorld"
            then:
            skipped ":runHelloWorld"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 24 21:27:49 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "skip compile and link tasks when no source"() {
            given:
            buildFile << """
                apply plugin: 'cpp-library'
            """
    
            expect:
            succeeds "assemble"
            result.assertTasksExecuted(tasks.debug.allToLink, ":assemble")
            // TODO - should skip the task as NO-SOURCE
            result.assertTasksSkipped(tasks.debug.allToLink, ":assemble")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileLineEndingSensitivityIntegrationTest.groovy

            when:
            executer.withBuildCacheEnabled()
            succeeds compileTask
    
            then:
            executedAndNotSkipped compileTask
    
            when:
            writeJavaSourceWithWindowsLineEndings()
            succeeds "clean"
    
            and:
            executer.withBuildCacheEnabled()
            succeeds compileTask
    
            then:
            fromCache compileTask
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top