- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 1,466 for assertEquals (0.05 sec)
-
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertEquals("font", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateImageType() { MediaType newType = MediaType.createImageType("yams"); assertEquals("image", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateTextType() { MediaType newType = MediaType.createTextType("yams"); assertEquals("text", newType.type());Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
// Verify num_sids assertEquals(2, lsarSidArrayX.num_sids, "num_sids should match the array length"); // Verify sids array and its contents assertNotNull(lsarSidArrayX.sids, "sids array should not be null"); assertEquals(2, lsarSidArrayX.sids.length, "sids array length should match"); assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StringsTest.java
public void testCommonPrefix() { assertEquals("", Strings.commonPrefix("", "")); assertEquals("", Strings.commonPrefix("abc", "")); assertEquals("", Strings.commonPrefix("", "abc")); assertEquals("", Strings.commonPrefix("abcde", "xyz")); assertEquals("", Strings.commonPrefix("xyz", "abcde")); assertEquals("", Strings.commonPrefix("xyz", "abcxyz")); assertEquals("a", Strings.commonPrefix("abc", "aaaaa"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 27 17:53:41 UTC 2025 - 10.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
assertEquals(ImmutableSet.of(), i.next()); assertEquals(ImmutableSet.of(1), i.next()); assertEquals(ImmutableSet.of(2), i.next()); assertEquals(ImmutableSet.of(2, 1), i.next()); assertEquals(ImmutableSet.of(3), i.next()); assertEquals(ImmutableSet.of(3, 1), i.next()); assertEquals(ImmutableSet.of(3, 2), i.next()); assertEquals(ImmutableSet.of(3, 2, 1), i.next());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(newValue, cache.getUnchecked(entry.getKey())); assertEquals(entry.getValue(), cache.getUnchecked(newKey)); // don't let the new entry get GCed warmed.add(entryOf(newKey, entry.getValue())); } assertEquals(WARMUP_SIZE, cache.stats().missCount()); checkValidState(cache); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java
assertEquals(HashMultiset.create(asList("a", "b", "a")), multiset); assertEquals(1, iterable.count); } public void testCopyOf_hashMultiset() { Multiset<String> iterable = HashMultiset.create(asList("a", "b", "a")); Multiset<String> multiset = ImmutableMultiset.copyOf(iterable); assertEquals(HashMultiset.create(asList("a", "b", "a")), multiset); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
void testBufferConfigurationGetters() { assertEquals(0xFFFF - 512, config.getTransactionBufferSize()); assertEquals(0x10000, config.getMaximumBufferSize()); assertEquals(16, config.getBufferCacheSize()); assertEquals(200, config.getListCount()); assertEquals(65435, config.getListSize()); assertEquals(5000L, config.getAttributeCacheTimeout()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/rank/fusion/RankFusionSearcherTest.java
SearchResult result = testSearcher.search(query, params, userBean); assertNotNull(result); assertEquals(query, testSearcher.lastQuery); assertEquals(params, testSearcher.lastParams); assertEquals(userBean, testSearcher.lastUserBean); } public void test_search_withUserBean() { // Test search with user bean presentRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeResourceTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import org.junit.jupiter.api.Test; /** * Tests for the SmbPipeResource interface. * This test class primarily verifies the constant values defined in the interface. */ class SmbPipeResourceTest { /** * Test if the PIPE_TYPE_RDONLY constant has the correct value. */ @Test void testPipeTypeRdonly() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0)