Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 698 for Given (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

            }
    
            @Test
            @DisplayName("Should initialize with correct command and MID")
            void testConstructorInitialization() throws Exception {
                // Given
                int testMid = 42;
    
                // When
                Constructor<SmbComNtCancel> constructor = SmbComNtCancel.class.getDeclaredConstructor(Configuration.class, int.class);
                constructor.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

        }
    
        /**
         * Test iterator with no filter - all elements should be returned.
         */
        @Test
        void testIteratorWithoutFilter() {
            // Given
            when(mockDelegate.hasNext()).thenReturn(true, true, true, false);
            when(mockDelegate.next()).thenReturn(mockFileEntry1, mockFileEntry2, mockFileEntry3);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

        Collection<SourceRoot> getSourceRoots(@Nonnull Project project);
    
        /**
         * {@return all enabled sources that provide files in the given language for the given scope}.
         * If the given scope is {@code null}, then this method returns the enabled sources for all scopes.
         * If the given language is {@code null}, then this method returns the enabled sources for all languages.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:29:13 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

        }
    
        @Test
        @DisplayName("Should set file ID correctly in Smb2CloseRequest")
        void testSetFileIdInCloseRequest() {
            // Given
            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
            request.setFileId(testFileId);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            response = new Smb2ChangeNotifyResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
        void testConstructorWithConfiguration() {
            // Given & When
            Smb2ChangeNotifyResponse resp = new Smb2ChangeNotifyResponse(mockConfig);
    
            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

     */
    class Trans2FindNext2Test {
    
        /**
         * Verifies constructor initializes protocol fields and limits correctly.
         */
        @Test
        void testConstructorInitializesFields() {
            // Given
            int sid = 0x2222;
            int resumeKey = 0x12345678;
            String filename = "dir\\pattern*";
    
            // When
            Trans2FindNext2 next = new Trans2FindNext2(sid, resumeKey, filename);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertFalse(exception.isRetryable());
        }
    
        @Test
        @DisplayName("Should create exception with cause")
        void testCreationWithCause() {
            // Given
            Exception cause = new RuntimeException("Original error");
    
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.CONNECTION_FAILED, "Failed to connect", cause);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/BufferCacheTest.java

        }
    
        @Test
        @DisplayName("BufferCache interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            BufferCache cache = mockBufferCache;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
                cache.getBuffer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructorInitialization() {
            // Given
            int offset = 0;
            int length = TEST_DATA.length;
    
            // When
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, offset, length);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

            response = new Smb2LockResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize with Configuration")
        void testConstructor() {
            // Given & When
            Smb2LockResponse lockResponse = new Smb2LockResponse(mockConfig);
    
            // Then
            assertNotNull(lockResponse);
            // Verify it's an instance of ServerMessageBlock2Response
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top