Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for wren (0.21 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskEnumTypesInputPropertyIntegrationTest.groovy

    }
    """
    
            given:
            run "someTask"
    
            when:
            run "someTask"
    
            then:
            skipped(":someTask")
    
            // Change the build script
            when:
            buildFile << """
    task someOtherTask
    """
            and:
            run "someTask"
    
            then:
            executedAndNotSkipped(":someTask")
    
            when:
            run "someTask"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy

            withProcessor(helperProcessor)
        }
    
        def "generated files are recompiled when annotated file changes"() {
            given:
            def a = java "@Helper class A {}"
            java "class Unrelated {}"
    
            outputs.snapshot { run "compileJava" }
    
            when:
            a.text = "@Helper class A { public void foo() {} }"
            run "compileJava"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableModuleComponentMetaDataResolveResultTest.groovy

            then:
            thrown(IllegalStateException)
        }
    
        def "cannot get meta-data when has no result"() {
            when:
            descriptor.metaData
    
            then:
            thrown(IllegalStateException)
        }
    
        def "cannot get authoritative flag when has no result"() {
            when:
            descriptor.authoritative
    
            then:
            thrown(IllegalStateException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            expect:
            notStopped
    
            when: "stopped first time"
            coordinator.stop()
    
            then: "stops"
            stopped
    
            when: "requested again"
            coordinator.stop()
    
            then:
            stopped
            0 * _._
        }
    
        def "await idle timeout does nothing when already stopped"() {
            given:
            coordinator.stop()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  5. platforms/extensibility/test-kit/src/test/groovy/org/gradle/testkit/runner/internal/DefaultGradleRunnerTest.groovy

            when:
            createRunner().build()
    
            then:
            def t = thrown(InvalidRunnerConfigurationException)
            t.message == 'Please specify a project directory before executing the build'
        }
    
        def "throws exception if working directory is not provided when run is requested"() {
            when:
            createRunner().run()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  6. src/internal/types/errors/codes.go

    	// InvalidPkgUse occurs when a package identifier is used outside of a
    	// selector expression.
    	//
    	// Example:
    	//  import "fmt"
    	//
    	//  var _ = fmt
    	InvalidPkgUse
    
    	// BadImportPath occurs when an import path is not valid.
    	BadImportPath
    
    	// BrokenImport occurs when importing a package fails.
    	//
    	// Example:
    	//  import "amissingpackage"
    	BrokenImport
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/PropertySpec.groovy

            property.set(someValue())
    
            when:
            property.finalizeValueOnRead()
    
            then:
            0 * _
    
            when:
            def value = property.orNull
    
            then:
            value == someValue()
    
            and:
            1 * host.beforeRead(null) >> null
        }
    
        def "can disallow changes when host is not ready when unsafe read disallowed"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 87.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderSpec.groovy

            when:
            def mapped = provider.map(transform)
    
            then:
            0 * transform._
    
            when:
            def present = mapped.present
    
            then:
            present
    
            and:
            1 * transform.transform(someValue()) >> someOtherValue()
            0 * transform._
    
            when:
            def result = mapped.get()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 06:53:07 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/MonotonicClockTest.groovy

        def "prevents time from going backwards"() {
            when:
            setNanos 0
    
            then:
            clock.currentTime == START_MILLIS + 0
    
            when:
            setNanos 10
    
            then:
            clock.currentTime == START_MILLIS + 10
    
            when:
            setNanos 8
    
            then:
            clock.currentTime == START_MILLIS + 10
    
            when:
            setNanos 10
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableArtifactSetResolveResultTest.groovy

        def "cannot get artifacts 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.1K bytes
    - Viewed (0)
Back to top