Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getMaxErrors (0.14 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGeneratorTest.groovy

                    public abstract Property<Integer> getMaxErrors();
                }
            """
    
            when:
            Compilation compilation = compile(givenSource)
    
            then:
            def maxErrorAccessors = [
                    // Order is important
                    new ReplacedAccessor("getMaxErrors", "()I", ACCESSORS_REMOVED),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. testing/integ-test/src/crossVersionTest/groovy/org/gradle/integtests/PropertyUpgradesBinaryCompatibilityCrossVersionSpec.groovy

            given:
            prepareJavaPluginTest """
                project.getTasks().register("myCheckstyle", Checkstyle.class, it -> {
                    it.setMaxErrors(1);
                    int currentMaxErrors = it.getMaxErrors();
                    assert currentMaxErrors == 1;
                });
            """
    
            expect:
            succeedsWithPluginCompiledWithPreviousVersion()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CheckstylePlugin.java

            taskMapping.map("showViolations", (Callable<Boolean>) () -> extension.isShowViolations());
            taskMapping.map("maxErrors", (Callable<Integer>) () -> extension.getMaxErrors());
            taskMapping.map("maxWarnings", (Callable<Integer>) () -> extension.getMaxWarnings());
            task.getConfigDirectory().convention(extension.getConfigDirectory());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top