Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 98 for TestTask (1.92 sec)

  1. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionBuildConfigurationAction.java

                String testTaskPath = entry.getKey();
                for (AbstractTestTask testTask : queryTestTasks(context, testTaskPath)) {
                    configureTestTask(testTask);
                    for (InternalJvmTestRequest jvmTestRequest : entry.getValue()) {
                        final TestFilter filter = testTask.getFilter();
                        filter.includeTest(jvmTestRequest.getClassName(), jvmTestRequest.getMethodName());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/SourceTaskIntegrationTest.groovy

            buildFile << """
                class TestTask extends SourceTask {
                    @TaskAction
                    def list() {
                        source.visit { fte -> println("visit " + fte.relativePath) }
                    }
                }
    
                def location = null
    
                task source(type: TestTask) {
                    source { file(location) }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 28 09:46:40 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestFrameworkTest.groovy

        private project = ProjectBuilder.builder().build()
        Test testTask = TestUtil.createTask(Test, project)
    
        def "can configure JUnit with an Action"() {
            when:
            testTask.useJUnit({ JUnitOptions options ->
                options.includeCategories = ['ExcludedCategory'] as Set
            } as Action<JUnitOptions>)
    
            then:
            (testTask.options as JUnitOptions).includeCategories == ['ExcludedCategory'] as Set
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionBuildTaskSchedulerTest.groovy

            _ * testTask.getFilter() >> testFilter
            _ * tasksContainerInternal.findByPath(TEST_TASK_NAME) >> testTask
            TaskCollection<Test> testTaskCollection = Mock()
            _ * testTaskCollection.iterator() >> [testTask].iterator()
            _ * tasksContainerInternal.withType(AbstractTestTask) >> testTaskCollection
            _ * testTask.getOutputs() >> outputsInternal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

        ConventionAwareHelper conventionAware;
    
        TestTask testTask;
    
        @Rule
        public TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass());
    
        @Before public void setUp() {
            testTask = TestUtil.create(temporaryFolder).task(TestTask.class);
            conventionAware = new ConventionAwareHelper(testTask, new DefaultConvention(TestUtil.instantiatorFactory().decorateLenient()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestOptionsIntegrationSpec.groovy

                    test {
                        useJUnitJupiter()
                        targets.all {
                            // explicitly realize the task now to cause this configuration to run now
                            testTask.get().configure {
                                options {
                                    includeTags 'fast'
                                }
                            }
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/AbstractTaskSpec.groovy

        def instantiator = TestUtil.instantiatorFactory().decorateLenient()
    
        static class TestTask extends DefaultTask {
        }
    
        TestTask createTask(String name) {
            def task = TestUtil.create(temporaryFolder).createTask(TestTask, project, name)
            assertTrue(TestTask.isAssignableFrom(task.getClass()))
            return task
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 29 22:32:34 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestFrameworkTest.groovy

        }
    
        def "can configure TestNG with an Action"() {
            when:
            testTask.useTestNG { TestNGOptions options ->
                options.suiteName = 'Custom Suite'
            }
    
            then:
            testTask.options.suiteName == 'Custom Suite'
        }
    
        TestNGTestFramework createFramework() {
            new TestNGTestFramework(testTask, new DefaultTestFilter(), objects)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/JUnitJupiterOptionsIntegrationTest.groovy

            buildFile << """
                testing {
                    suites {
                        test {
                            useJUnitJupiter()
                            targets.all {
                                testTask.configure {
                                    options {
                                        excludeTags "exclude"
                                    }
                                }
                            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  10. platforms/software/reporting/src/test/groovy/org/gradle/api/reporting/internal/TaskReportContainerTest.groovy

    class TaskReportContainerTest extends Specification {
    
        final Project project = ProjectBuilder.builder().build()
        final TestTask task = project.task("testTask", type: TestTask)
    
        def container = createContainer {
            dir("b")
            file("a")
        }
    
        static class TestTask extends DefaultTask {
            @Nested
            TaskReportContainer<Report> reports
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top