Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 61 for testDescriptor (0.24 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterTestListenerBuildOperationAdapterIntegrationTest.groovy

            super.checkForSuiteOperations(iterator, suiteName)
            with(iterator.next()) {
                details.testDescriptor.name == "JUnit Jupiter"
                details.testDescriptor.composite == true
            }
        }
    
        @Override
        void writeTestSources() {
            buildFile << """
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/testing/AbstractTestFrameworkIntegrationTest.groovy

                    void beforeSuite(TestDescriptor suite) { println "START Test Suite [\$suite.className] [\$suite.name]" }
                    void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH Test Suite [\$suite.className] [\$suite.name] [\$result.resultType] [\$result.testCount]" }
                    void beforeTest(TestDescriptor test) { println "START Test Case [\$test.className] [\$test.name]" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/TestExecutionBuildConfigurationAction.java

                    for (InternalTestDescriptor testDescriptor : testDescriptors) {
                        if (taskPathOf(testDescriptor).equals(testTaskPath)) {
                            includeTestMatching((InternalJvmTestDescriptor) testDescriptor, testTask);
                        }
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformFilteringIntegrationTest.groovy

                @AnalyzeClasses(packages = "example")
                class DeclaresTestsAsFieldsNotMethodsTest {
                    // this will create a JUnit Platform TestDescriptor with neither a Class- nor a MethodSource
                    @ArchTest
                    static final ArchRule example = classes().should().bePublic();
                }
            '''
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

    import kotlin.system.exitProcess
    import org.junit.jupiter.engine.JupiterTestEngine
    import org.junit.platform.console.options.Theme
    import org.junit.platform.engine.DiscoverySelector
    import org.junit.platform.engine.TestDescriptor
    import org.junit.platform.engine.TestEngine
    import org.junit.platform.engine.discovery.DiscoverySelectors.selectClass
    import org.junit.platform.launcher.Launcher
    import org.junit.platform.launcher.LauncherDiscoveryRequest
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionBuildTaskSchedulerTest.groovy

            where:
            requestType        | descriptors        | internalJvmRequests                                 | expectedClassFilter | expectedMethodFilter | tasksAndTests
            "test descriptors" | [testDescriptor()] | []                                                  | TEST_CLASS_NAME     | TEST_METHOD_NAME     | [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGIntegrationTest.groovy

                    void beforeSuite(TestDescriptor suite) { println "START [$suite] [$suite.name]" }
                    void afterSuite(TestDescriptor suite, TestResult result) { println "FINISH [$suite] [$suite.name]" }
                    void beforeTest(TestDescriptor test) { println "START [$test] [$test.name]" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/integTest/groovy/org/gradle/testing/TestExecutionBuildOperationsContinuousIntegrationTest.groovy

            stopGradle()
            afterBuild()
    
            then: "test build operations are emitted in expected hierarchy"
            def testRootOperations = operations.all(ExecuteTestBuildOperationType) {
                it.details.testDescriptor.name.startsWith("Gradle Test Run")
            }
            testRootOperations.size() == 2
            assertJunit(testRootOperations[0], operations)
            assertJunit(testRootOperations[1], operations)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestListenerIntegrationTest.groovy

                            useJUnitJupiter()
                        }
                    }
                }
                tasks.test {
                    onOutput(
                        KotlinClosure2<TestDescriptor, TestOutputEvent, Any>({ descriptor, event ->
                            println("onOutput:" + descriptor.displayName + ":" + event.message)
                        })
                    )
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/main/java/org/gradle/api/tasks/testing/AbstractTestTask.java

         *
         * @param closure The closure to call.
         */
        public void beforeTest(Closure closure) {
            addDispatchAsTestListener("beforeTest", closure);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 18:49:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top