- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for matchesTest (0.1 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/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)