Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of about 10,000 for wren (0.11 sec)

  1. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/SymlinkFileSystemWatchingIntegrationTest.groovy

                        outputFile.text = "Hello world"
                    }
                }
            """
    
            when:
            withWatchFs().run "myTask"
            then:
            executedAndNotSkipped ":myTask"
    
            when:
            withWatchFs().run "myTask"
            then:
            skipped(":myTask")
    
            when:
            file(fileToChange).text = "changed"
            waitForChangesToBePickedUp()
            withWatchFs().run "myTask"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy

        }
    
        def "selects annotated constructor when class has multiple constructors and only one is annotated"() {
            when:
            def result = instantiator.newInstance(HasOneInjectConstructor, 12)
    
            then:
            result != null
        }
    
        def "class can have private constructor with args and annotated"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 04:41:06 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top