Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,186 for wren (0.06 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/build/DefaultBuildLifecycleControllerTest.groovy

            def failure = new RuntimeException()
    
            when:
            expectSettingsBuiltWithFailure(failure)
    
            def controller = this.controller()
            controller.loadSettings()
    
            then:
            def t = thrown RuntimeException
            t == failure
    
            when:
            def finishResult = controller.finishBuild(null)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 11:17:11 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. 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)
  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. 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)
  5. 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)
  6. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy

                }
            """
    
            when:
            succeeds ":customTask", "-PoutputDir=build/output1"
            then:
            executedAndNotSkipped ":customTask"
    
            when:
            succeeds ":customTask", "-PoutputDir=build/output2"
            then:
            executedAndNotSkipped ":customTask"
    
            when:
            succeeds ":customTask", "-PoutputDir=build/output1"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy

            when:
            runWithInput("generate", prompt, "value")
    
            then:
            result.assertTaskNotSkipped(":generate")
            file("build/out.txt").text == "value"
    
            when:
            runWithInput("generate", prompt, "value")
    
            then:
            result.assertTaskSkipped(":generate")
    
            when:
            runWithInput("generate", prompt, "")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ArtifactCacheUnusedEntryCleanupIntegrationTest.groovy

        def "downloads deleted files again when they are referenced"() {
            given:
            buildscriptWithDependency(snapshotModule)
    
            when:
            succeeds 'resolve'
    
            then:
            def jarFile = findFile(cacheDir, "files-*/**/*.jar")
    
            when:
            assert jarFile.delete()
    
            and:
            succeeds 'resolve'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 12:06:23 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/invocation/DefaultGradleSpec.groovy

            given:
            gradle.attachSettings(state)
    
            when:
            gradle.resetState()
    
            then:
            1 * state.close()
        }
    
        def "get root project throws exception when root project is not available"() {
            when:
            gradle.rootProject
    
            then:
            thrown IllegalStateException
    
            when:
            def rootProject = project('root')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

            !container.hasPlugin("x")
            !container.findPlugin("x")
        }
    
        def "fails when getting unknown plugin"() {
            when:
            container.getPlugin("unknown")
    
            then:
            thrown(UnknownPluginException)
        }
    
        def "fails when getting plugin of unknown type"() {
            when:
            container.getPlugin(plugin1Class)
    
            then:
            thrown(UnknownPluginException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top