Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for recordValidationWarnings (0.42 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/DefaultWorkValidationWarningRecorder.java

        private final AtomicInteger workWithFailuresCount = new AtomicInteger();
    
        @Override
        public void recordValidationWarnings(UnitOfWork work, Collection<? extends Problem> warnings) {
            workWithFailuresCount.incrementAndGet();
            String uniqueWarnings = warnings.stream()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:26:04 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ValidateStep.java

            List<Problem> errors = problemsMap.getOrDefault(ERROR, ImmutableList.of());
    
            if (!warnings.isEmpty()) {
                warningReporter.recordValidationWarnings(work, warnings);
            }
    
            if (!errors.isEmpty()) {
                throwValidationException(work, validationContext, errors);
            }
    
            if (!warnings.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ValidateStepTest.groovy

                        .details("Test")
                }
            }
    
            then:
            _ * buildOperationProgressEventEmitter.emitNowIfCurrent(_ as Object) >> {}
            1 * warningReporter.recordValidationWarnings(work, { List<Problem> warnings ->
                convertToSingleLine(renderMinimalInformationAbout(warnings.first(), false, false)) == expectedWarning
            })
            1 * virtualFileSystem.invalidateAll()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 13:35:05 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top