Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for insufficientSize (0.22 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/LineSearchFailures.java

    import org.spockframework.runtime.SpockException;
    
    import java.util.Collection;
    import java.util.List;
    import java.util.stream.Collectors;
    
    public final class LineSearchFailures {
    
        public static void insufficientSize(List<String> expected, List<String> actual) {
            throw new InsufficientSizeLineListComparisonFailure(expected, actual);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java

            assert !actualLines.isEmpty() : "there must be output text";
    
            if (actualLines.size() < expectedLines.size()) {
                LineSearchFailures.insufficientSize(expectedLines, actualLines);
            }
    
            if (!findFirstCompleteMatch(expectedLines, actualLines).isPresent()) {
                exhaustiveSearch(expectedLines, actualLines, useUnifiedDiff);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top