- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 210 for getLink (0.38 seconds)
-
src/test/java/jcifs/DfsReferralDataTest.java
void testGetLink() { // Given String link = "/test/link"; when(mockReferralData.getLink()).thenReturn(link); // When String result = mockReferralData.getLink(); // Then assertEquals(link, result); verify(mockReferralData).getLink(); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/DfsReferralData.java
*/ DfsReferralData next(); /** * Get the complete UNC path link for this referral * * @return the link */ String getLink();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Test with mock when(mockReferralData.getLink()).thenReturn(link); assertEquals(link, mockReferralData.getLink()); verify(mockReferralData, times(1)).getLink(); // Test with concrete implementation concreteImplementation.setLink(link); assertEquals(link, concreteImplementation.getLink()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
} @Test @DisplayName("Should get and set link") void testLink() { assertNull(referralData.getLink()); referralData.setLink("\\\\server\\share\\link"); assertEquals("\\\\server\\share\\link", referralData.getLink()); } @Test @DisplayName("Should get and set key") void testKey() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/DfsImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 29.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
} // Test basic property retrieval @Test public void test_get_basicProperty() { // Test getting a property from the config String value = fessConfig.get("domain.title"); assertEquals("Test Fess", value); // Test getting another property String engineType = fessConfig.get("search_engine.type"); assertEquals("opensearch", engineType); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
int andRecordCount = JsonPath.from(andResponse).getInt("record_count"); Map<String, String> params = new HashMap<>(); params.put("q", query); params.put("num", "100"); String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString(); assertTrue(JsonPath.from(response).getInt("record_count") > andRecordCount);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
@Test void testToDisplayStringUnresolved() throws SmbException { SID sid = new SID(adminSidString); assertEquals(adminSidString, sid.toDisplayString()); } /** * Test getting the domain SID. * * @throws SmbException if the SID string is invalid */ @Test void testGetDomainSid() throws SmbException { // Create a mock RPC SID to simulate a user SIDCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
InetAddress LADDR = Config.getLocalHost(); /** Local port to bind to */ int LPORT = Config.getInt("jcifs.smb1.smb.client.lport", 0); /** Maximum multiplex count */ int MAX_MPX_COUNT = Config.getInt("jcifs.smb1.smb.client.maxMpxCount", DEFAULT_MAX_MPX_COUNT); /** Send buffer size in bytes */ int SND_BUF_SIZE = Config.getInt("jcifs.smb1.smb.client.snd_buf_size", DEFAULT_SND_BUF_SIZE); /** Receive buffer size in bytes */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0)