Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getIncludedTests (0.17 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorTest.groovy

            then: 1 * processor.completed(1, { it.resultType == null })
    
            0 * processor._
        }
    
        void "executes selected included method"() {
            filterSpec.getIncludedTests() >> [ATestNGClassWithManyMethods.name + ".another"]
    
            when: process(ATestNGClassWithManyMethods)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestFilterSpec.java

        ) {
            this.includedTests = includedTests;
            this.excludedTests = excludedTests;
            this.includedTestsCommandLine = includedTestsCommandLine;
        }
    
        public Set<String> getIncludedTests() {
            return includedTests;
        }
    
        public Set<String> getExcludedTests() {
            return excludedTests;
        }
    
        public Set<String> getIncludedTestsCommandLine() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelection.java

            } else if (tokens.length == 2 && !WILDCARD.equals(tokens[1])) {
                testSuiteCache.add(testFilter);
            }
    
            return testFilter;
        }
    
        public Collection<String> getIncludedTests() {
            return ImmutableList.copyOf(includedTests);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java

            }
    
            Request request = Request.aClass(testClass);
            Runner runner = request.getRunner();
    
            TestFilterSpec filterSpec = spec.getFilter();
            if (!filterSpec.getIncludedTests().isEmpty()
                || !filterSpec.getIncludedTestsCommandLine().isEmpty()
                || !filterSpec.getExcludedTests().isEmpty()) {
                TestSelectionMatcher matcher = new TestSelectionMatcher(filterSpec);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestExecuter.java

                this.testSelection = testSelection;
            }
    
            @Override
            public void run() {
                for (String includedTests : testSelection.getIncludedTests()) {
                    TestClassRunInfo testClass = new DefaultTestClassRunInfo(includedTests);
                    testClassProcessor.processTestClass(testClass);
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java

                }
            }
    
            TestFilterSpec filter = spec.getFilter();
            if (!filter.getIncludedTests().isEmpty() || !filter.getIncludedTestsCommandLine().isEmpty() || !filter.getExcludedTests().isEmpty()) {
                testNg.addListener(new SelectedTestsFilter(filter));
            }
    
            if (!suiteFiles.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 21:25:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestSelectionMatcher.java

        private final List<TestPattern> commandLineIncludePatterns;
    
        public TestSelectionMatcher(TestFilterSpec filter) {
            buildScriptIncludePatterns = preparePatternList(filter.getIncludedTests());
            buildScriptExcludePatterns = preparePatternList(filter.getExcludedTests());
            commandLineIncludePatterns = preparePatternList(filter.getIncludedTestsCommandLine());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

                requestBuilder.filters(new ClassMethodNameFilter(matcher));
            }
        }
    
        private static boolean isNotEmpty(TestFilterSpec filter) {
            return !filter.getIncludedTests().isEmpty()
                || !filter.getIncludedTestsCommandLine().isEmpty()
                || !filter.getExcludedTests().isEmpty();
        }
    
        private static class ClassMethodNameFilter implements PostDiscoveryFilter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top