Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 667 for assertNotNull (0.04 sec)

  1. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            super.setUp();
            scoreUpdater = new ScoreUpdater();
        }
    
        // Test constructor
        public void test_constructor() {
            ScoreUpdater updater = new ScoreUpdater();
            assertNotNull(updater);
        }
    
        // Test execute with empty list
        public void test_execute_emptyList() {
            String result = scoreUpdater.execute();
            assertEquals("", result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            TestRule deserializedRule = (TestRule) ois.readObject();
            ois.close();
    
            // Verify
            assertEquals(originalRule.getRuleId(), deserializedRule.getRuleId());
            assertNotNull(deserializedRule.getResponseProcessor());
    
            ResponseData responseData = new ResponseData();
            assertTrue(deserializedRule.match(responseData));
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            loggerField.setAccessible(true);
    
            Object logger = loggerField.get(null); // static field
    
            // Verify logger is not null
            assertNotNull(logger);
    
            // Verify logger is of the expected type
            assertTrue(logger instanceof org.apache.logging.log4j.Logger);
        }
    
        // Test concurrent execution of hook method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

            String result = buf.toString();
            assertTrue(result.startsWith("\"timestamp\":\""));
            assertTrue(result.endsWith("\""));
            // Verify a timestamp was properly formatted
            assertNotNull(result);
            assertTrue(result.length() > "\"timestamp\":\"\"".length());
        }
    
        // Test appendException method with simple exception
        public void test_appendException_simpleException() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            authenticationManager = new AuthenticationManager();
        }
    
        // Test default constructor
        public void test_constructor() {
            AuthenticationManager manager = new AuthenticationManager();
            assertNotNull(manager);
        }
    
        // Test insert with no chains
        public void test_insert_noChains() {
            User user = createTestUser("testuser");
            authenticationManager.insert(user);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/util/DocMapTest.java

            assertTrue(docMap.isEmpty());
        }
    
        public void test_constructor() {
            Map<String, Object> parentMap = new HashMap<>();
            DocMap docMap = new DocMap(parentMap);
    
            assertNotNull(docMap);
            assertTrue(docMap.isEmpty());
            assertEquals(0, docMap.size());
        }
    
        public void test_basic_operations() {
            Map<String, Object> parentMap = new HashMap<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

                throw new AssertionError(message);
              }
            };
        AssertionError actual = null;
        try {
          tester.test();
        } catch (AssertionError e) {
          actual = e;
        }
        assertNotNull("verify() should be able to cause test failure", actual);
        assertTrue(
            "AssertionError should have info about why test failed",
            actual.getCause().getMessage().contains(message));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java

            webFsIndexHelper.setCrawlerPriority(priority);
            assertEquals(priority, webFsIndexHelper.crawlerPriority);
        }
    
        public void test_crawlerList_initialization() {
            assertNotNull(webFsIndexHelper.crawlerList);
            assertEquals(0, webFsIndexHelper.crawlerList.size());
        }
    
        public void test_crawlerList_synchronization() {
            // Test that the crawler list is synchronized
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

            for (String value : testValues) {
                String encoded = permissionHelper.encode(value);
                if (encoded != null) {
                    String decoded = permissionHelper.decode(encoded);
                    assertNotNull("Decoded value should not be null for: " + value, decoded);
                    assertEquals("Decoded value should match original: " + value + " -> " + encoded + " -> " + decoded, value, decoded);
                }
            }
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/TreeConnectResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    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.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top