Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestSelectionMatcher (0.17 sec)

  1. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcher.java

     * otherwise, it will be used to match full qualified class name.
     */
    public class TestSelectionMatcher {
        private final List<TestPattern> buildScriptIncludePatterns;
        private final List<TestPattern> buildScriptExcludePatterns;
        private final List<TestPattern> commandLineIncludePatterns;
    
        public TestSelectionMatcher(TestFilterSpec filter) {
            buildScriptIncludePatterns = preparePatternList(filter.getIncludedTests());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

        }
    
        private void addTestNameFilters(LauncherDiscoveryRequestBuilder requestBuilder) {
            TestFilterSpec filter = spec.getFilter();
            if (isNotEmpty(filter)) {
                TestSelectionMatcher matcher = new TestSelectionMatcher(filter);
                requestBuilder.filters(new ClassMethodNameFilter(matcher));
            }
        }
    
        private static boolean isNotEmpty(TestFilterSpec filter) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java

        }
    
        private static class SelectedTestsFilter implements IMethodInterceptor {
    
            private final TestSelectionMatcher matcher;
    
            public SelectedTestsFilter(TestFilterSpec filter) {
                matcher = new TestSelectionMatcher(filter);
            }
    
            @Override
            public List<IMethodInstance> intercept(List<IMethodInstance> methods, ITestContext context) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 21:25:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcherTest.groovy

        }
    
        def matcher(Collection<String> includedTests, Collection<String> excludedTests, Collection<String> includedTestsCommandLine) {
            return new TestSelectionMatcher(new TestFilterSpec(includedTests as Set, excludedTests as Set, includedTestsCommandLine as Set))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
Back to top