- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 39 for setCommand (0.14 seconds)
-
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test setCommand and getCommand methods") void testSetAndGetCommand() { // Given int expectedCommand = 0x73; doNothing().when(messageBlock).setCommand(expectedCommand); when(messageBlock.getCommand()).thenReturn(expectedCommand); // When messageBlock.setCommand(expectedCommand);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java
// Test command methods int command = 0x25; doNothing().when(response).setCommand(command); when(response.getCommand()).thenReturn(command); response.setCommand(command); assertEquals(command, response.getCommand()); // Test other setter methods doNothing().when(response).setUid(1000); response.setUid(1000);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
protected int readHeaderWireFormat(byte[] buffer, int bufferIndex) { return 33; } }; testBlock.configureForTest(true, 2); testBlock.setCommand((byte) ServerMessageBlock.SMB_COM_NT_CREATE_ANDX); byte[] buffer = new byte[1024]; buffer[33] = 34; // wordCount for extended response buffer[34] = (byte) 0xFF; // andxCommand
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
} @Test @DisplayName("Test command property") void testCommandProperty() { testBlock.setCommand(0x42); assertEquals(0x42, testBlock.getCommand()); } @Test @DisplayName("Test flags property") void testFlagsProperty() { testBlock.setFlags((byte) 0x12);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * @return the command */ @Override public final int getCommand() { return this.command; } /** * @param command * the command to set */ @Override public final void setCommand(final int command) { this.command = (byte) command; } /**Created: 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/ServerMessageBlock2Test.java
@Test @DisplayName("Should get and set command") void testCommandProperty() { assertEquals(0, testMessage.getCommand()); testMessage.setCommand(ServerMessageBlock2.SMB2_CREATE); assertEquals(ServerMessageBlock2.SMB2_CREATE, testMessage.getCommand()); } @Test @DisplayName("Should get and set tree ID") void testTreeIdProperty() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0)