Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for isAsync (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        }
    
        @Test
        @DisplayName("Test isAsync method returning true")
        void testIsAsyncTrue() {
            // Given
            when(response.isAsync()).thenReturn(true);
    
            // When
            boolean isAsync = response.isAsync();
    
            // Then
            assertTrue(isAsync);
            verify(response).isAsync();
        }
    
        @Test
        @DisplayName("Test isAsync method returning false")
        void testIsAsyncFalse() {
    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)
  2. src/main/java/jcifs/internal/CommonServerMessageBlockResponse.java

    public interface CommonServerMessageBlockResponse extends CommonServerMessageBlock, Response {
    
        /**
         * Checks if this is an asynchronous response.
         *
         * @return is an async response
         */
        boolean isAsync();
    
        /**
         *
         * @return the next response
         */
        @Override
        CommonServerMessageBlockResponse getNextResponse();
    
        /**
         * Prepares this response for the next request.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        void testIsResponseAsync() {
            // Given
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, 1L, 0L);
    
            // When
            boolean isAsync = request.isResponseAsync();
    
            // Then
            assertFalse(isAsync, "Cancel requests should not expect async responses");
        }
    
        @Test
        @DisplayName("Test getNext returns null")
        void testGetNext() {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/RequestTest.java

            private CommonServerMessageBlockResponse response;
            private int command = 0;
            private byte[] rawPayload;
            private boolean retainPayload = false;
    
            @Override
            public boolean isAsync() {
                return async;
            }
    
            @Override
            public CommonServerMessageBlockResponse getNextResponse() {
                return nextResponse;
            }
    
            @Override
    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)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                    flagsField.set(this, flags);
                } catch (Exception e) {
                    throw new RuntimeException(e);
                }
            }
    
            @Override
            public boolean isAsync() {
                return async;
            }
    
            public void setAsync(boolean async) {
                this.async = async;
            }
    
            @Override
            public boolean isRetainPayload() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/NotifyResponseTest.java

            MockNotifyResponse response = new MockNotifyResponse(Collections.emptyList());
    
            // Test async property
            assertFalse(response.isAsync());
            response.setAsync(true);
            assertTrue(response.isAsync());
    
            // Test next response property
            assertNull(response.getNextResponse());
            MockNotifyResponse nextResponse = new MockNotifyResponse(Collections.emptyList());
    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)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            this.readSize = readSize;
        }
    
        /**
         * Checks whether this message is an asynchronous message.
         *
         * @return the async
         */
        public boolean isAsync() {
            return this.async;
        }
    
        /**
         * @param command
         *            the command to set
         */
        @Override
        public final void setCommand(final int command) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            }
    
            @Test
            @DisplayName("Test default request properties")
            void testDefaultRequestProperties() {
                assertEquals(0, testBlock.size());
                assertFalse(testBlock.isAsync());
                assertFalse(testBlock.isResponseAsync());
                assertNull(testBlock.getNext());
                assertFalse(testBlock.allowChain(mock(CommonServerMessageBlockRequest.class)));
    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)
Back to Top