- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 128 for SMBProtocolDecodingException (0.22 seconds)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
} @Override protected int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { return len; } @Override protected int readDataWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { return len; } } @BeforeEach void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.3K bytes - Click Count (0) -
src/main/java/jcifs/internal/fscc/FileBothDirectoryInfo.java
*/ package jcifs.internal.fscc; import java.util.Date; import jcifs.Configuration; import jcifs.Decodable; import jcifs.SmbConstants; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; import jcifs.smb.FileEntry; import jcifs.util.Strings; /** * Represents the FILE_BOTH_DIR_INFORMATION structure used in SMB directory enumeration operations.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb1.trans2; import jcifs.CIFSException; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.fscc.FileBasicInfo; import jcifs.internal.fscc.FileInformation; import jcifs.internal.fscc.FileInternalInfo; import jcifs.internal.fscc.FileStandardInfo;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
// Given byte[] buffer = new byte[256]; SMBUtil.writeInt2(structureSize, buffer, 0); // When & Then SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0)); assertEquals("Expected structureSize = 9", exception.getMessage()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
// Verify the actual cause is SMBProtocolDecodingException assertTrue(exception instanceof java.lang.reflect.InvocationTargetException, "Should be wrapped in InvocationTargetException"); Throwable cause = exception.getCause(); assertTrue(cause instanceof SMBProtocolDecodingException, "Actual cause should be SMBProtocolDecodingException");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* @param bufferIndex the starting offset in the buffer * @return the number of bytes read * @throws SMBProtocolDecodingException if the data cannot be decoded */ protected abstract int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException; @Override public int hashCode() { return this.mid; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; import jcifs.BaseTest; import jcifs.CIFSContext; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; import jcifs.smb.NtStatus; /** * Tests for Smb2SessionSetupResponse decoding and behavior. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
import org.mockito.Mockito; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.internal.CommonServerMessageBlockRequest; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.RequestWithFileId; import jcifs.internal.util.SMBUtil; @ExtendWith(MockitoExtension.class) class Smb2CreateResponseTest { // SMB2 header size in bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.FileNotifyInformation; import jcifs.internal.SMBProtocolDecodingException; /** * Unit tests for NtTransNotifyChangeResponse class */ class NtTransNotifyChangeResponseTest { @Mock private Configuration mockConfig;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
} /** * Test decoding of bytes buffer that is too short triggers an exception. * Note: The actual implementation throws ArrayIndexOutOfBoundsException * when the buffer is too short, not SMBProtocolDecodingException. */ @Test void readBytesWireFormatTooShortException() { Configuration cfg = mock(Configuration.class); SmbComLockingAndX cmd = new SmbComLockingAndX(cfg);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0)