- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for expectedFiles (0.5 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/ExhaustiveLinesSearcher.java
public void assertLinesContainedIn(List<String> expectedLines, List<String> actualLines) throws LineSearchFailures.AbstractLineListComparisonFailure { assert !expectedLines.isEmpty() : "there must be expected text"; assert !actualLines.isEmpty() : "there must be output text"; if (actualLines.size() < expectedLines.size()) { LineSearchFailures.insufficientSize(expectedLines, actualLines); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/comparison/PotentialMatch.java
Preconditions.checkArgument(isPossibleMatchIndex(expectedLines, actualLines, matchBeginsActualIdx), "match would extend beyond actual lines"); this.expectedLines = expectedLines; this.actualLines = actualLines; this.matchBeginsActualIdx = matchBeginsActualIdx;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/SequentialOutputMatcher.groovy
List expectedLines = expected.readLines().findAll { !it.isEmpty() } assertOutputLinesMatch(expectedLines, actualLines, ignoreExtraLines, actual) } protected void assertOutputLinesMatch(List<String> expectedLines, List<String> actualLines, boolean ignoreExtraLines, String actual) { int pos = 0 for (; pos < actualLines.size() && pos < expectedLines.size(); pos++) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AnyOrderOutputMatcher.groovy
protected void assertOutputLinesMatch(List<String> expectedLines, List<String> actualLines, boolean ignoreExtraLines, String actual) { List<String> unmatchedLines = new ArrayList<String>(actualLines) expectedLines.removeAll('') unmatchedLines.removeAll('') expectedLines.each { expectedLine -> def matchedLine = unmatchedLines.find { actualLine ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/gmm/GradleModuleMetadataResolveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 02:07:04 UTC 2024 - 3.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/logging/comparison/PotentialMatchTest.groovy
when: def pm = new PotentialMatch(expectedLines, actualLines, matchBegins) def expectedContextMsg = PotentialMatch.HEADER + '\n' + contextBody.join('\n') then: def actualContextMsg = pm.buildContext(2) actualContextMsg.readLines() == expectedContextMsg.readLines() where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.2K bytes - Viewed (0) -
maven-slf4j-provider/src/test/java/org/apache/maven/slf4j/MavenSimpleLoggerTest.java
String testClassStackTraceLinePattern = "at " + testClass.getName() + "." + testMethodName + "\\(" + testClass.getSimpleName() + ".java:\\d+\\)"; List<String> expectedLines = Arrays.asList( "java.lang.RuntimeException: top-level", " " + testClassStackTraceLinePattern, ">> stacktrace >>",
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedNodeFixture.java
List<String> actualLines = Arrays.asList(getOutput().split("\\R")); List<String> expectedLines = Arrays.asList(expectedText.split("\\R")); searcher.assertLinesContainedIn(expectedLines, actualLines); return this; } /** * Specifies different formats for reporting a failure of {@link #assertOutputContains(String)}. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedWorkOutputFixture.java
List<String> actualLines = Arrays.asList(getOutput().split("\\R")); List<String> expectedLines = Arrays.asList(expectedText.split("\\R")); searcher.assertLinesContainedIn(expectedLines, actualLines); return this; } /** * Specifies different formats for reporting a failure of {@link #assertOutputContains(String)}. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.5K bytes - Viewed (0) -
internal/bucket/replication/replication_test.go
if len(got) != len(tc.ExpectedRules) { t.Fatalf("Expected matching number of actionable rules: `%v`, got: `%v`", tc.ExpectedRules, got) } for i := range got { if got[i].Destination.ARN != tc.ExpectedRules[i].Destination.ARN || got[i].Priority != tc.ExpectedRules[i].Priority { t.Fatalf("Expected order of filtered rules to be identical: `%v`, got: `%v`", tc.ExpectedRules, got) } } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Mar 28 17:44:56 UTC 2024 - 32.5K bytes - Viewed (0)