Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 467 for Matcher (0.13 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            def attribute = Attribute.of(String)
            schema.attribute(attribute)
    
            expect:
            !schema.matcher().selectionSchema.matchValue(attribute, "a", "b")
            schema.matcher().selectionSchema.matchValue(attribute, "a", "a")
    
            !schema.matcher().isMatching(attribute, "a", "b")
            schema.matcher().isMatching(attribute, "a", "a")
        }
    
        static class DoNothingRule implements AttributeCompatibilityRule<String> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. 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)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy

            copyAction instanceof MatchingCopyAction
            PatternMatcher matcher = copyAction.matcher
    
            ['/root/folder/abc', '/root/abc'].each {
                assertMatches matcher, it
            }
    
            ['/notRoot/abc', '/not/root/abc', 'root/bbc', 'notRoot/bbc'].each {
                assertMatches matcher.negate(), it
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/node_matchers.cc

          DCHECK(!matcher->op);
          matcher->op = prop.op();
        }
    
        if (prop.constant_value()) {
          DCHECK(!matcher->constant_value);
          matcher->constant_value = prop.constant_value();
        }
    
        if (prop.assigned_device()) {
          DCHECK(!matcher->assigned_device);
          matcher->assigned_device = prop.assigned_device();
        }
    
        if (prop.inputs()) {
          DCHECK(!matcher->input_matchers);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/Project.java

                Node matcherNode = parent.appendNode("matcher");
                 matcherNode.appendNode("id", matcher.getId());
                // A matcher may have either arguments or children, but not both
                if (!isNullOrEmpty(matcher.getArguments())) {
                    matcherNode.appendNode("arguments", matcher.getArguments());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 16.5K 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