Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,261 for wren (0.05 sec)

  1. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy

            }
            0 * _
    
            when:
            invalidate(snapshotInsideFirstWatchableHierarchy.absolutePath)
            then:
            1 * watcher.stopWatching({ equalIgnoringOrder(it, [watchableHierarchies[0]]) })
            0 * _
    
            when:
            buildFinished()
            then:
            0 * _
    
            when:
            addSnapshotInWatchableHierarchy(watchableHierarchies[0])
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/SmokeContinuousIntegrationTest.groovy

        }
    
        def "exits when build fails with compile error"() {
            when:
            buildFile << """
                'script error
            """
    
            then:
            fails("a")
            exitContinuousBuildSinceNoDeclaredInputs()
        }
    
        def "exits when build fails with configuration error"() {
            when:
            buildFile << """
                throw new Exception("!")
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 18.5K bytes
    - Viewed (0)
Back to top