- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for assertAll (0.04 sec)
-
src/test/java/jcifs/smb/WinErrorTest.java
package jcifs.smb; import static org.junit.jupiter.api.Assertions.assertAll; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
assertNull(dfsResolver.getDc(mockContext, "anyDomain")); } // Test for resolve method @Test void testResolve_DfsDisabled() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(true); assertNull(dfsResolver.resolve(mockContext, "anyDomain", "anyRoot", "anyPath")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java
params.put(ExtractData.RESOURCE_NAME_KEY, resourceName); assertNull(pdfExtractor.getPassword(params)); url = "http://test.com/hoge1.pdf"; resourceName = null; params.put(ExtractData.URL, url); params.put(ExtractData.RESOURCE_NAME_KEY, resourceName); assertNull(pdfExtractor.getPassword(params)); url = "http://test.com/hoge1.pdf";
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
// Expect null message and null cause assertNull(e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a message. */ @Test void testMessageConstructor() { String errorMessage = "This is a test error message."; PACDecodingException e = new PACDecodingException(errorMessage);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
CurlException exception = new CurlException(null); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void testConstructorWithNullMessageAndCause() { IOException cause = new IOException("IO error"); CurlException exception = new CurlException(null, cause); assertNull(exception.getMessage()); assertSame(cause, exception.getCause());
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/UrlQueueImplTest.java
assertNotNull(queue); assertNull(queue.getId()); assertNull(queue.getSessionId()); assertNull(queue.getMethod()); assertNull(queue.getUrl()); assertNull(queue.getMetaData()); assertNull(queue.getEncoding()); assertNull(queue.getParentUrl()); assertNull(queue.getDepth()); assertNull(queue.getLastModified());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 9.1K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java
// Arrange & Act SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(); // Assert - message and cause are null assertNull(ex.getMessage(), "Default constructor should have null message"); assertNull(ex.getCause(), "Default constructor should have null cause"); // Assert - toString shows class name when message is null
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/EncodingHelperTest.java
} public void test_normalize_null() { String enc; enc = null; assertNull(encodingHelper.normalize(enc)); enc = ""; assertNull(encodingHelper.normalize(enc)); enc = " "; assertNull(encodingHelper.normalize(enc)); } public void test_normalize_default() { String enc;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
assertNull(dfsImpl.getDc(mockContext, "anydomain.com")); } @Test void testGetDc_ConnectionFails() throws SmbAuthException { // Scenario: Transport connection fails when getting DC when(mockCredentials.getUserDomain()).thenReturn("authdomain.com"); // When transport fails to connect, getDc returns null assertNull(dfsImpl.getDc(mockContext, "anydomain.com"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0)