- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 203 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/smb/FileEntryTest.java
package jcifs.smb; import static org.junit.jupiter.api.Assertions.assertAll; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.Mockito.inOrder; import static org.mockito.Mockito.never; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K 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) -
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) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
Smb2LeaseKey key = leaseManager.requestLease(path, requestedState); assertNotNull(leaseManager.getLease(key)); leaseManager.releaseLease(key); assertNull(leaseManager.getLease(key)); assertNull(leaseManager.getLeaseByPath(path)); } @Test @DisplayName("Should get lease by path") void testGetLeaseByPath() { String path = "/share/document.doc";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.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/JAASAuthenticatorTest.java
// If JAAS is not configured and getSubject() returns null, verify cloning still works assertNull(first, "First call to getSubject() returned null - JAAS not configured"); // Clone should also return null for getSubject() calls Subject copySubj = copy.getSubject(); assertNull(copySubj, "Clone should also return null when original has null cached subject");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K 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)