Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of about 10,000 for wren (0.09 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ResolutionOverrideIntegrationTest.groovy

        into 'libs'
        from configurations.compile
    }
    """
            and:
            module.allowAll()
    
            when:
            succeeds 'retrieve'
    
            then:
            file('libs').assertHasDescendants('projectA-1.2.jar')
            def snapshot = file('libs/projectA-1.2.jar').snapshot()
    
            when:
            module.publishWithChangedContent()
    
            and:
            server.resetExpectations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/CompositeDomainObjectSetTest.groovy

        }
    
        def "all callback called when items added to component of composite"() {
            given:
            def component1 = collection("a")
            def component2 = collection("b")
            def composite = composite(component1, component2)
    
            when:
            def calledFor = []
            composite.all { calledFor << it }
    
            then:
            calledFor == ["a", "b"]
    
            when:
            component1.add("c")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 05 20:02:22 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskTypeUpToDateIntegrationTest.groovy

                }
            """
    
            when:
            succeeds "copy"
            then:
            executedAndNotSkipped(":copy")
    
            file('build/input.txt').makeOlder()
    
            when:
            succeeds "copy"
            then:
            skipped ":copy"
    
            buildFile << """
                task other {}
            """
    
            when:
            succeeds "copy"
            then:
            skipped ":copy"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 30 07:31:26 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ListElementSourceTest.groovy

            source.add("fizz")
    
            when:
            def iterator = source.listIterator()
            iterator.set("fuzz")
    
            then:
            thrown(IllegalStateException)
    
            when:
            iterator.next()
            iterator.set("fuzz")
    
            then:
            source.iteratorNoFlush().collect() == ["fuzz", "fizz"]
    
            when:
            iterator.next()
            iterator.set("buzz")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 13 05:06:48 UTC 2020
    - 12.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableArtifactResolveResultTest.groovy

            e == failure
        }
    
        def "cannot get file when no result specified"() {
            when:
            result.result
    
            then:
            IllegalStateException e = thrown()
            e.message == 'No result has been specified.'
        }
    
        def "cannot get failure when no result specified"() {
            when:
            result.failure
    
            then:
            IllegalStateException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/initialization/buildsrc/DisallowBuildSrcAsNameIntegTest.groovy

    class DisallowBuildSrcAsNameIntegTest extends AbstractIntegrationSpec {
    
        def "fails when trying to include buildSrc as project"() {
            buildFile << """
                task t
            """
            settingsFile << """
                include 'buildSrc'
            """
    
            when:
            fails "t"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 24 20:48:49 UTC 2021
    - 3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

                """
            }
    
            when:
            configurationCacheRun 'tasks', '-I', initScript.absolutePath
    
            then:
            outputContains 'foo!'
            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result) {
                withInput("Initialization script 'initscript.gradle': file 'input.txt'")
            }
    
            when:
            buildLogicInput.text = 'bar!'
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

        }
    
        def "executable is unavailable when not found in system path"() {
            def visitor = Mock(DiagnosticsVisitor)
    
            given:
            os.getExecutableName("cc") >> "cc.bin"
            os.path >> []
    
            when:
            def result = registry.locate(ToolType.C_COMPILER, "cc")
    
            then:
            !result.available
    
            when:
            result.explain(visitor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileToolchainIntegrationTest.groovy

            // Some cases are skipped, because forkOptions (when configured) must match the resulting toolchain, otherwise the build fails
            what             | when                         | withTool | withJavaHome | withExecutable | withJavaExtension | target
            "current JVM"    | "when nothing is configured" | null     | null         | null           | null              | "current"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependencySpec.groovy

            when:
            dep.addArtifact(Mock(DependencyArtifact))
    
            then:
            thrown(InvalidUserCodeException)
        }
    
        void "refuses target configuration when attributes present"() {
            given:
            def dep = createDependency("group", "name", "1.0")
            dep.attributes {
                it.attribute(Attribute.of("attribute", String), 'foo')
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 12.1K bytes
    - Viewed (0)
Back to top