- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 170 for getPid (0.07 seconds)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} @Test @DisplayName("Test configuration usage") void testConfigurationUsage() { // Verify configuration is used - getPid() is called in parent constructor verify(mockConfig, atLeastOnce()).getPid(); } @Test @DisplayName("Test transaction response with different commands") void testTransactionResponseWithDifferentCommands() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
when(mockConfig.getPid()).thenReturn(1234); // When smbComTreeDisconnect = new SmbComTreeDisconnect(mockConfig); // Then assertNotNull(smbComTreeDisconnect); assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, smbComTreeDisconnect.getCommand()); verify(mockConfig).getPid(); // Verify getPid was called } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
// Test at various positions in the buffer int[] positions = { 0, 10, 50, 100, 150 }; for (int pos : positions) { when(mockConfig.getPid()).thenReturn(1234); // Mock getPid for each new instance response = new TestSmbComNtTransactionResponse(mockConfig); // Reset response // Fill buffer at position for (int i = 0; i < 37; i++) {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/config/DelegatingConfiguration.java
return this.delegate.getLocalTimezone(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getPid() */ @Override public int getPid() { return this.delegate.getPid(); } /** * {@inheritDoc} * * @see jcifs.Configuration#getMaxMpxCount() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 24.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
} @Test @DisplayName("Should throw NullPointerException with null configuration") void testConstructorWithNullConfig() { // The parent class requires a non-null configuration for getPid() assertThrows(NullPointerException.class, () -> { new Trans2GetDfsReferralResponse(null); }); } } @Nested @DisplayName("Constants Tests")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/smb1/trans2/Trans2QueryPathInformationTest.java
assertNotNull(trans2QueryPathInfo); // Configuration is accessed during initialization // Verify at least that getPid() and getTransactionBufferSize() were called }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
this.andx.setFlags(getFlags()); this.andx.setFlags2(getFlags2()); this.andx.setTid(getTid()); this.andx.setPid(getPid()); this.andx.setUid(getUid()); this.andx.setMid(getMid()); this.andx.setUseUnicode(this.isUseUnicode()); if (this.andx instanceof AndXServerMessageBlock) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertNotNull(trans2SetFileInfo); // Configuration is accessed during initialization // Verify at least that getPid() and getTransactionBufferSize() were called } @DisplayName("Test FileInformation encode returning different sizes") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 1000 })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java
class ConstructorTests { private Configuration mockConfig; @BeforeEach void setUp() { mockConfig = mock(Configuration.class); when(mockConfig.getPid()).thenReturn(12345); } @Test @DisplayName("Should initialize with correct command and MID") void testConstructorInitialization() throws Exception { // GivenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/Configuration.java
*/ TimeZone getLocalTimezone(); /** * Gets the process ID to use in SMB messages * * @return Process id to send, randomized if unset */ int getPid(); /** * * Property {@code jcifs.smb.client.maxMpxCount} (int, default 10) * * @return maximum count of concurrent commands to announce */ int getMaxMpxCount();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 25.4K bytes - Click Count (0)