- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 41 for testshare (0.43 sec)
-
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Test with mock when(mockReferralData.getShare()).thenReturn(share); assertEquals(share, mockReferralData.getShare()); verify(mockReferralData, times(1)).getShare(); // Test with concrete implementation String concreteShare = concreteImplementation.getShare(); // Should be share based on our initialization
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
if (!(obj instanceof final DfsReferralData other)) { return false; } return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare()) && Objects.equals(getPath(), other.getPath()) && Objects.equals(getPathConsumed(), other.getPathConsumed()); } /** * Set the referral data from a referral response *
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/main/java/jcifs/DfsReferralData.java
* @return the domain this referral is for */ String getDomain(); /** * Get the share this referral points to * * @return the share this referral points to */ String getShare(); /** * Get the number of characters from the UNC path that were consumed by this referral * * @return the number of characters from the unc path that were consumed by this referral */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/StopwatchTest.java
} public void testInitialState() { assertFalse(stopwatch.isRunning()); assertEquals(0, stopwatch.elapsed(NANOSECONDS)); } public void testStart() { assertSame(stopwatch, stopwatch.start()); assertTrue(stopwatch.isRunning()); } public void testStart_whileRunning() { stopwatch.start();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
clause/where_test.go
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Apr 25 12:22:53 UTC 2024 - 6.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
} /** * @return the service */ public String getService() { return this.service; } /** * @return the share */ public String getShare() { return this.share; } /** * @return whether this is a DFS share */ public boolean isDfs() { return this.inDfs; } /** *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* <code>null</code> will be returned. * * @return The share component or <code>null</code> if there is no share */ public String getShare() { return this.fileLocator.getShare(); } /** * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will * return the target name. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
log.debug(String.format("Intermediate referral, server %s share %s refPath %s origPath %s nextPath %s", r.getServer(), r.getShare(), r.getPath(), path, nextPath)); } final DfsReferralData nextstart = resolve(tf, r.getServer(), r.getShare(), nextPath, depthLimit - 1); final DfsReferralData next = nextstart; if (next != null) { do {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
return null; } @Override public String getURLPath() { return null; } @Override public String getShare() { return null; } @Override public String getServerWithDfs() { return null; } @Override public String getServer() {
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/smb/SmbFileTest.java
assertEquals("localhost", smbFile.getServer()); } @Test void testGetShare() { // Act & Assert assertEquals("share", smbFile.getShare()); } @Test void testGetUncPath() { // Arrange doReturn("\\localhost\share\file.txt").when(smbFile).getUncPath(); // Act & Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0)