Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for logStatement (0.14 sec)

  1. testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/fixtures/KotlinDslCacheFixtures.kt

        val expectedCount = if (stage.enabled) count else 0
        val logStatement = "${actionDisplayName.uppercaseFirstChar()} ${stage.templateId} from ${stage.source}"
        val observedCount = output.occurrenceCountOf(logStatement)
        require(observedCount == expectedCount) {
            "Expected $expectedCount but got $observedCount\n" +
                "  Looking for statement: $logStatement\n" +
                "  Build output was:\n" + output.prependIndent("    ")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

            then:
            output.contains(logStatement())
            javaClassFile("compile/test/Person.class").exists()
        }
    
        def "compile bad code breaks the build and compilation error doesn't show link to help.gradle.org"() {
            given:
            badCode()
    
            when:
            fails("compileJava")
    
            then:
            output.contains(logStatement())
            failure.assertHasErrorOutput("';' expected")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/InProcessJavaCompilerIntegrationTest.groovy

        @Override
        String compilerConfiguration() {
            """
                compileJava.options.with {
                    fork = false
                }
            """
        }
    
        @Override
        String logStatement() {
            "Java compiler API"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 981 bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/CommandLineJavaCompilerForExecutableIntegrationTest.groovy

                    fork = true
                    forkOptions.executable = "${TextUtil.normaliseFileSeparators(Jvm.current().getExecutable("javac").absolutePath)}"
                }
            """
        }
    
        @Override
        String logStatement() {
            "Compiling with Java command line compiler"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/CommandLineJavaCompilerIntegrationTest.groovy

                    fork = true
                    forkOptions.javaHome = file("${TextUtil.normaliseFileSeparators(Jvm.current().javaHome.toString())}")
                }
            """
        }
    
        @Override
        String logStatement() {
            "Compiling with Java command line compiler"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

        @Override
        String compilerConfiguration() {
            """
                tasks.withType(JavaCompile) {
                    options.fork = true
                }
            """
        }
    
        @Override
        String logStatement() {
            "compiler daemon"
        }
    
        def setup() {
            executer.withArguments("-d")
        }
    
        def "respects fork options settings"() {
            goodCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top