Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 5,774 for wren (0.04 sec)

  1. 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)
  2. 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)
  3. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesBetweenBuildsFileSystemWatchingIntegrationTest.groovy

            mainSourceFile.text = sourceFileWithGreeting("Hello World!")
    
            when:
            runWithWatchingEnabled("run")
            then:
            outputContains "Hello World!"
            executedAndNotSkipped ":compileJava", ":classes", ":run"
    
            when:
            mainSourceFile.text = sourceFileWithGreeting("Hello VFS!")
            waitForChangesToBePickedUp()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java-library/src/test/groovy/org/gradle/api/plugins/JavaLibraryPluginTest.groovy

        def "applies Java plugin"() {
            when:
            project.pluginManager.apply(JavaLibraryPlugin)
    
            then:
            project.plugins.findPlugin(JavaPlugin)
        }
    
        def "adds configurations to the project"() {
            given:
            project.pluginManager.apply(JavaLibraryPlugin)
    
            when:
            def api = project.configurations.getByName(JvmConstants.API_CONFIGURATION_NAME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 20:08:52 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/testdata/allow-full-in.yaml

      - when:
        - key: "destination.ip"
          values: ["10.10.10.10", "192.168.10.0/24"]
          notValues: ["90.10.10.10", "90.168.10.0/24"]
      - when:
        - key: "destination.port"
          values: ["91", "92"]
          notValues: ["9001", "9002"]
      - when:
        - key: "connection.sni"
          values: ["exact.com", "*.suffix.com", "prefix.*", "*"]
          notValues: ["not-exact.com", "*.not-suffix.com", "not-prefix.*", "*"]
      - when:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 18:40:34 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenPomPackagingResolveIntegrationTest.groovy

            // Check caching
            when:
            server.resetExpectations()
            then:
            succeeds 'retrieve'
        }
    
        def "will use dependency type to locate artifact, even when custom packaging matches artifact type"() {
            when:
            buildWithDependencies("""
    compile('group:projectA:1.0') {
        artifact {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/connection/ProviderOperationParameters.java

        /**
         * @return When null, assume empty stdin (rather than consume from the current process' stdin).
         */
        @Nullable
        InputStream getStandardInput();
    
        /**
         * @return When null, use the provider's default Java home.
         */
        @Nullable
        File getJavaHome();
    
        /**
         * @return When null, use the provider's default JVM arguments. When empty, use no JVM arguments.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/IoActionsTest.groovy

        def "can handle null resource when closing"() {
            when:
            uncheckedClose(null)
    
            then:
            noExceptionThrown()
    
            when:
            closeQuietly(null)
    
            then:
            noExceptionThrown()
        }
    
        def "can close a valid resource"() {
            def resource = Mock(Closeable)
    
            when:
            uncheckedClose(resource)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/io/src/test/groovy/org/gradle/internal/io/LinePerThreadBufferingOutputStreamTest.groovy

            when:
            outstr.flush()
    
            then:
            0 * action._
        }
    
        def closeForwardsBufferedText() {
            TextStream action = Mock()
            def outstr = new LinePerThreadBufferingOutputStream(action)
    
            when:
            outstr.print("text")
    
            then:
            0 * action._
    
            when:
            outstr.close()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 08:51:13 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top