- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for DfsReferral (0.05 sec)
-
src/main/java/jcifs/smb1/smb1/DfsReferral.java
/** The next DFS referral in the chain */ DfsReferral next; /** Map containing DFS referral entries */ Map map; /** The cache key for this referral */ String key = null; /** * Constructs a new DfsReferral instance */ public DfsReferral() { this.next = this; } void append(final DfsReferral dr) { dr.next = next; next = dr; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsReferral.java
* * * <p>This class is intended for internal use.</p> */ public class DfsReferral extends SmbException { /** * */ private static final long serialVersionUID = 1486630733410281686L; /** The underlying DFS referral data */ private final DfsReferralData data; /** * Constructs a DfsReferral with the specified referral data * * @param data the DFS referral data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
// Given DfsReferral referral = new DfsReferral(); // When / Then assertNotNull(referral, "The DfsReferral object should not be null."); assertEquals(referral, referral.next, "The 'next' property should point to the object itself."); } /** * Tests the append method of the DfsReferral class.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsReferralTest.java
when(mockData.toString()).thenReturn(expectedToString); // Create a DfsReferral instance with the mock data DfsReferral dfsReferral = new DfsReferral(mockData); // Verify that toString() returns the expected string from the mock data object assertEquals(expectedToString, dfsReferral.toString(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
class DfsTest { @Mock private NtlmPasswordAuthentication auth; @Mock private SmbTransport smbTransport; @Mock private UniAddress uniAddress; @Mock private DfsReferral dfsReferral; private Dfs dfs; private TestDfs testDfs; private MockedStatic<LogStream> logStreamMockedStatic; private MockedStatic<UniAddress> uniAddressMockedStatic;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
return canonical; } @Override public DfsReferralData getDfsReferral() { return dfsReferral; } public void setDfsReferral(DfsReferralData dfsReferral) { this.dfsReferral = dfsReferral; } @Override public String getUNCPath() { return null; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0)