- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for DfsReferralData (0.17 sec)
-
src/main/java/jcifs/DfsReferralData.java
*/ package jcifs; /** * Information returned in DFS referrals * * @author mbechler * * <p>This interface is intended for internal use.</p> */ public interface DfsReferralData { /** * Unwrap the referral data to a specific implementation type * * @param <T> the target type to unwrap to * @param type the class of the target type
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/test/java/jcifs/smb/DfsReferralTest.java
} /** * Test the toString method. */ @Test void testToString() { // Create a mock DfsReferralData object DfsReferralData mockData = mock(DfsReferralData.class); String expectedToString = "Mock DfsReferralData";
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/main/java/jcifs/smb/DfsReferral.java
/** The underlying DFS referral data */ private final DfsReferralData data; /** * Constructs a DfsReferral with the specified referral data * * @param data the DFS referral data */ public DfsReferral(final DfsReferralData data) { this.data = data; } /** * Get the DFS referral data associated with this referral
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/smb/SmbResourceLocatorInternalTest.java
import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.SmbResourceLocator; @ExtendWith(MockitoExtension.class) public class SmbResourceLocatorInternalTest { @Mock SmbResourceLocatorInternal locator; @Mock SmbResourceLocator other; @Mock DfsReferralData referral;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/DfsReferralDataTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for DfsReferralData interface functionality */ @DisplayName("DfsReferralData Interface Tests") class DfsReferralDataTest extends BaseTest { @Mock private DfsReferralData mockReferralData; @Test @DisplayName("Should define interface methods") void testDfsReferralDataInterface() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
*/ public DfsReferralDataImpl() { this.next = this; } /** * {@inheritDoc} * * @see jcifs.DfsReferralData#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T extends DfsReferralData> T unwrap(final Class<T> type) { if (type.isAssignableFrom(this.getClass())) { return (T) this; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
@Override public String getCanonicalURL() { return canonical; } @Override public DfsReferralData getDfsReferral() { return dfsReferral; } public void setDfsReferral(DfsReferralData dfsReferral) { this.dfsReferral = dfsReferral; } @Override public String getUNCPath() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
} } @Nested @DisplayName("Unwrap Tests") class UnwrapTests { @Test @DisplayName("Should unwrap to DfsReferralData interface") void testUnwrapToDfsReferralData() { DfsReferralData unwrapped = referralData.unwrap(DfsReferralData.class); assertSame(referralData, unwrapped); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
DfsReferralData mockReferralData = mock(DfsReferralData.class); assertDoesNotThrow(() -> dfsResolver.cache(mockContext, "\\\\anyServer\\anyShare\\anyPath", mockReferralData)); } @Test void testCache_InvalidPath() { when(mockConfig.isDfsDisabled()).thenReturn(false); DfsReferralData mockReferralData = mock(DfsReferralData.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorInternal.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb; import jcifs.CIFSException; import jcifs.DfsReferralData; import jcifs.SmbResourceLocator; /** * Internal interface for SMB resource locators. * * This interface provides internal methods for locating * and resolving SMB resources. * * @author mbechler
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2K bytes - Viewed (0)