Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,177 for wren (0.04 sec)

  1. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy

            def inputStream = Mock(InputStream)
    
            when:
            decodeFrom(inputStream) { Decoder decoder ->
                decoder.inputStream.close()
            }
    
            then:
            0 * inputStream.close()
        }
    
        def "ignores close or flush on OutputStream"() {
            def outputStream = Mock(OutputStream)
    
            when:
            encodeTo(outputStream) { Encoder encoder ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheIntegrationTest.groovy

            buildFile.text = """
            task aTask
            """
            when:
            configurationCacheFails "help", "--task", "bTask"
            then:
            failure.assertHasCause("Task 'bTask' not found in root project")
            configurationCache.assertStateStored()
    
            when:
            configurationCacheFails "help", "--task", "cTask"
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def "does nothing to empty classpath when transform is none"() {
            given:
            def classpath = DefaultClassPath.of()
    
            when:
            def cachedClasspath = transformer.transform(classpath, None)
    
            then:
            cachedClasspath.empty
    
            and:
            0 * fileAccessTimeJournal._
        }
    
        def "does nothing to empty classpath when transform is build logic"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

            builder.withContext("Context.")
    
            when:
            builder.willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "Summary is deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Context. Advice."
        }
    
        def "logs generic deprecation message for specific thing"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/JavaLibraryInitIntegrationTest.groovy

        }
    
        def "creates with gradle.properties when using #scriptDsl build scripts with --incubating"() {
            when:
            run ('init', '--type', 'java-library', '--incubating', '--dsl', scriptDsl.id, '--java-version', JavaVersion.current().majorVersion)
    
            then:
            gradlePropertiesGenerated()
    
            when:
            succeeds('test')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 11.8K bytes
    - Viewed (1)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

                }
            """
    
            when:
            configurationCacheRun "run"
    
            then:
            output.count("NOT CI") == 1
            configurationCache.assertStateStored()
    
            when:
            configurationCacheRun "run"
    
            then:
            output.count("NOT CI") == 1
            configurationCache.assertStateLoaded()
    
            when:
            configurationCacheRun "run", "-Dci=true"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginTest.groovy

            when:
            task = project.tasks[BasePlugin.ASSEMBLE_TASK_NAME]
    
            then:
            task dependsOn(JvmConstants.JAR_TASK_NAME)
    
            when:
            task = project.tasks[JavaBasePlugin.CHECK_TASK_NAME]
    
            then:
            task instanceof DefaultTask
            task dependsOn(JvmConstants.TEST_TASK_NAME)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedCustomTaskExecutionIntegrationTest.groovy

                }
            """
    
            when:
            withBuildCache().run "customTask"
            then:
            executedAndNotSkipped ":customTask"
    
            when:
            cleanBuildDir()
            withBuildCache().run "customTask"
            then:
            skipped ":customTask"
    
    
            when:
            buildFile << """
                customTask.outputs.cacheIf { false }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

            when:
            fails 'clean', 'build'
    
            then:
            // when tests fail, jar may not exist
            failure.assertHasDescription("Execution failed for task ':test'.")
            failure.assertHasCause("There were failing tests.")
        }
    
        def "singleModule - with continue, when tests fail, jar should exist"() {
            def dsl = dslFixtureFor(scriptDsl)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy

            }
            starter.startDaemon(options) >> client
    
            when:
            manager.reserveNewClient(options)
    
            then:
            manager.reserveIdleClient(options) == null
    
            when:
            manager.release(client)
    
            then:
            manager.reserveIdleClient(options) == client
        }
    
        def "clients are discarded when log level changes"() {
            OutputEventListener listener
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top