- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 2,031 for test2 (0.02 sec)
-
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* abruptly. In other cases, a test may put a thread into an uninterruptible operation * intentionally, so there is no other way to clean up these threads. (The better solution, * though, would be to run the tests that use TestThread in separate VMs so that their threads * don't hang around during other tests.) */ @Override public void tearDown() throws Exception { try { Thread.class.getMethod("stop").invoke(this);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 11.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapGetTester.java
import java.util.Collection; import org.junit.Ignore; /** * Tests for {@code Multimap.asMap().get(Object)}. * * @author Louis Wasserman */ @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")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
import java.util.Map.Entry; import org.junit.Ignore; /** * Tests {@link java.util.Map#equals}. * * @author George van den Driessche * @author Chris Povirk */ @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")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacTest.java
} } @Test void testEmptyPac() { // Test that PAC with size <= 8 is rejected byte[] emptyData = new byte[8]; PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(emptyData, keys)); // Any PACDecodingException is acceptable for this test assertNotNull(e.getMessage()); } @Test void testTooSmallPac() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.smb2.lease.Smb2LeaseState; import jcifs.internal.util.SMBUtil; @DisplayName("LeaseV1CreateContextRequest Tests") class LeaseV1CreateContextRequestTest { private LeaseV1CreateContextRequest leaseContext;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SMBProtocolDowngradeException covering all constructors and behaviors.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Arrays; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Smb2LeaseKey Tests") class Smb2LeaseKeyTest { @Test @DisplayName("Should generate random lease key with correct size") void testRandomLeaseKeyGeneration() { Smb2LeaseKey key = new Smb2LeaseKey();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.SmbTransport; import jcifs.internal.CommonServerMessageBlock; import jcifs.internal.smb2.info.Smb2QueryInfoRequest; import jcifs.internal.smb2.io.Smb2ReadRequest; /** * Unit tests for ChannelLoadBalancer */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.7K bytes - Viewed (0) -
tests/test_pydantic_v1_error.py
import sys import warnings from typing import Union import pytest from tests.utils import skip_module_if_py_gte_314 if sys.version_info >= (3, 14): skip_module_if_py_gte_314() from fastapi import FastAPI from fastapi.exceptions import PydanticV1NotSupportedError with warnings.catch_warnings(): warnings.simplefilter("ignore", UserWarning) from pydantic.v1 import BaseModel
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 2.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
@DisplayName("Plugin Upgrades") class PluginUpgradeTests { @Test @DisplayName("should upgrade plugin version when below minimum") void shouldUpgradePluginVersionWhenBelowMinimum() throws Exception { String pomXml = PomBuilder.create() .groupId("test") .artifactId("test") .version("1.0.0")Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 27.8K bytes - Viewed (0)