Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,261 for wren (0.05 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/services/LoggingServiceRegistryTest.groovy

            when:
            rootLogger.level = Level.OFF
            loggingManager.levelInternal = LogLevel.WARN
    
            then:
            rootLogger.level == Level.OFF
            logger.level == null
    
            when:
            loggingManager.start()
    
            then:
            rootLogger.level != Level.OFF
            logger.level == null
    
            when:
            loggingManager.stop()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy

            when:
            allowFileSystemAccess(false)
            snapshot = read(someFile)
            then:
            assertIsMissingFileSnapshot(snapshot, someFile)
    
            def missingSubfile = someFile.file("subfile")
            when:
            snapshot = read(missingSubfile)
            then:
            assertIsMissingFileSnapshot(snapshot, missingSubfile)
    
            when:
            allowFileSystemAccess(true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 10K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

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

            // Some cases are skipped, because forkOptions (when configured) must match the resulting toolchain, otherwise the build fails
            what             | when                         | withTool | withJavaHome | withExecutable | withJavaExtension | target
            "current JVM"    | "when nothing is configured" | null     | null         | null           | null              | "current"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/dependencies/AbstractModuleDependencySpec.groovy

            when:
            dep.addArtifact(Mock(DependencyArtifact))
    
            then:
            thrown(InvalidUserCodeException)
        }
    
        void "refuses target configuration when attributes present"() {
            given:
            def dep = createDependency("group", "name", "1.0")
            dep.attributes {
                it.attribute(Attribute.of("attribute", String), 'foo')
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  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/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            v3.pom.expectGet()
            v3.artifact.expectGet()
    
            when:
            configurationCacheRun("resolve1")
    
            then:
            configurationCache.assertStateStored()
            outputContains("result = [lib-1.3.jar]")
    
            when: // run again with different tasks, to verify behaviour when version list is already cached when configuration cache entry is written
            configurationCacheRun("resolve2")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top