- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 491 for assertNull (0.07 seconds)
-
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
ldapManager.init(); // Edge cases that should return null assertNull(ldapManager.getSearchRoleName(null)); assertNull(ldapManager.getSearchRoleName("")); assertNull(ldapManager.getSearchRoleName(" ")); assertNull(ldapManager.getSearchRoleName("no_cn_prefix")); assertNull(ldapManager.getSearchRoleName("dn=test")); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java
assertEquals("r1", kuromojiItem.getReading()); assertEquals("p1", kuromojiItem.getPos()); assertNull(kuromojiItem.getNewToken()); assertNull(kuromojiItem.getNewSegmentation()); assertNull(kuromojiItem.getNewReading()); assertNull(kuromojiItem.getNewPos()); assertFalse(kuromojiItem.isUpdated()); assertFalse(kuromojiItem.isDeleted());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 3.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
@Test public void test_getConfigType() { assertNull(crawlingConfigHelper.getConfigType(null)); assertNull(crawlingConfigHelper.getConfigType("")); assertNull(crawlingConfigHelper.getConfigType("XXX")); assertNull(crawlingConfigHelper.getConfigType("W")); assertNull(crawlingConfigHelper.getConfigType("F")); assertNull(crawlingConfigHelper.getConfigType("D"));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 35.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
@Test public void testNullPasswordHandling() { authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", (String) null); assertNull(authenticator.getPassword(), "getPassword should return null for null password"); assertNull(authenticator.getPasswordAsCharArray(), "getPasswordAsCharArray should return null for null password"); // secureWipePassword should not throw exceptionCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
// Verify assertNull(result); } @Test public void test_getResponse_withUnsetType() { // Execute - requesting type without setting response ActionResponse result = authenticator.getResponse(SsoResponseType.METADATA); // Verify assertNull(result); } // Test logout method @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (1) -
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");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPut_supportedNotPresent() { assertNull("put(notPresent, value) should return null", put(e3())); expectAdded(e3()); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_PUT}) @CollectionSize.Require(absent = ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message and null cause SsoLoginException exception = new SsoLoginException(null, null); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.7K bytes - Click Count (0) -
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));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
netdfs.DfsStorageInfo decodedStorageInfo = new netdfs.DfsStorageInfo(); decodedStorageInfo.decode(src); assertEquals(storageInfo.state, decodedStorageInfo.state); assertNull(decodedStorageInfo.server_name); assertNull(decodedStorageInfo.share_name); } @Test void testDfsInfo3_EncodeDecode() throws NdrException { netdfs.DfsInfo3 info3 = new netdfs.DfsInfo3();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.9K bytes - Click Count (0)