Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 335 for Matcher (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionFailure.java

            java.util.regex.Matcher matcher = FAILURE_PATTERN.matcher(failureText);
            if (matcher.lookingAt()) {
                summary = matcher.group(1);
            } else {
                summary = "";
            }
    
            matcher = LOCATION_PATTERN.matcher(failureText);
            while (matcher.find()) {
                fileNames.add(matcher.group(1).trim());
                lineNumbers.add(matcher.group(3));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 09:21:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/util/internal/DefaultGradleVersion.java

            this.stage = parseStage(matcher);
            this.snapshot = parseSnapshot(matcher);
        }
    
        private Long parseSnapshot(Matcher matcher) {
            if ("snapshot".equals(matcher.group(5)) || isCommitVersion(matcher)) {
                return 0L;
            } else if (matcher.group(8) == null) {
                return null;
            } else if ("SNAPSHOT".equals(matcher.group(8))) {
                return 0L;
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/HtmlTestExecutionResult.groovy

            TestClassExecutionResult assertStdout(Matcher<? super String> matcher) {
                return assertOutput('Standard output', matcher)
            }
    
            TestClassExecutionResult assertTestCaseStdout(String testCaseName, Matcher<? super String> matcher) {
                throw new UnsupportedOperationException()
            }
    
            TestClassExecutionResult assertStderr(Matcher<? super String> matcher) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/model/generator.go

    	}
    
    	// If value is of format [v], create a list matcher.
    	// Else, if value is of format v, create a string matcher.
    	if strings.HasPrefix(value, "[") && strings.HasSuffix(value, "]") {
    		m := matcher.MetadataListMatcher(parts[0], parts[1:], matcher.StringMatcher(strings.Trim(value, "[]")), false)
    		return permissionMetadata(m), nil
    	}
    	m := matcher.MetadataStringMatcher(parts[0], parts[1], matcher.StringMatcher(value))
    	return permissionMetadata(m), nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/JUnitTestClassExecutionResult.groovy

        }
    
        TestClassExecutionResult assertStdout(Matcher<? super String> matcher) {
            def stdout = testClassNode.'system-out'[0].text();
            assertThat(stdout, matcher)
            this
        }
    
        TestClassExecutionResult assertStderr(Matcher<? super String> matcher) {
            def stderr = testClassNode.'system-err'[0].text();
            assertThat(stderr, matcher)
            this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheProblemsFixture.groovy

            def matcher = headerPattern.matcher(summary.first)
            assert matcher.matches()
            def totalProblems = matcher.group(1).toInteger()
            def expectedUniqueProblems = matcher.group(5)?.toInteger() ?: totalProblems
            summary = summary.drop(1)
    
            def problems = []
            for (int i = 0; i < expectedUniqueProblems; i++) {
                matcher = problemPattern.matcher(summary.first)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcherTest.groovy

    
    import spock.lang.Specification
    
    class TestSelectionMatcherTest extends Specification {
    
        def "knows if test matches class"() {
            expect:
            matcher(input, [], []).matchesTest(className, methodName) == match
            matcher([], [], input).matchesTest(className, methodName) == match
    
            where:
            input                    | className                 | methodName            | match
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/DefaultTestExecutionResult.groovy

                testClassResults*.assertStderr(matcher)
                this
            }
    
            TestClassExecutionResult assertTestCaseStderr(String testCaseName, Matcher<? super String> matcher) {
                testClassResults*.assertTestCaseStderr(removeParentheses(testCaseName), matcher)
                this
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/ResolutionFailureHandler.java

            ResolutionCandidateAssessor resolutionCandidateAssessor = new ResolutionCandidateAssessor(requestedAttributes, matcher);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. src/internal/bisect/bisect.go

    )
    
    // New creates and returns a new Matcher implementing the given pattern.
    // The pattern syntax is defined in the package doc comment.
    //
    // In addition to the pattern syntax syntax, New("") returns nil, nil.
    // The nil *Matcher is valid for use: it returns true from ShouldEnable
    // and false from ShouldPrint for all changes. Callers can avoid calling
    // [Hash], [Matcher.ShouldEnable], and [Matcher.ShouldPrint] entirely
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top