- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 508 for assertNull (0.07 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java
} public void test_normalize_null() { String enc; enc = null; assertNull(encodingHelper.normalize(enc)); enc = ""; assertNull(encodingHelper.normalize(enc)); enc = " "; assertNull(encodingHelper.normalize(enc)); } public void test_normalize_default() { String enc;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java
// Arrange & Act SMBProtocolDecodingException ex = new SMBProtocolDecodingException(); // Assert state assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); assertTrue(ex instanceof CIFSException, "Should be a CIFSException subtype");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
for (BoundType type : BoundType.values()) { assertNull(sortedMultiset.headMultiset(e0(), type).lastEntry()); assertNull(sortedMultiset.tailMultiset(e0(), type).firstEntry()); } } @CollectionSize.Require(ZERO) public void testEmptyMultisetLast() { assertNull(sortedMultiset.lastEntry()); assertThrows( NoSuchElementException.class, () -> assertNull(sortedMultiset.elementSet().last())); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 20:14:36 UTC 2024 - 26K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null); // User accessors assertNull(auth.getUser()); auth.setUser(null); assertNull(auth.getUser()); auth.setUser(""); assertEquals("", auth.getUser()); // Realm accessors assertNull(auth.getRealm()); auth.setRealm("EXAMPLE.COM"); assertEquals("EXAMPLE.COM", auth.getRealm());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertNull(config.getNetbiosHostname()); assertNull(config.getLocalAddr()); assertNull(config.getBroadcastAddress()); assertNull(config.getResolveOrder()); assertNotNull(config.getWinsServers()); assertEquals(0, config.getWinsServers().length); assertEquals(0, config.getNetbiosLocalPort()); assertNull(config.getNetbiosLocalAddress());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
assertNull(map.get(TypeToken.of(Integer.class))); assertNull(map.getInstance(Integer.class)); map.putInstance(Long.class, null); assertTrue(map.containsKey(TypeToken.of(Long.class))); assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Long.class), null))); assertNull(map.get(TypeToken.of(Long.class))); assertNull(map.getInstance(Long.class)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractTableTest.java
} else { assertThrows(UnsupportedOperationException.class, () -> table.clear()); } } public void testPut() { assertNull(table.put("foo", 1, cellValue('a'))); assertNull(table.put("bar", 1, cellValue('b'))); assertNull(table.put("foo", 3, cellValue('c'))); assertEquals((Character) 'a', table.put("foo", 1, cellValue('d'))); assertEquals((Character) 'd', table.get("foo", 1));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveTester.java
try { assertNull( "remove(null) should return null or throw NullPointerException", getMap().remove(null)); } catch (NullPointerException tolerated) { } expectUnchanged(); } @MapFeature.Require({SUPPORTS_REMOVE, ALLOWS_NULL_KEY_QUERIES}) public void testRemove_nullSupportedMissing() { assertNull("remove(null) should return null", getMap().remove(null));Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.9K bytes - Viewed (0)