Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for goodCode (0.12 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

        @Rule BlockingHttpServer server = new BlockingHttpServer()
    
        def "receive task progress events when requesting a model"() {
            given:
            goodCode()
    
            when: "asking for a model and specifying some task(s) to run first"
            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginToolchainsIntegrationTest.groovy

        def "uses jdk from toolchains set through java plugin"() {
            given:
            def jdk = setupExecutorForToolchains()
            assumeToolchainJdkIsCompatibleWithCodeNarcVersion(jdk.javaVersion)
    
            and:
            goodCode()
            writeRuleFile()
            writeBuildFileWithToolchainsFromJavaPlugin(jdk)
    
            when:
            succeeds("codenarcMain")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressDaemonErrorsCrossVersionSpec.groovy

        void setup() {
            toolingApi.requireIsolatedDaemons()
        }
    
        def "should received failed event when daemon disappears unexpectedly with TAPI higher 2.4"() {
            given:
            goodCode()
            def sync = server.expectAndBlock('sync')
    
            when:
            def result = []
            withConnection { ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/BasicZincScalaCompilerIntegrationTest.groovy

            given:
            goodCode()
            badJavaCode()
    
            and:
            buildFile << "compileScala.options.failOnError = false\n"
    
            expect:
            succeeds 'compileScala'
        }
    
        def "joint compile bad java code do not fail the build when scalaCompileOptions.failOnError is false"() {
            given:
            goodCode()
            badJavaCode()
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginClasspathIntegrationTest.groovy

    @TargetCoverage({ CheckstyleCoverage.getSupportedVersionsByJdk() })
    class CheckstylePluginClasspathIntegrationTest extends MultiVersionIntegrationSpec {
        def setup() {
            writeBuildFiles()
            writeConfigFile()
            goodCode()
        }
    
        def "accepts throwing exception from other project"() {
            expect:
            succeeds("checkstyleMain")
        }
    
        private void writeBuildFiles() {
            file("settings.gradle") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/AntWorkerMemoryLeakIntegrationTest.groovy

    import org.gradle.util.internal.VersionNumber
    import spock.lang.Issue
    
    class AntWorkerMemoryLeakIntegrationTest extends AbstractIntegrationSpec {
        public static final String LOCAL_GROOVY = 'localGroovy()'
    
        private void goodCode(String groovyVersion, TestFile root = testDirectory) {
            root.file("src/main/java/org/gradle/Class0.java") << "package org.gradle; public class Class0 { }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginVersionIntegrationTest.groovy

            writeRuleFile()
        }
    
        def "analyze good code"() {
            goodCode()
    
            expect:
            succeeds("check")
            report("main").exists()
            report("test").exists()
        }
    
        @Requires(IntegTestPreconditions.NotParallelExecutor)
        def "is incremental"() {
            given:
            goodCode()
    
            expect:
            succeeds("codenarcMain")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 01 03:07:53 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  8. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/AbstractToolchainZincScalaCompileIntegrationTest.groovy

            given:
            goodJavaInterfaceCode()
            goodCodeUsingJavaInterface()
    
            expect:
            succeeds 'compileScala', '-s'
        }
    
        def "can generate ScalaDoc"() {
            given:
            goodCode()
    
            expect:
            succeeds("scaladoc")
            file("build/docs/scaladoc/compile/test/Person.html").assertExists()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/checkstyle/CheckstylePluginHtmlReportIntegrationTest.groovy

    <module name="Checker">
        <module name="TreeWalker">
            <module name="$nameOfCheck"/>
        </module>
    </module>
            """
        }
    
        private void goodCode() {
            file("src/main/java/com/example/Foo.java").java """
                package com.example;
    
                public class Foo {
                    /**
                     * This returns a bar.
                     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

    class TestProgressCrossVersionSpec extends ToolingApiSpecification implements WithOldConfigurationsSupport {
        def "receive test progress events when requesting a model"() {
            given:
            goodCode()
    
            when: "asking for a model and specifying some test task(s) to run first"
            def events = ProgressEvents.create()
            withConnection {
                ProjectConnection connection ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top