Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 8,420 for wren (0.1 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/ElementSourceSpec.groovy

        abstract List<CharSequence> iterationOrder(CharSequence... values)
    
        def "can add a realized element"() {
            when:
            source.add("foo")
    
            then:
            source.size() == 1
            source.contains("foo")
        }
    
        def "can add a provider"() {
            when:
            source.addPending(provider("foo"))
    
            then:
            source.size() == 1
            source.contains("foo")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 25 10:08:46 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            when:
            ant.property(name: 'prop1', value: 'value1')
    
            then:
            ant.prop1 == 'value1'
    
            when:
            ant.prop2 = 'value2'
    
            then:
            ant.antProject.properties.prop2 == 'value2'
        }
    
        def "throws MissingPropertyException for unknown property"() {
            when:
            ant.unknown
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FileBackedObjectHolderTest.groovy

        }
    
        def "returns null when file does not exist"() {
            when:
            def result = cache.get()
    
            then:
            result == null
            1 * fileAccess.readFile(!null) >> { it[0].get() }
        }
    
        def "get returns last value written to file"() {
            when:
            cache.set('some value')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:50 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaApplicationInitIntegrationTest.groovy

            when:
            run("build")
    
            then:
            assertTestPassed("org.example.AppSuite", "App has a greeting")
    
            when:
            run("run")
    
            then:
            outputContains("Hello, world!")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        def "creates with gradle.properties when using #scriptDsl build scripts with --incubating"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultRedrawableLabelTest.groovy

            0 * ansi._
        }
    
        def "won't redraw when label is out of console bound"() {
            given:
            def label = new DefaultRedrawableLabel(Cursor.at(-2, 0))
            label.text = "text"
    
            when:
            redraw(label)
    
            then:
            0 * ansi._
        }
    
        def "writes nothing when visibility is set to false before first redraw"() {
            given:
            label.text = "text"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/AbstractLongRunningOperationTest.groovy

        def "null or empty arguments have the same meaning"() {
            when:
            op.withArguments(null as List)
    
            then:
            op.consumerOperationParameters.arguments == null
    
            when:
            op.withArguments([])
    
            then:
            op.consumerOperationParameters.arguments == null
    
            when:
            op.withArguments()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/GroovyApplicationInitIntegrationTest.groovy

            when:
            run("build")
    
            then:
            assertTestPassed("my.app.AppTest", "application has a greeting")
    
            when:
            run("run")
    
            then:
            outputContains("Hello World!")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelGraphTest.groovy

        }
    
        def "notifies listener when node added in projected state"() {
            def listener = allAcceptingListener()
            def a = node("a")
            def b = node("b")
    
            given:
            graph.addListener(listener)
    
            when:
            graph.add(a)
    
            then:
            1 * listener.onDiscovered(a)
            0 * listener.onDiscovered(_)
    
            when:
            graph.add(b)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaApplicationInitIntegrationTest.groovy

            dslFixture.assertHasTestSuite("test")
    
            when:
            run('test')
            then:
            assertTestPassed("org.example.AppTest", "appHasAGreeting")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        def "creates with gradle.properties when using #scriptDsl build scripts with --incubating"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/bundling/AbstractArchiveTaskTest.groovy

        }
    
        def "archiveFileName with empty version"() {
            when:
            archiveTask.archiveVersion.set(null)
    
            then:
            archiveTask.archiveFileName.get() == "testbasename-testappendix-src.${archiveTask.archiveExtension.get()}".toString()
        }
    
        def "uses custom archive name when set"() {
            when:
            archiveTask.archiveFileName.set('somefile.out')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 07 10:40:13 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top