- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 173 for getters (2.59 sec)
-
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
/** * Check if negotiation was successful * * @return true if successful */ public boolean isSuccess() { return status == STATUS_SUCCESS; } // Getters and setters /** * Get the minimum SMB Direct protocol version * * @return minimum protocol version */ public int getMinVersion() { return minVersion; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertThrows(RuntimeCIFSException.class, a::getURLPath); assertThrows(RuntimeCIFSException.class, a::getUNCPath); } @Test @DisplayName("Server, port, URL passthrough getters") void testServerPortUrl() throws Exception { // No context mocks needed for this test SmbResourceLocatorImpl a = locator("smb://server:444/share"); assertEquals("server", a.getServer());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
assertEquals("Unsupported encryption type 99", exception.getMessage()); } /** * Test getters with null values. * * @throws IOException if an I/O error occurs * @throws PACDecodingException if a PAC decoding error occurs */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
return this.established && this.integrity; } } @Nested @DisplayName("Happy path behavior") class HappyPath { @Test @DisplayName("All getters return configured values and MIC roundtrips") void testAllMethodsHappyPath() throws Exception { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
public SmbOperationException withContext(Map<String, Object> contextMap) { if (contextMap != null) { this.context.putAll(contextMap); } return this; } // Getters public ErrorCode getErrorCode() { return errorCode; } public ErrorCategory getErrorCategory() { return errorCode.getCategory(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java
assertEquals(SERVER_REALM, ticket.getServerRealm()); assertEquals(SERVER_PRINCIPAL_NAME, ticket.getServerPrincipalName()); assertNotNull(ticket.getEncData()); // Also test getters that delegate to KerberosEncData assertEquals(USER_PRINCIPAL_NAME, ticket.getUserPrincipalName()); assertEquals(USER_REALM, ticket.getUserRealm()); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSeekResponse(mockConfig); } /* ------------------------------------------------------------------ */ /* 1. Construction and basic getters */ /* ------------------------------------------------------------------ */ @Test @DisplayName("Construct with a valid configuration - should not throw")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
int read = resp.decode(packet, 0, false); assertTrue(read >= SMB2_HEADER_LENGTH + body.length, "Should decode at least header+body"); // Validate simple getters assertEquals((byte) 0x7, resp.getOplockLevel()); assertEquals((byte) 0x2, resp.getOpenFlags()); assertEquals(0x11223344, resp.getCreateAction()); assertEquals(1111L, resp.getCreationTime());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java
assertNotNull(settings); // Verify that the settings object was created with the correct parameters // Note: We can't directly verify internal state of SuggestSettings without getters, // but we can verify it was created successfully } @Test public void testBuildWithCustomSettings() { // Test building with all custom settings String id = "custom-id";Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
SmbResource parent; @Mock ResourceNameFilter nameFilter; private void stubAcquireReturnsSelf() { when(tree.acquire()).thenReturn(tree); } @Test @DisplayName("Getters return constructor values and acquire is called") void gettersAndAcquire() throws Exception { // Arrange stubAcquireReturnsSelf(); String wildcard = "*.*"; int attrs = 123;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0)