Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for assertNotNull (0.07 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

                    return "TestTransactionResponse";
                }
            };
    
            // When
            BufferCache.getBuffers(req, rsp);
    
            // Then
            assertNotNull(req.txn_buf, "Request buffer should be allocated");
            assertNotNull(rsp.txn_buf, "Response buffer should be allocated");
            assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, req.txn_buf.length, "Request buffer should have correct size");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            // Test default constructor
            SuggestSettingsBuilder testBuilder = new SuggestSettingsBuilder();
            assertNotNull(testBuilder);
            assertEquals("fess_suggest", testBuilder.settingsIndexName);
            assertNotNull(testBuilder.timeoutSettings);
            assertNotNull(testBuilder.initialSettings);
            assertTrue(testBuilder.initialSettings.isEmpty());
        }
    
        @Test
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Then
            assertNotNull(address, "Should return address for localhost");
        }
    
        @Test
        @DisplayName("Should handle IP address in getByName")
        void testGetByNameWithIPAddress() throws UnknownHostException {
            // When
            Address address = nameServiceClient.getByName("127.0.0.1");
    
            // Then
            assertNotNull(address, "Should return address for IP address");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

            RdmaProvider provider = RdmaProviderFactory.selectBestProvider();
            assertNotNull(provider, "Should always select an RDMA provider (at minimum TCP fallback)");
            assertNotNull(provider.getProviderName(), "Provider name should not be null");
            assertNotNull(provider.getSupportedCapabilities(), "Supported capabilities should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

                    appendExceptionMethod = method;
                    break;
                }
            }
    
            assertNotNull("Should inherit append method", appendMethod);
            assertNotNull("Should inherit appendTimestamp method", appendTimestampMethod);
            assertNotNull("Should inherit appendException method", appendExceptionMethod);
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

            // Verify all expected states are present
            assertNotNull(WitnessRegistration.WitnessRegistrationState.REGISTERING);
            assertNotNull(WitnessRegistration.WitnessRegistrationState.REGISTERED);
            assertNotNull(WitnessRegistration.WitnessRegistrationState.UNREGISTERING);
            assertNotNull(WitnessRegistration.WitnessRegistrationState.FAILED);
            assertNotNull(WitnessRegistration.WitnessRegistrationState.EXPIRED);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            // Verify all cache entries exist
            assertNotNull(directoryLeaseManager.getCacheEntry(dir1));
            assertNotNull(directoryLeaseManager.getCacheEntry(dir2));
            assertNotNull(directoryLeaseManager.getCacheEntry(dir3));
    
            // Verify different scopes
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java

            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        /**
         * Test constructor with empty message
         */
        public void test_constructor_withEmptyMessage() {
            CrawlerSystemException exception = new CrawlerSystemException("");
    
            assertNotNull(exception);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 20K bytes
    - Viewed (0)
Back to top