Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for matchesTest (0.1 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java

                // matches the filter, run the entire suite instead of filtering away its contents.
                if (!runner.getDescription().isSuite() || !matcher.matchesTest(testClassName, null)) {
                    filters.add(new MethodNameFilter(matcher));
                }
            }
    
            if (runner instanceof Filterable) {
                Filterable filterable = (Filterable) runner;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/util/MatchersTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.util
    
    import spock.lang.Specification
    
    import java.util.regex.Pattern
    
    import static org.gradle.util.Matchers.matchesRegexp
    
    class MatchersTest extends Specification {
    
        def "matches regex"() {
            expect:
            matchesRegexp("foo.*").matches(match)
    
            and:
            !matchesRegexp(Pattern.compile("foo.*")).matches(noMatch)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 22 14:16:41 UTC 2013
    - 1.1K bytes
    - Viewed (0)
Back to top