- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 491 for assertNull (0.08 seconds)
-
src/test/java/org/codelibs/fess/app/pager/CrawlingInfoPagerTest.java
assertEquals(25, crawlinginfopage.getPageSize()); assertEquals(1, crawlinginfopage.getCurrentPageNumber()); assertNull(crawlinginfopage.id); assertNull(crawlinginfopage.sessionId); assertNull(crawlinginfopage.createdTime); assertEquals(1, crawlinginfopage.getDefaultCurrentPageNumber()); crawlinginfopage.setAllRecordCount(999);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertEquals(123, dataStoreParams.get("key2")); dataStoreParams.put("key3", null); assertNull(dataStoreParams.get("key3")); } // Test get for non-existent key @Test public void test_getNonExistentKey() { assertNull(dataStoreParams.get("nonexistent")); } // Test getAsString with String value @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNullMessage() { // Test with null message LdapConfigurationException exception = new LdapConfigurationException(null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key = leaseManager.requestLease(path, requestedState); assertNotNull(leaseManager.getLease(key)); leaseManager.releaseLease(key); assertNull(leaseManager.getLease(key)); assertNull(leaseManager.getLeaseByPath(path)); } @Test @DisplayName("Should get lease by path") void testGetLeaseByPath() { String path = "/share/document.doc";Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// If JAAS is not configured and getSubject() returns null, verify cloning still works assertNull(first, "First call to getSubject() returned null - JAAS not configured"); // Clone should also return null for getSubject() calls Subject copySubj = copy.getSubject(); assertNull(copySubj, "Clone should also return null when original has null cached subject");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class MapComputeIfPresentTester<K, V> extends AbstractMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) public void testComputeIfPresent_supportedAbsent() { assertNull( "computeIfPresent(notPresent, function) should return null", getMap() .computeIfPresent( k3(), (k, v) -> { throw new AssertionFailedError();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 6.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/IpAddressUtilTest.java
// IPv6 without port assertEquals("https://[::1]", IpAddressUtil.buildUrl("https", ipv6, 0, "")); // Null protocol or address assertNull(IpAddressUtil.buildUrl(null, ipv4, 8080, "/path")); assertNull(IpAddressUtil.buildUrl("http", (InetAddress) null, 8080, "/path")); } @Test public void testBuildUrlWithHostString() { // IPv4 with port and pathCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 8.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
assertNull(source.getPath()); assertEquals(path.toString(), source.getLocation()); assertEquals(modelId, source.getModelId()); assertNull(source.resolve("subdir")); ModelSource.ModelLocator locator = mock(ModelSource.ModelLocator.class); assertNull(source.resolve(locator, "subproject"));Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
} @Test @DisplayName("Default state is null for both fields") void defaultStateIsNull() { TestSpnegoToken t = new TestSpnegoToken(); assertNull(t.getMechanismToken(), "mechanismToken should default to null"); assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null"); } @Test @DisplayName("Setter and getter for mechanismToken work")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
assertEquals(expectedStatus, ex.getNtStatus(), "status should map based on code"); assertNull(ex.getCause(), "cause must be null for int constructor"); assertNull(ex.getRootCause(), "rootCause must be null for int constructor"); } /** * Validate message-only constructor with both null and empty messages. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0)