Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 6,999 for wren (0.09 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/AbstractIterationOrderRetainingElementSourceTest.groovy

            source.add("fizz")
    
            when:
            def iterator = source.iteratorNoFlush()
            iterator.remove()
    
            then:
            thrown(IllegalStateException)
    
            when:
            def next = iterator.next()
    
            then:
            next == "foo"
    
            when:
            iterator.remove()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultFileContentCacheFactoryTest.groovy

            0 * _
    
            when:
            result = cache.get(file)
    
            then:
            result == 12
            0 * _
        }
    
        def "calculates entry value for directory when not seen before and reuses result"() {
            def file = new File("thing.txt")
            def cache = factory.newCache("cache", 12000, calculator, BaseSerializerFactory.INTEGER_SERIALIZER)
    
            when:
            def result = cache.get(file)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/execution/TaskNameResolverTest.groovy

        def "eagerly locates task with given name for single project"() {
            def task = task('task')
    
            when:
            def candidates = resolver.selectWithName('task', project, false)
    
            then:
            1 * tasks.discoverTasks()
            1 * tasks.names >> (['task'] as SortedSet)
            0 * tasks._
    
            when:
            def matches = asTasks(candidates)
    
            then:
            matches == [task]
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Oct 22 03:06:58 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/MultiProcessSafeIndexedCacheTest.groovy

            given:
            cacheOpened()
    
            when:
            cache.finishWork()
    
            then:
            1 * fileAccess.writeFile(!null) >> { Runnable action -> action.run() }
            1 * backingCache.close()
            0 * _._
        }
    
        def "closes cache when closed"() {
            given:
            cacheOpened()
    
            when:
            cache.finishWork()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

                }
                """
    
            when:
            run "thing"
    
            then:
            result.assertTasksExecuted(":a:thing", ":b:thing", ":a:a:thing", ":b:b:thing")
    
            when:
            executer.inDirectory(file("a"))
            run "thing"
    
            then:
            result.assertTasksExecuted(":a:thing", ":a:a:thing")
    
            // camel case matching
            when:
            run "th"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/build-configuration/src/integTest/groovy/org/gradle/interal/buildconfiguration/tasks/UpdateDaemonJvmIntegrationTest.groovy

        }
    
        def "When execute updateDaemonJvm without options Then build properties are populated with default values"() {
            when:
            run "updateDaemonJvm"
    
            then:
            assertJvmCriteria(Jvm.current().javaVersion)
            outputContains("Daemon JVM criteria is an incubating feature.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top