Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 8,420 for wren (0.08 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/AnnotationProcessorDiscoveringCompilerTest.groovy

        def "when neither processor path nor processor option are given, no processors are used"() {
            when:
            compiler.execute(spec)
            then:
            spec.effectiveAnnotationProcessors == [] as Set
        }
    
        def "when only processor path is given, all processors on the path are used"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaLibraryInitIntegrationTest.groovy

            commonJvmFilesGenerated(scriptDsl)
    
            when:
            run("build")
    
            then:
            assertTestPassed("my.lib.LibrarySuite", "someLibraryMethod is always true")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        def "creates build using test suites with #scriptDsl build scripts when using --incubating"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/LibraryPluginTest.groovy

        }
    
        def "fails when no README exists"() {
            when:
            def result = runTaskWithFailure('check')
    
            then:
            result.task(":readmeCheck").outcome == TaskOutcome.FAILED
        }
    
        def "fails when README does not have API section"() {
            given:
            new File(testProjectDir, 'README.md') << """
    ## Changelog
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/CachingClassLoaderTest.groovy

        def "loads class once and caches result"() {
            when:
            def cl = classLoader.loadClass("someClass")
    
            then:
            cl == String.class
    
            and:
            1 * parent.loadClass("someClass", false) >> String.class
            0 * parent._
    
            when:
            cl = classLoader.loadClass("someClass")
    
            then:
            cl == String.class
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

            executer.requireIsolatedDaemons()
        }
    
        def "forks build when JVM args are requested"() {
            requireJvmArg('-Xmx64m')
    
            file('build.gradle') << "println 'hello world'"
    
            when:
            succeeds()
    
            then:
            wasForked()
    
            and:
            daemons.daemon.stops()
        }
    
        def "forks build when default client VM memory is used and user didn't specify a different limit"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpecTestBase.groovy

            specUnderTest.environment("SOMEVAR", "someval")
    
            when:
            specUnderTest.setEnvironment(OTHERVAR: "otherval")
    
            then:
            specUnderTest.getEnvironment() == [OTHERVAR: "otherval"]
        }
    
        def "adding variables after setting environment is working"() {
            given:
            specUnderTest.setEnvironment(SOMEVAR: "someval")
    
            when:
            specUnderTest.environment(OTHERVAR: "otherval")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerBuildFailureIntegrationTest.groovy

         */
    
        def "does not throw exception when build fails expectantly"() {
            given:
            buildScript """
                task helloWorld {
                    doLast {
                        throw new GradleException('Expected exception')
                    }
                }
            """
    
            when:
            runner('helloWorld').buildAndFail()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/MaxNParallelTestClassProcessorTest.groovy

            when:
            processor.startProcessing(resultProcessor)
    
            then:
            1 * actorFactory.createActor(resultProcessor) >> resultProcessorActor
            1 * resultProcessorActor.getProxy(TestResultProcessor) >> asyncResultProcessor
        }
    
        def doesNothingWhenNoTestsProcessed() {
            startProcessor()
    
            when:
            processor.stop()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/configuration/DaemonParametersTest.groovy

        }
    
        def "configuring jvmargs replaces the defaults"() {
            when:
            parameters.setJvmArgs(["-Xmx17m"])
    
            then:
            parameters.effectiveJvmArgs.intersect(parameters.DEFAULT_JVM_ARGS).empty
        }
    
        def "does not apply defaults when jvmargs already specified"() {
            when:
            parameters.setJvmArgs(["-Xmx17m"])
            parameters.applyDefaultsFor(JavaLanguageVersion.of(8))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top