Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

            container.add(binary)
            container.configureEach { container.whenElementFinalized(action) }
    
            when:
            container.realizeNow()
    
            then:
            1 * action.execute(binary)
            0 * action._
        }
    
        def "executes when finalized actions eagerly when collection is finalized"() {
            given:
            def action = Mock(Action)
            def binary = Stub(SwiftBinary)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K 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-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)
  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. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

        }
    
        def testChildResolvesUsingParentDestinationPathAsDefault() {
            when:
            parentSpec.into 'parent'
            CopySpecResolver parentContext = parentSpec.buildRootResolver()
    
            then:
            parentContext.destPath == new RelativePath(false, 'parent')
    
            when:
            DefaultCopySpec child = copySpec()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K 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. subprojects/core/src/test/groovy/org/gradle/util/ConcurrentSpecificationTest.groovy

            when:
            executed.started {
                action.run()
            }
    
            then:
            1 * action.run() >> { executed.done() }
        }
    
        @FailsWith(TooManyInvocationsError)
        def "async action fails when start action throws an exception"() {
            Runnable action = Mock()
            def executed = startsAsyncAction()
    
            when:
            executed.started {
                action.run()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:50 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top