Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TestSelectionMatcher (0.31 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/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/processors/PatternMatchTestClassProcessor.java

    import org.gradle.api.internal.tasks.testing.filter.DefaultTestFilter;
    import org.gradle.api.internal.tasks.testing.filter.TestSelectionMatcher;
    
    public class PatternMatchTestClassProcessor implements TestClassProcessor {
        private final TestSelectionMatcher testClassSelectionMatcher;
        private final TestClassProcessor delegate;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java

            if (!filterSpec.getIncludedTests().isEmpty()
                || !filterSpec.getIncludedTestsCommandLine().isEmpty()
                || !filterSpec.getExcludedTests().isEmpty()) {
                TestSelectionMatcher matcher = new TestSelectionMatcher(filterSpec);
    
                // For test suites (including suite-like custom Runners), if the test suite class
                // matches the filter, run the entire suite instead of filtering away its contents.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt

    Class <org.gradle.api.internal.tasks.testing.filter.TestSelectionMatcher$TestPattern> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (TestSelectionMatcher.java:0)
    Class <org.gradle.api.internal.tasks.testing.filter.TestSelectionMatcher$WildcardMatcher> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (TestSelectionMatcher.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 967.9K bytes
    - Viewed (0)
Back to top