Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for goodCode (0.09 sec)

  1. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginIncrementalAnalysisIntegrationTest.groovy

            buildFile << 'pmd { incrementalAnalysis = false }'
            goodCode()
    
            expect:
            succeeds("check", "-i")
            !file("build/tmp/pmdMain/incremental.cache").exists()
        }
    
        def "incremental analysis can be enabled"() {
            given:
            Assume.assumeTrue(supportIncrementalAnalysis())
            goodCode()
    
            when:
            succeeds("pmdMain")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

        }
    
        @Override
        String logStatement() {
            "compiler daemon"
        }
    
        def setup() {
            executer.withArguments("-d")
        }
    
        def "respects fork options settings"() {
            goodCode()
            buildFile << """
                import org.gradle.workers.internal.WorkerDaemonClientsManager
                import org.gradle.internal.jvm.Jvm
    
                tasks.withType(JavaCompile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginToolchainsIntegrationTest.groovy

            given:
            goodCode()
            writeBuildFile()
    
            when:
            succeeds("pmdMain")
    
            then:
            outputContains("Running pmd with toolchain '${Jvm.current().javaHome.absolutePath}'")
        }
    
        def "uses current jdk if pmd plugin is not applied"() {
            given:
            goodCode()
            setupExecutorForToolchains()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 07:47:10 UTC 2024
    - 6K 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/codenarc/CodeNarcTestFixture.groovy

     * limitations under the License.
     */
    
    package org.gradle.api.plugins.quality.codenarc
    
    import org.gradle.test.fixtures.file.TestFile
    
    
    trait CodeNarcTestFixture {
        def goodCode() {
            file("src/main/groovy/org/gradle/class1.java") << "package org.gradle; class class1 { }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top