- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for testReadDataWireFormat (0.38 seconds)
-
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
// When int result = trans2SetFileInformation.readParametersWireFormat(new byte[0], 0, 0); // Then assertEquals(0, result); } @Test void testReadDataWireFormat() { // When int result = trans2SetFileInformation.readDataWireFormat(new byte[0], 0, 0); // Then assertEquals(0, result); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
} /** * Test for the readDataWireFormat method. * It should always return 0. */ @Test void testReadDataWireFormat() { byte[] buffer = new byte[10]; // The method should not read anything and return 0 assertEquals(0, response.readDataWireFormat(buffer, 0, 10), "readDataWireFormat should return 0."); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
} /** * Tests the readDataWireFormat method. * This test simulates a response with two share entries. */ @Test void testReadDataWireFormat() throws IOException { NetShareEnumResponse response = new NetShareEnumResponse(); // Manually set parameters that would be read by readParametersWireFormat response.numEntries = 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
// Then assertEquals(0, bytesRead, "Should read 0 bytes."); } /** * Tests the readDataWireFormat method. */ @Test void testReadDataWireFormat() { // Given Trans2QueryPathInformation trans = new Trans2QueryPathInformation("anyfile.txt", 0); byte[] buffer = new byte[10]; // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
int result = netServerEnum2.readParametersWireFormat(buffer, 0, 10); assertEquals(0, result); } /** * Test the readDataWireFormat method. */ @Test void testReadDataWireFormat() { byte[] buffer = new byte[10]; int result = netServerEnum2.readDataWireFormat(buffer, 0, 10); assertEquals(0, result); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
int consumed = pipe.readParametersWireFormat(buffer, 0, 10); assertEquals(0, consumed, "readParametersWireFormat should return 0"); } @Test public void testReadDataWireFormat() { // Test that readDataWireFormat returns 0 TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe"); byte[] buffer = new byte[100];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.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.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
Shinsuke Sugaya <******@****.***> 1755149504 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
// Assert assertEquals(0, result); } @Test @DisplayName("readDataWireFormat should return 0") void testReadDataWireFormat() { // Arrange transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, testPipeName); byte[] buffer = new byte[10]; // ActCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
Shinsuke Sugaya <******@****.***> 1755149504 +0900
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.6K bytes - Click Count (0)