Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for goodCode (0.18 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

                    options.compilerArgs << '-Xlint:all,-options' << '-Werror'
                }
            """
            buildFile << compilerConfiguration()
        }
    
        def "can compile good code"() {
            given:
            goodCode()
    
            when:
            succeeds("compileJava")
    
            then:
            output.contains(logStatement())
            javaClassFile("compile/test/Person.class").exists()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K 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/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)
  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)
  6. pkg/controller/garbagecollector/garbagecollector_test.go

    	badSecretReferenceWithDeploymentUID := makeID("v1", "Secret", "ns1", "secretname", string(deployment1apps.UID))
    	badChildPod := makeID("v1", "Pod", "ns1", "badpod", "badpoduid")
    	goodChildPod := makeID("v1", "Pod", "ns1", "goodpod", "goodpoduid")
    
    	var testScenarios = []struct {
    		name           string
    		initialObjects []runtime.Object
    		steps          []step
    	}{
    		{
    			name: "good child in ns1 -> cluster-scoped owner",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  7. RELEASE.md

    ## Thanks to our Contributors
    
    This release contains contributions from many people at Google, as well as:
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top