Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for includeClass (0.14 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestLauncherTestSpecCrossVersionSpec.groovy

            when:
            launchTests { TestLauncher launcher ->
                launcher.withTestsFor { TestSpecs specs ->
                    specs.forTaskPath(':secondTest')
                         .includeClass('example.MyTest')
                         .includeClass('example2.MyOtherTest2')
                }
            }
    
            then:
            events.testClassesAndMethods.size() == 5
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r83/TestLauncherCustomTestTaskCrossVersionTest.groovy

            when:
            launchTests { TestLauncher launcher ->
                launcher.withTestsFor { TestSpecs specs ->
                    specs.forTaskPath(':myTestTask').includeClass('org.my.MyClass')
                }
            }
    
            then:
            Throwable exception = thrown(TestExecutionException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestSpec.java

         *
         * @param cls The fully-qualified name of the target class.
         * @return this
         */
        TestSpec includeClass(String cls);
    
        /**
         * Adds the target test classes to the test execution.
         *
         * @see #includeClass(String)
         * @param classes The fully-qualified name of the target classes.
         * @return this
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r82/TestLauncherTestSpecCrossVersionSpec.groovy

            launchTests { TestLauncher launcher ->
                launcher.withArguments("--configuration-cache")
                launcher.withTestsFor { TestSpecs specs ->
                    specs.forTaskPath(':secondTest').includeClass("example.MyTest")
                }
            }
    
            then:
            // TestLauncher configuration ignored: only tests from the configuration cache entry is executed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultTestSpec.java

        }
    
        @Override
        public TestSpec includePackages(Collection<String> packages) {
            this.packages.addAll(packages);
            return this;
        }
    
        @Override
        public TestSpec includeClass(String cls) {
            return includeClasses(Collections.singletonList(cls));
        }
    
        @Override
        public TestSpec includeClasses(Collection<String> classes) {
            this.classes.addAll(classes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestLauncher.java

         *     testLauncher.withTestsFor(spec -&gt; {
         *         spec.forTaskPath(":test")
         *             .includePackage("org.pkg")
         *             .includeClass("com.TestClass")
         *             .includeMethod("com.TestClass")
         *             .includePattern("io.*")
         *     }).run();
         * </pre>
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/MessageBuilderHelper.java

    abstract class MessageBuilderHelper {
    
        static Collection<String> pathTo(EdgeState edge) {
            return pathTo(edge, true);
        }
    
        static Collection<String> pathTo(EdgeState edge, boolean includeLast) {
            List<List<EdgeState>> acc = Lists.newArrayListWithExpectedSize(1);
            pathTo(edge, new ArrayList<>(), acc, new HashSet<>());
            List<String> result = Lists.newArrayListWithCapacity(acc.size());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top