Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,087 for JUnit (0.03 sec)

  1. .teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt

    import org.junit.jupiter.api.Assertions
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertNull
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    import org.junit.jupiter.params.provider.ValueSource
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-01-31 07:59
    - 2.1K bytes
    - Viewed (0)
  2. platforms/software/testing-base/src/integTest/groovy/org/gradle/testing/RetainStacktraceForInheritedTestMethodsTest.groovy

            //         at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:675)
            //         at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
            //         at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:125)
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-18 20:52
    - 2.8K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformLoggingIntegrationTest.groovy

                package org.gradle;
                import org.junit.jupiter.api.DynamicTest;
                import org.junit.jupiter.api.TestFactory;
                import java.util.stream.IntStream;
                import java.util.stream.Stream;
                import static org.junit.jupiter.api.Assertions.*;
                import static org.junit.jupiter.api.DynamicTest.dynamicTest;
                public class JUnitJupiterDynamicTest {
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-18 20:52
    - 4.1K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformLauncherSessionListenerIntegrationTest.groovy

            settingsFile << "include 'other'"
            file("other/build.gradle") << """
                plugins {
                    id 'java'
                }
    
                ${mavenCentralRepository()}
    
                dependencies {
                    compileOnly 'org.junit.platform:junit-platform-launcher:1.10.0'
                }
            """
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-18 20:52
    - 6.1K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/junitplatform-engine/groovy/build.gradle

    dependencies {
        testImplementation 'org.junit.jupiter:junit-jupiter:5.7.1'
        testCompileOnly 'junit:junit:4.13'
        testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
        testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
    }
    
    // tag::filter-engine[]
    tasks.withType(Test).configureEach {
        useJUnitPlatform {
            includeEngines 'junit-vintage'
            // excludeEngines 'junit-jupiter'
        }
    }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-27 17:53
    - 507 bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

                    @org.junit.Test public void one() throws Exception {
                         Thread.sleep(100);
                         org.junit.Assert.assertEquals(1, 1);
                    }
                    @org.junit.Test public void two() throws Exception {
                         Thread.sleep(100);
                         org.junit.Assert.assertEquals(1, 1);
                    }
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-06 06:59
    - 21.5K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitAbortedTestClassIntegrationTest.groovy

                package org.gradle;
    
                import org.junit.FixMethodOrder;
                import org.junit.Rule;
                import org.junit.Test;
                import org.junit.rules.MethodRule;
    
                import static org.junit.Assume.assumeFalse;
                import static org.junit.runners.MethodSorters.NAME_ASCENDING;
    
                @FixMethodOrder(NAME_ASCENDING)
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-18 20:52
    - 2.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterMultiVersionTest.groovy

            @Override
            String getTestFrameworkImports() {
                return """
                    import org.junit.jupiter.api.*;
                    import org.junit.jupiter.api.extension.*;
                    import static org.junit.jupiter.api.Assertions.*;
                    import static org.junit.jupiter.api.Assumptions.*;
                """.stripIndent()
            }
    
            @Override
            String getBeforeClassAnnotation() {
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-18 20:52
    - 3.4K bytes
    - Viewed (0)
  9. native-image-tests/build.gradle.kts

    import org.apache.tools.ant.taskdefs.condition.Os
    
    plugins {
      id("com.palantir.graal")
      kotlin("jvm")
    }
    
    dependencies {
      implementation(libs.junit.jupiter.api)
      implementation(libs.junit.jupiter.engine)
      implementation(libs.junit.platform.console)
      implementation(libs.squareup.okio.fakefilesystem)
    
      implementation(projects.okhttp)
      implementation(projects.okhttpBrotli)
      implementation(projects.okhttpDnsoverhttps)
    Registered: 2024-06-16 04:42
    - Last Modified: 2024-01-06 05:31
    - 1.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy

        def setup() {
            // Avoid mixing JUnit dependencies with the ones from the JVM running this test
            // For example, when using PTS/TD for running this test, the JUnit Platform Launcher classes from the GE plugin take precedence
            toolingApi.requireDaemons()
            progressEventCollector = new ProgressEventCollector()
        }
    
        def "Emits test failure events for Junit 3 tests"() {
            setup:
            buildFile << """
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-26 14:49
    - 22.1K bytes
    - Viewed (0)
Back to top