Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 508 for assertNull (0.19 sec)

  1. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertNull(exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof FessSystemException);
        }
    
        public void test_constructorWithNullCause() {
            // Test constructor with null cause
            SearchQueryException exception = new SearchQueryException((Throwable) null);
    
            assertNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java

        }
    
        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"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapGetTester.java

        assertEquals("get(present) should return the associated value", v0(), get(k0()));
      }
    
      public void testGet_no() {
        assertNull("get(notPresent) should return null", get(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testGet_nullNotContainedButAllowed() {
        assertNull("get(null) should return null", get(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. 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";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertNull(((SitemapUrl) sitemaps[1]).getChangefreq());
            assertNull(((SitemapUrl) sitemaps[1]).getPriority());
    
            assertNull(sitemaps[2].getLastmod());
            assertEquals("http://www.example.com/catalog?item=73&desc=vacation_new_zealand", sitemaps[2].getLoc());
            assertNull(((SitemapUrl) sitemaps[2]).getChangefreq());
            assertNull(((SitemapUrl) sitemaps[2]).getPriority());
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessage() {
            // Test with null message
            LdapConfigurationException exception = new LdapConfigurationException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. 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");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            crawlerStatsHelper.done(key);
            assertNull(localLogMsg.get());
        }
    
        public void test_beginDoneWithRecordOnLazy() {
            String key = "test";
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "aaa");
            crawlerStatsHelper.runOnThread(key);
            crawlerStatsHelper.done(key);
            logger.info(localLogMsg.get());
            assertNull(localLogMsg.get());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. 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.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

                        return null;
                    }
                    return createMockRescorerBuilder();
                }
            };
    
            assertNull(queryRescorer.evaluate(Collections.emptyMap()));
            assertNull(queryRescorer.evaluate(new HashMap<>()));
        }
    
        public void test_evaluate_withParams() {
            // Test implementation that returns a RescorerBuilder
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top