- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 51 for testReadBytesWireFormatVariousInvalidSizes (0.31 seconds)
-
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 255, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { // Given byte[] buffer = new byte[10]; int bufferIndex = 0; SMBUtil.writeInt2(invalidSize, buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 1, 3, 4, 5, 10, 100, 255, 256, 1000, 65535 }) @DisplayName("Test readBytesWireFormat with various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { byte[] buffer = new byte[1024]; int bufferIndex = 0; SMBUtil.writeInt2(invalidSize, buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 8, 16, 100, 255, 1024, 4096, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { // Given byte[] buffer = new byte[10]; int bufferIndex = 0; SMBUtil.writeInt2(invalidSize, buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 }) @DisplayName("Test readBytesWireFormat with various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); byte[] buffer = new byte[1024]; int bufferIndex = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int structureSize) { byte[] buffer = new byte[1024]; int bufferIndex = 50; SMBUtil.writeInt2(structureSize, buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
@ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 }) @DisplayName("Test readBytesWireFormat with various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03); byte[] buffer = new byte[1024]; int bufferIndex = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
Shinsuke Sugaya <******@****.***> 1755149504 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java
Shinsuke Sugaya <******@****.***> 1755149504 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
Shinsuke Sugaya <******@****.***> 1756627257 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
Shinsuke Sugaya <******@****.***> 1755149504 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0)