- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for withTaskAndTestClasses (0.97 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTestLauncherCrossVersionSpec.groovy
} """ } def "fails with meaningful error when no tests declared from included build"() { when: launchTests { TestLauncher launcher -> launcher.withTaskAndTestClasses(':included-build:test', []) } then: def e = thrown(TestExecutionException) e.message == 'No test for task :included-build:test declared for execution.' when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy
public class SimpleTests { @Test @DisplayName("and a test display name") void test() { } } """ when: launchTests { TestLauncher launcher -> launcher.withTaskAndTestClasses(':test', ['org.example.SimpleTests']) } then: jvmTestEvents { task(":test") { suite("Gradle Test Run :test") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/TestDisplayNameSpockCrossVersionSpec.groovy
class SimpleTests extends Specification { def "success test"() { expect: true } } """ when: launchTests { TestLauncher launcher -> launcher.withTaskAndTestClasses(':test', ['org.example.SimpleTests']) } then: jvmTestEvents { task(":test") { suite("Gradle Test Run :test") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/TestDisplayNameJUnit4CrossVersionSpec.groovy
import org.junit.Test; public class SimpleTests { @Test public void test() { } } """ when: launchTests { TestLauncher launcher -> launcher.withTaskAndTestClasses(':test', ['org.example.SimpleTests']) } then: jvmTestEvents { task(":test") { suite("Gradle Test Run :test") {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/TestLauncherDebugCrossVersionTest.groovy
def stdout = new ByteArrayOutputStream() withConnection { ProjectConnection connection -> def testLauncher = connection.newTestLauncher() .withTaskAndTestClasses(':app:test', Arrays.asList('TestClass1')) .setStandardOutput(stdout) if (debugMode) { // JDWPUtil is flaky https://github.com/gradle/gradle/issues/26366
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 29 08:00:25 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultTestLauncherTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/DefaultTestLauncher.java
} }); this.internalJvmTestRequests.addAll(newRequests); this.testClassNames.add(testClass); return this; } @Override public TestLauncher withTaskAndTestClasses(String task, Iterable<String> testClasses) { List<InternalJvmTestRequest> tests = CollectionUtils.collect(testClasses, new InternalTransformer<InternalJvmTestRequest, String>() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 12:11:05 UTC 2024 - 9.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r84/TestLauncherCompositeBuildCrossVersionTest.groovy
def tee = new TeeOutputStream(System.out, stdout) switch (api) { case LauncherApi.TEST_LAUNCHER: connection.newTestLauncher() .withTaskAndTestClasses(task, asList(testClass)) .setStandardOutput(tee) .run() break case LauncherApi.BUILD_LAUNCHER:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 9.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/TestLauncher.java
* * @param task The path of the target task. * @param testClasses The class names of the tests to be executed. * @return this * @since 6.1 */ TestLauncher withTaskAndTestClasses(String task, Iterable<String> testClasses); /** * Adds tests to be executed declared by the container task, class and method name. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 8.6K bytes - Viewed (0)