Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 365 for assertNotNull (0.06 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            // Test normal construction
            assertNotNull(securityResourceProvider);
    
            // Verify fields are set correctly
            InvertibleCryptographer providedInvertible = securityResourceProvider.providePrimaryInvertibleCryptographer();
            OneWayCryptographer providedOneWay = securityResourceProvider.providePrimaryOneWayCryptographer();
    
            assertNotNull(providedInvertible);
            assertNotNull(providedOneWay);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            assertNotNull(result);
            assertTrue(result.isPresent());
            assertEquals(testValue, result.get());
        }
    
        public void test_ofNullable_withNullString() {
            String testValue = null;
            OptionalEntity<String> result = OptionalUtil.ofNullable(testValue);
    
            assertNotNull(result);
            assertFalse(result.isPresent());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

            // Use getByName to trigger populate
            assertNotNull(lmhosts.getByName("HOST1", mockContext));
            assertNotNull(lmhosts.getByName("HOST2", mockContext));
            assertNotNull(lmhosts.getByName("HOST3", mockContext));
            assertNotNull(lmhosts.getByName("HOST4", mockContext));
        }
    
        @Test
        void testPopulateWithWhitespace() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceTest.java

                assertNotNull(clazz.getMethod("getLocator"), "Should have getLocator method");
                assertNotNull(clazz.getMethod("getContext"), "Should have getContext method");
                assertNotNull(clazz.getMethod("getName"), "Should have getName method");
                assertNotNull(clazz.getMethod("getType"), "Should have getType method");
                assertNotNull(clazz.getMethod("exists"), "Should have exists method");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            String id = SuggestUtil.createSuggestTextId(text);
            assertNotNull(id);
            assertEquals(Base64.getEncoder().encodeToString(text.getBytes(CoreLibConstants.CHARSET_UTF_8)), id);
    
            // Test empty text
            String emptyText = "";
            String emptyId = SuggestUtil.createSuggestTextId(emptyText);
            assertNotNull(emptyId);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            assertNotNull(results);
            // With multiple languages, should use ReadingConverterChain
        }
    
        @Test
        public void testConvertWithEmptyText() throws IOException {
            // Test convert with empty text
            String text = "";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

                // Should handle null keywords gracefully
                assertNotNull(functionBuilders);
            } catch (Exception e) {
                // May throw exception due to null handling
                assertNotNull(e);
            }
        }
    
        public void test_keyMatchHelper_constructor() {
            KeyMatchHelper helper = new KeyMatchHelper();
            assertNotNull(helper);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            FileEntry[] entries2 = dfsRootEnum.getEntries();
            FileEntry[] entries3 = dfsRootEnum.getEntries();
    
            // Verify consistency
            assertNotNull(entries1);
            assertNotNull(entries2);
            assertNotNull(entries3);
    
            assertEquals(entries1.length, entries2.length);
            assertEquals(entries2.length, entries3.length);
    
            for (int i = 0; i < entries1.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            QueryBuilder queryBuilder1 = queryCommand.convertWildcardQuery(queryContext, wildcardQuery, 0.5f);
            assertNotNull(queryBuilder1);
    
            // Test with boost = 2.0
            QueryBuilder queryBuilder2 = queryCommand.convertWildcardQuery(queryContext, wildcardQuery, 2.0f);
            assertNotNull(queryBuilder2);
    
            // Test with boost = 0
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/NameServiceClientTest.java

    package jcifs;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import java.net.InetAddress;
    import java.net.UnknownHostException;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
Back to top