Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of about 10,000 for wren (0.05 sec)

  1. 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)
  2. 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)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy

            server.start()
    
            when:
            def a = server.uri("a")
            def b = server.uri("b")
    
            then:
            a.scheme == "http"
            b.scheme == "http"
            a.toURL().text == "hi"
            b.toURL().text == "hi"
    
            when:
            server.stop()
    
            then:
            noExceptionThrown()
        }
    
        def "succeeds when expected serial requests are made"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorTest.groovy

            when:
            createInstance(extractedB)
    
            then:
            def e = thrown(Exception)
            e.cause.cause instanceof UnsupportedOperationException
    
            when:
            extractedA.STATIC_IN_A()
    
            then:
            thrown(UnsupportedOperationException)
    
            when:
            extractedB.STATIC_IN_B()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 14.8K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/resources/src/test/groovy/org/gradle/internal/resource/DownloadedUriTextResourceTest.groovy

        }
    
        def "should have no content when downloaded file has no content"() {
            when:
            downloadedFile.text = ""
            underTest = new DownloadedUriTextResource("Test description", sourceUri, "", downloadedFile, resolver)
    
            then:
            underTest.getHasEmptyContent()
        }
    
        def "should have content when downloaded file has content"() {
            when:
            downloadedFile.text = "Some content"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 19:38:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/cache/DefaultCacheConfigurationsTest.groovy

            when:
            cacheConfigurations.createdResources.setRemoveUnusedEntriesAfterDays(0)
    
            then:
            thrown(IllegalArgumentException)
    
            when:
            cacheConfigurations.downloadedResources.setRemoveUnusedEntriesAfterDays(0)
    
            then:
            thrown(IllegalArgumentException)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

                )
            }
    
            when:
            configurationCacheRun ":jar", "-Dcreator=creator1"
    
            then:
            assertCreatedBy 'creator1'
            assertStateStored()
    
            when:
            configurationCacheRun ":jar", "-Dcreator=creator2"
    
            then:
            assertCreatedBy 'creator2'
            assertStateLoaded()
    
            when:
            manifestFile.delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/DefaultPropertyTest.groovy

            def property = propertyWithDefaultValue(String)
    
            when:
            def p = property.map(transformer)
    
            then:
            !p.present
            0 * _
    
            when:
            property.set("123")
            p.present
    
            then:
            1 * transformer.transform("123") >> "present"
            0 * _
    
            when:
            def r = p.get()
    
            then:
            r == "321"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxyTest.groovy

    class ToolingParameterProxyTest extends Specification {
    
        def "returns parameter valid when well defined"() {
            when:
            ToolingParameterProxy.validateParameter(ValidParameter)
    
            then:
            noExceptionThrown()
        }
    
        def "returns parameter invalid when not a getter or setter"() {
            when:
            ToolingParameterProxy.validateParameter(InvalidParameter1)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.2K bytes
    - Viewed (0)
Back to top