Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. subprojects/core/src/test/groovy/org/gradle/internal/model/StateTransitionControllerTest.groovy

        }
    
        def "runs action for transition when in from state"() {
            def action = Mock(Runnable)
            def controller = controller(TestState.A)
    
            when:
            asWorker {
                controller.transition(TestState.A, TestState.B, action)
            }
    
            then:
            1 * action.run()
            0 * _
        }
    
        def "runs action and returns result for transition when in from state"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/ClientBuildEventGeneratorTest.groovy

            when:
            generator.started(operation, startEvent)
    
            then:
            0 * _
    
            when:
            generator.progress(operationId, progressEvent)
    
            then:
            0 * _
    
            when:
            generator.finished(operation, finishEvent)
    
            then:
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGradlePropertiesIntegrationTest.groovy

        def "invalidates cache when set of Gradle property defining system properties changes"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            settingsFile << """
                println(gradleProp + '!')
            """
    
            when:
            configurationCacheRun "help", "-D${SYSTEM_PROJECT_PROPERTIES_PREFIX}gradleProp=1"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top