- Sort Score
- Result 10 results
- Languages All
Results 1241 - 1250 of 1,422 for test1 (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/HashingTest.java
import static com.google.common.collect.Hashing.smear; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** Tests for {@code Hashing}. */ @GwtCompatible @NullMarked public class HashingTest extends TestCase { public void testSmear() { assertEquals(1459320713, smear(754102528)); assertEquals(-160560296, smear(1234567890));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RangeTest.java
import java.util.List; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit test for {@link Range}. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public class RangeTest extends TestCase { public void testOpen() { Range<Integer> range = Range.open(4, 8);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
// Test getEnvironment returns the correct environment Hashtable<String, String> env = ldapUser.getEnvironment(); assertSame(testEnv, env); assertEquals("test.value", env.get("test.key")); // Test with empty environment Hashtable<String, String> emptyEnv = new Hashtable<>(); LdapUser user = new LdapUser(emptyEnv, "user"); assertTrue(user.getEnvironment().isEmpty());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
private @Nullable Throwable thrown; @VisibleForTesting Closer(Suppressor suppressor) { this.suppressor = checkNotNull(suppressor); // checkNotNull to satisfy null tests } /** * Registers the given {@code closeable} to be closed when this {@code Closer} is {@linkplain * #close closed}. * * @return the given {@code closeable} */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
private SmbFileOutputStream outputStream; @BeforeEach void setUp() { // Common setup for most tests lenient().when(mockFileHandle.getTree()).thenReturn(mockTreeHandle); lenient().when(mockTreeHandle.getConfig()).thenReturn(mockConfig); } @Test void testWriteSingleByte() throws IOException, CIFSException { // Given when(mockTreeHandle.isSMB2()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/util/PathValidatorTest.java
} } @Test public void testBlacklistPriority() throws Exception { // Add to both blacklist and whitelist validator.addToBlacklist("\\share\\test"); validator.addToWhitelist("\\share\\test"); // Blacklist should take priority try { validator.validatePath("\\share\\test\\file.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SubMapMultimapAsMapImplementsMapTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.collect.testing.MapInterfaceTest; import java.util.Collection; import java.util.Map; import org.jspecify.annotations.NullMarked; /** * Test {@code TreeMultimap.asMap().subMap()} with {@link MapInterfaceTest}. * * @author Jared Levy */ @GwtCompatible @NullMarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTestSuiteBuilder.java
import com.google.common.collect.testing.testers.CollectionToStringTester; import java.util.Arrays; import java.util.Collection; import java.util.List; /** * Abstract superclass of all test-suite builders for collection interfaces. * * @author George van den Driessche */ @GwtIncompatible public abstract class AbstractCollectionTestSuiteBuilder< B extends AbstractCollectionTestSuiteBuilder<B, E>, E>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Used to test listenable future implementations. * * @author Sven Mawson */ @NullUnmarked public class ListenableFutureTester { private final ExecutorService exec; private final ListenableFuture<?> future;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 3.3K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
client.close(); } finally { mockService.stop(); } } ``` ### 7.2 Integration Tests ```java @Test @EnabledIfSystemProperty(named = "witness.test.enabled", matches = "true") public void testWitnessFailover() throws Exception { // Requires cluster environment for testing CIFSContext context = getTestContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0)