Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 6,999 for wren (0.12 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectionUsingLenientConstructorSelectorTest.groovy

        }
    
        def "fails on non-static inner class when outer type not provided as first parameter when type takes constructor params"() {
            given:
            services.find(Number) >> 12
    
            when:
            def inst = instantiator.newInstance(NonStaticWithParams, this, "param")
    
            then:
            inst.owner == this
    
            when:
            instantiator.newInstance(NonStaticWithParams, "param")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskInputsTest.groovy

            inputs.sourceFiles.empty
        }
    
        def "can register input file"() {
            when:
            inputs.file("a")
            then:
            inputFileProperties() == ['$1': "a"]
            inputs.files.files == files("a")
        }
    
        def "can register input file with property name"() {
            when:
            inputs.file("a").withPropertyName("prop")
            then:
            inputFileProperties() == ['prop': "a"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 16 20:09:26 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ResolutionOverrideIntegrationTest.groovy

        into 'libs'
        from configurations.compile
    }
    """
            and:
            module.allowAll()
    
            when:
            succeeds 'retrieve'
    
            then:
            file('libs').assertHasDescendants('projectA-1.2.jar')
            def snapshot = file('libs/projectA-1.2.jar').snapshot()
    
            when:
            module.publishWithChangedContent()
    
            and:
            server.resetExpectations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/result/DefaultBuildableArtifactResolveResultTest.groovy

            e == failure
        }
    
        def "cannot get file 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.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskTypeUpToDateIntegrationTest.groovy

                }
            """
    
            when:
            succeeds "copy"
            then:
            executedAndNotSkipped(":copy")
    
            file('build/input.txt').makeOlder()
    
            when:
            succeeds "copy"
            then:
            skipped ":copy"
    
            buildFile << """
                task other {}
            """
    
            when:
            succeeds "copy"
            then:
            skipped ":copy"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 30 07:31:26 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheInitScriptsIntegrationTest.groovy

                """
            }
    
            when:
            configurationCacheRun 'tasks', '-I', initScript.absolutePath
    
            then:
            outputContains 'foo!'
            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result) {
                withInput("Initialization script 'initscript.gradle': file 'input.txt'")
            }
    
            when:
            buildLogicInput.text = 'bar!'
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

        }
    
        def "executable is unavailable when not found in system path"() {
            def visitor = Mock(DiagnosticsVisitor)
    
            given:
            os.getExecutableName("cc") >> "cc.bin"
            os.path >> []
    
            when:
            def result = registry.locate(ToolType.C_COMPILER, "cc")
    
            then:
            !result.available
    
            when:
            result.explain(visitor)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/NonHierarchicalFileWatcherUpdaterTest.groovy

            def fileInWatchableHierarchies = file("first/inside/root/dir/file.txt")
            def fileOutsideOfWatchableHierarchies = file("forth").file("someFile.txt")
    
            when:
            registerWatchableHierarchies(watchableHierarchies)
            then:
            0 * _
    
            when:
            fileInWatchableHierarchies.createFile()
            addSnapshot(snapshotRegularFile(fileInWatchableHierarchies))
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/core/ModelPathValidationTest.groovy

        def "validate name"() {
            when:
            ModelPath.validateName("")
    
            then:
            def e = thrown(ModelPath.InvalidNameException)
            e.message =~ "empty string"
    
            when:
            ModelPath.validateName("ΓΌ")
    
            then:
            e = thrown(ModelPath.InvalidNameException)
            e.message =~ "first character"
    
            when:
            ModelPath.validateName(" ")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessorTest.groovy

            then:
            1 * delegate.stop()
            0 * _._
        }
    
        def 'does nothing on end of processing when no tests received'() {
            expect:
            processor.stop()
        }
    
        def 'does nothing on end of processing when on nth test'() {
            when:
            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
            processor.processTestClass(test2)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top