- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 167 for testSet (0.25 sec)
-
src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java
/** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * */ @Test public void testNext() { final ArrayIterator<String> itr = new ArrayIterator<String>("a", "b", "c"); assertThat(itr.next(), equalTo("a")); assertThat(itr.next(), equalTo("b")); assertThat(itr.next(), equalTo("c"));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
*/ @Test public void testGet() throws Exception { assertThat(map.get("1"), is("test")); assertThat(map.get(null), is(nullValue())); assertThat(map.get("test3"), is(nullValue())); assertThat(map.getAt(0), is(nullValue())); } /** * @throws Exception */ @Test public void testPut() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
// Then assertEquals(expiration, result); verify(mockReferralData).getExpiration(); } @Test @DisplayName("Should get next referral") void testNext() { // Given DfsReferralData nextReferral = mock(DfsReferralData.class); when(mockReferralData.next()).thenReturn(nextReferral); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet :
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
cmd/sftp-server_test.go
if err != nil { c.Fatalf("could not read test key file: %s", err) } testKey, _, _, _, err := ssh.ParseAuthorizedKey(keyBytes) if err != nil { c.Fatalf("could not parse test key file: %s", err) } newSSHCon := newSSHConnMock("dillon=ldap") _, err = sshPubKeyAuth(newSSHCon, testKey) if err == nil || !errors.Is(err, errAuthentication) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Feb 27 18:43:32 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java
assertEquals("text", fileTypeHelper.get("text/plain")); fileTypeHelper.add("image/jpeg", "image"); assertEquals("image", fileTypeHelper.get("image/jpeg")); } public void test_get() { fileTypeHelper.add("application/pdf", "pdf"); fileTypeHelper.add("text/plain", "text"); assertEquals("pdf", fileTypeHelper.get("application/pdf"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 5.3K bytes - Viewed (0) -
.idea/scopes/Gradle_public_API.xml
</component>...
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Jul 18 15:08:47 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
immutableCell('b', 2, "blah"), immutableCell('c', 3, "blah"))) instanceof SparseImmutableTable<?, ?, ?>); } public void testGet() { for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { assertEquals("foo", testInstance.get('a', 1)); assertEquals("bar", testInstance.get('b', 1));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 6.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertEquals("\\\\server\\share\\link", referralData.getLink()); } @Test @DisplayName("Should get and set key") void testKey() { assertNull(referralData.getKey()); referralData.setKey("cache-key-123"); assertEquals("cache-key-123", referralData.getKey()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolderTest.java
package org.codelibs.fess.crawler.client.smb; import org.dbflute.utflute.core.PlainTestCase; /** * @author shinsuke * */ public class SmbAuthenticationHolderTest extends PlainTestCase { public void test_get() { final SmbAuthenticationHolder smbAuthenticationHolder = new SmbAuthenticationHolder(); final SmbAuthentication hogeAuth = new SmbAuthentication(); hogeAuth.setServer("hoge");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.3K bytes - Viewed (0)