- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for matchesTest (0.3 sec)
-
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) -
platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java
} } } if (children.isEmpty()) { String className = classSource.getClassName(); return matcher.matchesTest(className, null) || matcher.matchesTest(className, descriptor.getLegacyReportingName()); } return true; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 13.9K bytes - Viewed (0) -
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) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java
List<IMethodInstance> filtered = new LinkedList<IMethodInstance>(); for (IMethodInstance candidate : methods) { if (matcher.matchesTest(candidate.getMethod().getTestClass().getName(), candidate.getMethod().getMethodName()) || matcher.matchesTest(suite.getName(), null)) { filtered.add(candidate); } } return filtered; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 21:25:59 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcher.java
for (String includedTest : includedTests) { includePatterns.add(new TestPattern(includedTest)); } return includePatterns; } public boolean matchesTest(String className, String methodName) { return matchesPattern(buildScriptIncludePatterns, className, methodName) && matchesPattern(commandLineIncludePatterns, className, methodName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 20:33:30 UTC 2024 - 11.5K bytes - Viewed (0)