- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for nullName (1.04 sec)
-
src/test/java/jcifs/smb/SmbTransportInternalTest.java
void getDfsReferrals_nullName() throws Exception { String nullName = null; doThrow(new jcifs.CIFSException("invalid dfs name")).when(transport).getDfsReferrals(eq(ctx), isNull(), any(), any(), anyInt()); assertThrows(jcifs.CIFSException.class, () -> transport.getDfsReferrals(ctx, nullName, "h", "d", 1)); verify(transport).getDfsReferrals(eq(ctx), isNull(), eq("h"), eq("d"), eq(1));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
assertEquals(100L, mock.length()); } @Nested @DisplayName("Edge case values") class EdgeCases { @Test @DisplayName("Null name is allowed via mock") void nullName() { FileEntry mock = mock(FileEntry.class); when(mock.getName()).thenReturn(null); assertNull(mock.getName()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
return this.domain; } /** * @param fullName * the fullName to set */ @Override public void setFullUNCPath(final String domain, final String server, final String fullName) { this.domain = domain; this.server = server; this.fullName = fullName; } /** * {@inheritDoc} * * Strips a leading \
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0)