- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 1,608 for junit4 (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt
import kotlin.test.assertFailsWith import okhttp3.FakeRoutePlanner import okhttp3.FakeRoutePlanner.ConnectState.TLS_CONNECTED import okhttp3.internal.concurrent.TaskFaker import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test /** * Unit test for [FastFallbackExchangeFinder] implementation details. * * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has * the same structure:
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 20.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString import okio.Timeout import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.api.BeforeEach import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test /** * Access every type, function, and property from Kotlin to defend against unexpected regressions in
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 47K bytes - Click Count (0) -
ci/official/utilities/extract_resultstore_links.py
'JUnit-based XML file inside a specified directory.') parser.add_argument('build_log', help='Path to a build log.') parser.add_argument('--xml-out-path', required=False, help='Path to which to output ' 'the JUnit-based XML with ResultStore links.') parser.add_argument('--print',
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
import java.util.Comparator; import java.util.List; import org.apache.commons.cli.Option; import org.junit.jupiter.api.Test; import static java.util.Objects.nonNull; /** * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?) */ @Deprecated
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.Executor; import java.util.concurrent.atomic.AtomicInteger; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit tests for {@link ExecutionList}. * * @author Nishant Thakkar * @author Sven Mawson */ @NullUnmarked public class ExecutionListTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/AbstractCacheTest.java
import com.google.common.collect.ImmutableList; import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicReference; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link AbstractCache}. * * @author Charles Fry */ @NullUnmarked public class AbstractCacheTest extends TestCase {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 6.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java
import org.codehaus.plexus.classworlds.ClassWorld; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Order; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.io.CleanupMode; import org.junit.jupiter.api.io.TempDir; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 21 12:17:55 GMT 2025 - 9.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
* @author George van den Driessche */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarked public abstract class AbstractMapTester<K extends @Nullable Object, V extends @Nullable Object>Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
.teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt
import common.VersionedSettingsBranch import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertNull import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.CsvSource import org.junit.jupiter.params.provider.ValueSource import promotion.determineNightlyPromotionTriggerHour /* * Copyright 2023 the original author or authors. *
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 1.8K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
import org.apache.maven.cling.invoker.mvnup.UpgradeContext; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; 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 org.junit.jupiter.api.Assertions.assertEquals;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 38.8K bytes - Click Count (0)