- Sort Score
- Result 10 results
- Languages All
Results 1111 - 1120 of 1,698 for tests (0.02 sec)
-
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
import org.junit.jupiter.api.RepeatedTest; import org.junit.jupiter.api.Test; /** * Unit tests for SimpleCircuitBreaker */ public class SimpleCircuitBreakerTest { private SimpleCircuitBreaker circuitBreaker; @BeforeEach void setUp() { circuitBreaker = new SimpleCircuitBreaker("test", 3, 2, 100); } @Test @DisplayName("Test initial state is CLOSED") void testInitialState() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
README.md
6. For the mainline flavor, we test the libraries using OpenJDK 8, 11, and 17 on Linux, with some additional testing on newer JDKs and on Windows. Some features, especially in `com.google.common.io`, may not work correctly in non-Linux environments. For the Android flavor, our unit tests also run on API level 23 (Marshmallow).Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 05 15:30:14 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; import jcifs.BaseTest; import jcifs.CIFSException; import jcifs.DialectVersion; import jcifs.ResolverType; /** * Test class for PropertyConfiguration functionality */ @DisplayName("PropertyConfiguration Tests") class PropertyConfigurationTest extends BaseTest { @MockRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import static org.codehaus.plexus.testing.PlexusExtension.getBasedir; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@link LegacyRepositorySystem}. * */ @PlexusTest @DeprecatedRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 10.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* ordinary tests. * * <p>Failure of the expected event to occur within an implementation-defined "reasonable" time * period or an interrupt while waiting for the expected event will result in a {@link * RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * {@snippet :
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardDirectedGraphTest.java
assertThat(e).hasMessageThat().contains(ENDPOINTS_MISMATCH); } /** * Tests that the method {@code putEdge} will silently add the missing nodes to the graph, then * add the edge connecting them. We are not using the proxy methods here as we want to test {@code * putEdge} when the end-points are not elements of the graph. */ @Test public void putEdge_nodesNotInGraph() { assume().that(graphIsMutable()).isTrue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
} /** * Test constructor with an invalid SID string. */ @Test void testStringConstructorInvalidFormat() { assertThrows(SmbException.class, () -> new SID("invalid-sid")); assertThrows(SmbException.class, () -> new SID("S-1")); } /** * Test constructor with a byte array. */ @Test void testByteArrayConstructor() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
import com.google.common.cache.TestingRemovalListeners.CountingRemovalListener; import java.util.List; import java.util.Set; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests relating to cache eviction: what does and doesn't count toward maximumSize, what happens * when maximumSize is reached, etc. * * @author mike nonemacher */ @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
import jcifs.SmbPipeResource; import jcifs.SmbResource; import jcifs.SmbTransportPool; import jcifs.config.BaseConfiguration; /** * Comprehensive test suite for BaseContext class. * Tests CIFS context implementation and component integration. */ @DisplayName("BaseContext Tests") class BaseContextTest extends BaseTest { @Mock private Configuration mockConfig; private BaseContext context; @BeforeEachRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension /** * Tests for our hostname verifier. Most of these tests are from AOSP, which itself includes tests * from the Apache HTTP Client test suite. */ class HostnameVerifierTest { private val verifier = OkHostnameVerifier @RegisterExtension var platform = PlatformRule() @Test fun verify() {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 40.4K bytes - Viewed (0)