Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 8,420 for wren (0.06 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskCreationIntegrationTest.groovy

            when:
            run("other")
    
            then:
            result.assertNotOutput("task1")
            result.assertNotOutput("task2")
    
            when:
            run("task2")
    
            then:
            outputContains("Create :task1")
            outputContains("Configure :task1")
            outputContains("Create :task2")
            outputContains("Configure :task2")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 13 09:05:07 UTC 2021
    - 9.8K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingGraphVisitorTest.groovy

        def 'initialises when there is lock state'() {
            when:
            visitor.start(rootNode)
    
            then:
            1 * dependencyLockingProvider.loadLockState(lockId, _) >> lockState
            1 * lockState.mustValidateLockState() >> true
            1 * lockState.lockedDependencies >> emptySet()
            0 * _
        }
    
        def 'initialises when there is no lock state'() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/HierarchicalAttributeContainerTest.groovy

            when:
            fallback.attribute(one, "fallback")
    
            then:
            joined.keySet() == [one] as Set
    
            when:
            primary.attributeProvider(one, Providers.of("primary"))
    
            then:
            joined.keySet() == [one] as Set
    
            when:
            fallback.attributeProvider(two, Providers.of("fallback"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 27 04:00:15 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolutionstrategy/DefaultComponentSelectionRulesTest.groovy

            rules.setMutationValidator(checker)
    
            when: rules.all(Actions.doNothing())
            then: 1 * checker.validateMutation(STRATEGY)
    
            when: rules.all(Closure.IDENTITY)
            then: 1 * checker.validateMutation(STRATEGY)
    
            when: rules.all(ruleSource)
            then: 1 * checker.validateMutation(STRATEGY)
    
            when: rules.withModule("something:else", Actions.doNothing())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableComponentResolveResultTest.groovy

            result.graphState == graphState
        }
    
        def "cannot get id when no result has been specified"() {
            when:
            result.moduleVersionId
    
            then:
            IllegalStateException e = thrown()
            e.message == 'No result has been specified.'
        }
    
        def "cannot get state when no result has been specified"() {
            when:
            result.state
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectionUsingLenientConstructorSelectorTest.groovy

        }
    
        def "fails on non-static inner class when outer type not provided as first parameter when type takes constructor params"() {
            given:
            services.find(Number) >> 12
    
            when:
            def inst = instantiator.newInstance(NonStaticWithParams, this, "param")
    
            then:
            inst.owner == this
    
            when:
            instantiator.newInstance(NonStaticWithParams, "param")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskInputsTest.groovy

            inputs.sourceFiles.empty
        }
    
        def "can register input file"() {
            when:
            inputs.file("a")
            then:
            inputFileProperties() == ['$1': "a"]
            inputs.files.files == files("a")
        }
    
        def "can register input file with property name"() {
            when:
            inputs.file("a").withPropertyName("prop")
            then:
            inputFileProperties() == ['prop': "a"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 16 20:09:26 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top