Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,134 for cunit (0.07 sec)

  1. 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: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

    import org.hamcrest.CoreMatchers.containsString
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.CoreMatchers.sameInstance
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.assertThrows
    import org.junit.Test
    import java.io.ByteArrayInputStream
    import java.io.ByteArrayOutputStream
    import java.io.Externalizable
    import java.io.ObjectInput
    import java.io.ObjectInputStream
    import java.io.ObjectOutput
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformEnvironmentIntegrationTest.groovy

                    "test",
                    "junit-jupiter-params-${JUNIT_JUPITER_VERSION}.jar",
                    "junit-jupiter-engine-${JUNIT_JUPITER_VERSION}.jar",
                    "junit-jupiter-api-${JUNIT_JUPITER_VERSION}.jar",
                    "junit-platform-engine-${JUNIT_PLATFORM_VERSION}.jar",
                    "junit-platform-commons-${JUNIT_PLATFORM_VERSION}.jar",
                    "junit-jupiter-${JUNIT_JUPITER_VERSION}.jar",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

                package org.gradle;
    
                import java.util.concurrent.*;
                import org.junit.jupiter.api.*;
                import org.junit.jupiter.api.parallel.*;
                import static org.junit.jupiter.api.Assertions.*;
                import static org.junit.jupiter.api.parallel.ExecutionMode.CONCURRENT;
    
                @Execution(CONCURRENT)
                class Sync {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part3_gradle_dep_man.adoc

    *Dependencies* - Dependencies declared via configuration types -> https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api[`libs.junit.jupiter`] and https://mvnrepository.com/artifact/com.google.guava/guava[`libs.guava`] +
    
    Gradle needs specific information to find a dependency.
    Let's look at `libs.guava` -> `com.google.guava:guava:32.1.2-jre` and `libs.junit.jupiter` -> `org.junit.jupiter:junit-jupiter-api:5.9.1`; they are broken down as follows:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 22:40:17 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException {
                delegate.awaitRunning(timeout, unit);
              }
    
              @Override
              public final void awaitTerminated() {
                delegate.awaitTerminated();
              }
    
              @Override
              public final void awaitTerminated(long timeout, TimeUnit unit) throws TimeoutException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 02 17:20:27 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformUserGuideIntegrationTest.groovy

            buildFile << """
    dependencies {
        testImplementation 'org.junit.jupiter:junit-jupiter-params:${LATEST_JUPITER_VERSION}'
    }
    """
            file('src/test/java/org/gradle/Test.java') << '''
    package org.gradle;
    
    import org.junit.jupiter.params.*;
    import org.junit.jupiter.params.provider.*;
    import org.junit.jupiter.api.*;
    import static org.junit.jupiter.api.Assertions.*;
    
    public class Test {
        @ParameterizedTest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

            'useJUnit()'                 | JUnitTestFramework         | "junit-${JUnit4TestToolchain.DEFAULT_VERSION}.jar"
            'useJUnit("4.12")'           | JUnitTestFramework         | "junit-4.12.jar"
            'useJUnitJupiter()'          | JUnitPlatformTestFramework | "junit-jupiter-${JUnitJupiterTestToolchain.DEFAULT_VERSION}.jar"
            'useJUnitJupiter("5.7.1")'   | JUnitPlatformTestFramework | "junit-jupiter-5.7.1.jar"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  10. platforms/jvm/testing-junit-platform/src/main/java/org/gradle/api/internal/tasks/testing/junitplatform/JUnitPlatformTestClassProcessor.java

    import org.junit.platform.engine.TestExecutionResult;
    import org.junit.platform.engine.TestSource;
    import org.junit.platform.engine.discovery.DiscoverySelectors;
    import org.junit.platform.engine.support.descriptor.ClassSource;
    import org.junit.platform.engine.support.descriptor.MethodSource;
    import org.junit.platform.launcher.Launcher;
    import org.junit.platform.launcher.LauncherDiscoveryRequest;
    import org.junit.platform.launcher.LauncherSession;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top