- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 591 for assertNotNull (0.05 sec)
-
src/test/java/org/codelibs/curl/CurlTest.java
final CurlRequest connectRequest = Curl.connect(emptyUrl); // ## Assert ## assertNotNull(getRequest); assertNotNull(postRequest); assertNotNull(putRequest); assertNotNull(deleteRequest); assertNotNull(headRequest); assertNotNull(optionsRequest); assertNotNull(connectRequest); } @Test
Registered: 2025-12-20 09:13 - Last Modified: 2025-11-20 13:34 - 16.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/di/DiTest.java
assertNotNull(parsers); assertEquals(1, parsers.size()); } @Test void testDI() throws Exception { DiInjected diInjected = new DiInjected(); container.lookup(org.apache.maven.di.Injector.class).injectInstance(diInjected); assertNotNull(diInjected.parser); assertNotNull(diInjected.parsers);Registered: 2025-12-28 03:35 - Last Modified: 2025-02-10 23:18 - 12.4K bytes - Viewed (0) -
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: 2025-12-20 13:44 - Last Modified: 2025-08-14 05:31 - 35K bytes - Viewed (0) -
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: 2025-12-20 13:44 - Last Modified: 2025-08-14 05:31 - 18.2K bytes - Viewed (0) -
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: 2025-12-20 13:04 - Last Modified: 2025-11-24 03:40 - 26.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
final InputStream in = new ByteArrayInputStream(testContent.getBytes()); final ExtractData result = textExtractor.getText(in, null); assertNotNull(result); assertNotNull(result.getContent()); assertTrue(result.getContent().contains("Test content")); } /** * Test successful text extraction with custom encoding. */
Registered: 2025-12-20 11:21 - Last Modified: 2025-11-24 03:59 - 8.9K bytes - Viewed (0) -
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: 2025-12-20 13:04 - Last Modified: 2025-09-01 13:33 - 12.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
// Verify child and parent elements exist before inference assertNotNull(childRoot.child("groupId").orElse(null)); assertNotNull(childRoot.child("version").orElse(null)); assertNotNull(parentElement.child("groupId").orElse(null)); assertNotNull(parentElement.child("artifactId").orElse(null)); assertNotNull(parentElement.child("version").orElse(null)); // Apply inferenceRegistered: 2025-12-28 03:35 - Last Modified: 2025-11-18 18:03 - 35.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilderTest.java
assertNotNull(response); } @Test public void test_setSuggestDetail() throws Exception { indexItems(); SuggestResponse response = suggester.suggest().setQuery("test").setSuggestDetail(true).execute().getResponse(); assertNotNull(response); if (response.getNum() > 0) { assertNotNull(response.getItems()); } }Registered: 2025-12-20 13:04 - Last Modified: 2025-11-24 03:40 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
SpnegoException ex1 = new SpnegoException((String) null); assertNotNull(ex1); assertNull(ex1.getMessage()); assertNull(ex1.getCause()); }); assertDoesNotThrow(() -> { SpnegoException ex2 = new SpnegoException("msg", null); assertNotNull(ex2); assertEquals("msg", ex2.getMessage()); assertNull(ex2.getCause());
Registered: 2025-12-20 13:44 - Last Modified: 2025-08-14 05:31 - 4.9K bytes - Viewed (0)