- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 326 for toen (0.06 sec)
-
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
@Nested @DisplayName("Protocol Information Tests") class ProtocolInfoTests { @Test @DisplayName("Should return correct syntax string") void testGetSyntax() { // When/Then: Verify the protocol syntax identifier assertEquals("12345778-1234-abcd-ef00-0123456789ac:1.0", samr.getSyntax()); } } @Nested @DisplayName("Constants Tests") class ConstantsTests {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
void testConstructorWithNullFilename() { // When & Then assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, null)); } @Test @DisplayName("Constructor should handle empty filename") void testConstructorWithEmptyFilename() { // When & Then assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationRequestTest.java
// Then assertTrue(result, "Custom implementation should return true when initialized with true"); } @Test @DisplayName("Test interface can be mocked") void testInterfaceCanBeMocked() { // Given SmbNegotiationRequest mockRequest = mock(SmbNegotiationRequest.class); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
// When/Then assertEquals((int) 0x80000005L, infoStatus); // Should be an informational/warning status (0x8 prefix) assertTrue((infoStatus & (int) 0x80000000L) == (int) 0x80000000L); } @Test @DisplayName("Should handle pending status") void testPendingStatus() { // Given int pendingStatus = NtStatus.NT_STATUS_PENDING; // When/ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
int result = smbComRename.writeBytesWireFormat(dst, dstIndex); // Then assertTrue(result > 0); assertEquals((byte) 0x04, dst[0]); // First buffer format byte // Find the second buffer format byte by searching for it // In Unicode mode, the old filename is written as Unicode, then 0x04, then an alignment byte int secondBufferFormatIndex = -1;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Then assertEquals(0, result); } @Test @DisplayName("Should return 0 regardless of destination index") void testWriteBytesWireFormatWithDifferentIndex() { // Given byte[] dst = new byte[100]; // When & Then assertEquals(0, response.writeBytesWireFormat(dst, 0));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java
.result()); } // GET /api/admin/accesstoken/setting/{id} /** * Retrieves a specific access token setting by ID. * * @param id the access token ID to retrieve * @return JSON response with the access token setting */ @Execute public JsonResponse<ApiResult> get$setting(final String id) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
int result = mockNetbiosName.getNameType(); // Then assertEquals(nameType, result); } @Test @DisplayName("Should handle null name") void testNullName() { // Given when(mockNetbiosName.getName()).thenReturn(null); // When String name = mockNetbiosName.getName(); // Then assertNull(name); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
*/ @Test public void testBufferSizeValidation() { // When - Get a buffer byte[] buffer = BufferCache.getBuffer(); // Then - Buffer should have expected size assertNotNull(buffer, "Buffer should not be null"); assertEquals(SmbComTransaction.TRANSACTION_BUF_SIZE, buffer.length, "Buffer should have TRANSACTION_BUF_SIZE");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmContext.java
this.targetName = targetName; } @Override public byte[] initSecContext(final byte[] token, final int offset, final int len) throws SmbException { return switch (this.state) { case 1 -> makeNegotiate(token); case 2 -> makeAuthenticate(token); default -> throw new SmbException("Invalid state"); }; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0)