Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 9,822 for wren (0.11 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/WithSideEffectProviderTest.groovy

            provider.calculateExecutionTimeValue()
    
            then:
            0 * _ // no side effects when values are not unpacked
    
            when:
            counter.set(23)
            def unpackedValue = getter(provider, method, 88)
            then:
            unpackedValue == 23
            1 * sideEffect.execute(23)
    
            when:
            unpackedValue = getter(provider, method, 88)
            then:
            unpackedValue == 24
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/integTest/groovy/org/gradle/internal/execution/IncrementalExecutionIntegrationTest.groovy

        def "out-of-date when any input file changes"() {
            given:
            execute(unitOfWork)
    
            when:
            inputFile.write("some new content")
    
            then:
            outOfDate(unitOfWork, inputFilesChanged(file: [inputFile]))
        }
    
        def "out-of-date when any input file type changes"() {
            given:
            execute(unitOfWork)
    
            when:
            inputFile.delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 10:36:34 UTC 2024
    - 23.7K bytes
    - Viewed (0)
  3. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystemTest.groovy

            locationsUpdatedByCurrentBuild,
            watchableFileSystemDetector,
            fileChangeListeners
        )
    
        def "invalidates the virtual file system before and after the build when watching is disabled"() {
            when:
            watchingVirtualFileSystem.updateRootUnderLock { root -> nonEmptySnapshotHierarchy }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	Test
    
    	/* package names */
    
    	// BlankPkgName occurs when a package name is the blank identifier "_".
    	//
    	// Per the spec:
    	//  "The PackageName must not be the blank identifier."
    	BlankPkgName
    
    	// MismatchedPkgName occurs when a file's package name doesn't match the
    	// package name already established by other files.
    	MismatchedPkgName
    
    	// InvalidPkgUse occurs when a package identifier is used outside of a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonLifecycleSpec.groovy

            when:
            startForegroundDaemon()
    
            then:
            idle()
    
            when:
            startBuild()
            waitForBuildToWait()
    
            then:
            busy()
        }
    
        def "a new daemon is started if all existing are busy"() {
            when:
            startBuild()
    
            then:
            busy()
    
            when:
            startBuild()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/IterationOrderRetainingSetElementSourceTest.groovy

            when:
            source.add("a")
            source.add("b")
            source.remove("a")
    
            then:
            source.iterator().collect() == ["b"]
    
            when:
            source.add("a")
    
            then:
            source.iterator().collect() == ["b", "a"]
        }
    
        def "can re-add an ordinary value after clear"() {
            when:
            source.add("a")
            source.add("b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 06:43:26 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractDomainObjectCollectionSpec.groovy

            when:
            container.whenObjectAdded(action)
    
            then:
            // Does not fire for existing elements
            0 * action._
    
            when:
            addToContainer(a)
    
            then:
            1 * action.execute(a)
            0 * action._
    
            when:
            addToContainer(a)
    
            then:
            0 * action._
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

            when:
            otherHeaderFile << """
                // Some extra content
    """
            and:
            run "mainExecutable"
    
            then:
            executedAndNotSkipped compileTask
    
            and:
            outputs.recompiledFile sourceFile
        }
    
        @ToBeFixedForConfigurationCache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy

        def "close when lock has never been acquired"() {
            when:
            cacheAccess.close()
    
            then:
            0 * _
        }
    
        def "acquires lock then runs action and retains lock on completion"() {
            def action = Mock(Supplier)
            def lock = Mock(FileLock)
    
            when:
            cacheAccess.withFileLock(action)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

        void applyPlugin() {
            settingsFile << fixture.plugins()
        }
    
        def "automatically applies plugin when --scan is provided on command-line"() {
            when:
            runBuildWithScanRequest()
    
            then:
            pluginAppliedOnce()
        }
    
        def "only applies once when -b used"() {
            when:
            file("other-build.gradle") << "task dummy {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top