- Sort Score
- Result 10 results
- Languages All
Results 581 - 590 of 778 for square (5.91 sec)
-
src/test/java/jcifs/context/BaseContextTest.java
void testGetSmbResourceWithVariousURLs() throws CIFSException { // Test different valid URL formats String[] validUrls = { "smb://server/share/", "smb://server/share/file.txt", "smb://user:pass@server/share/file.txt", "smb://domain;user:pass@server/share/file.txt" }; for (String url : validUrls) { // When SmbResource resource = context.get(url); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
okhttp-java-net-cookiejar/build.gradle.kts
id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.java.net.cookiejar", "Automatic-Module-Name: okhttp3.java.net.cookiejar", "Bundle-SymbolicName: com.squareup.okhttp3.java.net.cookiejar" ) dependencies { "friendsApi"(projects.okhttp) compileOnly(libs.animalsniffer.annotations) } mavenPublishing { configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 14 00:51:50 UTC 2025 - 594 bytes - Viewed (0) -
okhttp-logging-interceptor/build.gradle.kts
id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.logging", "Automatic-Module-Name: okhttp3.logging", "Bundle-SymbolicName: com.squareup.okhttp3.logging" ) dependencies { "friendsApi"(projects.okhttp) testImplementation(libs.junit) testImplementation(projects.mockwebserver3) testImplementation(projects.mockwebserver3Junit5)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 14 00:51:50 UTC 2025 - 775 bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
} @Test void testGetReferral_Success() throws IOException, SmbAuthException { String domain = "domain.com"; String root = "share"; String path = "\\folder"; String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder" lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);
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
class HappyPath { @Test void testBasicProperties() throws Exception { String url = "smb://server/share/path/file.txt"; DummySmbResourceLocator loc = new DummySmbResourceLocator(url); assertEquals("file.txt", loc.getName()); assertEquals("smb://server/share/path/", loc.getParent()); assertEquals(url, loc.getPath()); // canonicalisation simply removes '.' and '..'
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
mockwebserver-junit4/README.md
MockWebServer for JUnit 4 ========================= This module integrates mockwebserver3.MockWebServer with JUnit 4. To use, first add this library as a test dependency: ``` testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.1.0") ``` Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation: ``` @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); ```
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 706 bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
// Setup minimal mocks when(request.getRequestURI()).thenReturn("/explorer"); when(request.getPathInfo()).thenReturn("/share/"); when(locator.getCanonicalURL()).thenReturn("smb://server/share/"); // Mock directory listing SmbFile file1 = mock(SmbFile.class); when(file1.getName()).thenReturn("document.pdf");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
okhttp-zstd/build.gradle.kts
id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.zstd", "Automatic-Module-Name: okhttp3.zstd", "Bundle-SymbolicName: com.squareup.okhttp3.zstd" ) dependencies { "friendsApi"(projects.okhttp) implementation(libs.zstd.kmp.okio) testImplementation(projects.okhttpBrotli) testImplementation(projects.okhttpTestingSupport)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 18:34:32 UTC 2025 - 766 bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
RESOURCE_CHANGE(1), // Resource state changed CLIENT_MOVE(2), // Client should move to different node SHARE_MOVE(3), // Share moved to different node IP_CHANGE(4), // IP address changed SHARE_DELETE(5), // Share deleted NODE_UNAVAILABLE(6), // Cluster node unavailable NODE_AVAILABLE(7); // Cluster node available private final int value;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTest.java
when(tree.acquire(false)).thenReturn(tree); when(tree.getTreeType()).thenReturn(7); when(tree.getShare()).thenReturn("SHARE"); setTree(c, tree); assertEquals(7, c.getTreeType()); assertEquals("SHARE", c.getConnectedShare()); // try-with-resources closes the acquired tree verify(tree, atLeastOnce()).close(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0)