Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for getMaxErrors (0.15 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. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

                        ${getDefaultDeprecation("Task", "maxErrors")}
                        return self.getMaxErrors().getOrElse(0);
                    }
    
                    public static void access_set_setMaxErrors(Task self, int arg0) {
                        ${getDefaultDeprecation("Task", "maxErrors")}
                        self.getMaxErrors().set(arg0);
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/Checkstyle.java

            parameters.getAntLibraryClasspath().setFrom(getCheckstyleClasspath());
            parameters.getConfig().set(getConfigFile());
            parameters.getMaxErrors().set(getMaxErrors());
            parameters.getMaxWarnings().set(getMaxWarnings());
            parameters.getIgnoreFailures().set(getIgnoreFailures());
            parameters.getConfigDirectory().set(getConfigDirectory());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 19 14:14:12 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. testing/architecture-test/src/changes/archunit-store/provider-task-properties.txt

    Method <org.gradle.api.plugins.quality.Checkstyle.getConfigProperties()> does not have raw return type assignable to org.gradle.api.provider.Property in (Checkstyle.java:0)
    Method <org.gradle.api.plugins.quality.Checkstyle.getMaxErrors()> does not have raw return type assignable to org.gradle.api.provider.Property in (Checkstyle.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:33:20 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/public-api-mutable-properties.txt

    Method <org.gradle.api.plugins.quality.CheckstyleExtension.getMaxErrors()> does not have raw return type assignable to org.gradle.api.provider.Property in (CheckstyleExtension.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 160.5K bytes
    - Viewed (0)
Back to top