Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getMaxErrors (0.29 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. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleActionParameters.java

    import org.gradle.api.provider.Property;
    
    public interface CheckstyleActionParameters extends AntWorkParameters {
        RegularFileProperty getConfig();
    
        ConfigurableFileCollection getSource();
    
        Property<Integer> getMaxErrors();
    
        Property<Integer> getMaxWarnings();
    
        Property<Boolean> getIgnoreFailures();
    
        DirectoryProperty getConfigDirectory();
    
        Property<Boolean> getShowViolations();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/CheckstyleExtension.java

         * <p>
         * Example: maxErrors = 42
         *
         * @return the maximum number of errors allowed
         * @since 3.4
         */
        public int getMaxErrors() {
            return maxErrors;
        }
    
        /**
         * Set the maximum number of errors that are tolerated before breaking the build.
         *
         * @param maxErrors number of errors allowed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top