- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for parametrized_test (0.53 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy
} @Test @DisplayName("pretty pretty_test") public void ugly_test() { } @ParameterizedTest @CsvSource({"10, 'first'", "20, 'second'"}) public void parametrized_test(int value, String name) { System.out.println(name + " " + value); } @ParameterizedTest @DisplayName("pretty parametrized test") @CsvSource({"30, 'third'", "40, 'fourth'"})
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 18.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Tag 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.ArgumentsSource @Timeout(30) @Tag("Slow") class CancelTest { @JvmField @RegisterExtension val platform = PlatformRule() lateinit var cancelMode: CancelMode
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 16.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy
throw new RuntimeException("html: <> cdata: ]]> non-ascii: ż"); } } """ file("src/test/java/org/ParameterizedTest.java") << """package org; import org.testng.annotations.*; import static org.testng.Assert.*; public class ParameterizedTest { @Test(dataProvider = "1") public void p1(String var1, String var2) { System.out.println("var1 is: " + var1);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 25 21:27:42 UTC 2023 - 15.1K bytes - Viewed (0) -
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) -
.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) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 17.2K bytes - Viewed (0) -
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) -
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) -
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)