Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for parametrized_test (0.22 sec)

  1. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    @Flaky // STDOUT logging enabled for test
    @Timeout(30)
    @Tag("Slow")
    open class ConnectionListenerTest {
      @RegisterExtension
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    class RouteFailureTest {
      private lateinit var socketFactory: SpecificHostSocketFactory
      private lateinit var client: OkHttpClient
    
      @RegisterExtension
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue May 14 17:48:07 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/PromotionProjectTests.kt

    import org.junit.jupiter.api.Assertions.assertEquals
    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 promotion.PromotionProject
    
    class PromotionProjectTests {
        init {
            DslContext.initForTest()
        }
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 14:18:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r88/TestDisplayNameSpockCrossVersionSpec.groovy

            "Spock" | 5
            "junit5" | 6
        }
    }
    
    """
    
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':test', ['org.example.ParameterizedTest*'])
            }
    
            then:
            jvmTestEvents {
                task(":test") {
                    suite("Gradle Test Run :test") {
                        suite("Gradle Test Executor") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

                import org.junit.jupiter.params.ParameterizedTest;
                import org.junit.jupiter.params.provider.Arguments;
                import org.junit.jupiter.params.provider.MethodSource;
    
                class SomeTest {
                    public static Stream<Arguments> args() {
                        return Stream.of(Arguments.of("blah"));
                    }
    
                    @ParameterizedTest
                    @MethodSource("args")
    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. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

    import org.eclipse.aether.transfer.TransferListener;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.InOrder;
    
    import static java.util.Arrays.asList;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  7. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

    import org.apache.maven.project.collector.RequestPomCollectionStrategy;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.emptyList;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 05 09:23:26 UTC 2023
    - 27.8K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformUserGuideIntegrationTest.groovy

    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
        @ValueSource(strings = { "a", "b", "c" })
        void ok(String s) {
            assertTrue(s.length() == 1);
        }
    }
    '''
            when:
            succeeds('test')
    
            then:
    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. okhttp/src/test/java/okhttp3/CookieTest.kt

    import okhttp3.internal.UTC
    import okhttp3.internal.http.MAX_DATE
    import okhttp3.internal.parseCookie
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.assertThrows
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    class CookieTest {
      val url = "https://example.com/".toHttpUrl()
    
      @Test fun simpleCookie() {
        val cookie = parse(url, "SID=31d4d96e407aad42")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    gradle test --tests 'all.in.specific.package*.someSpecificMethod'
    
    gradle test --tests '*IntegTest'
    
    gradle test --tests '*IntegTest*ui*'
    
    gradle test --tests '*ParameterizedTest.foo*'
    
    # the second iteration of a parameterized test
    gradle test --tests '*ParameterizedTest.*[2]'
    ```
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
Back to top