Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 72 for invokes (0.8 sec)

  1. src/test/java/jcifs/smb/SmbFileFilterTest.java

                    Arguments.of(null, false));
        }
    
        @Test
        @DisplayName("accept: returns true for directories; verifies isDirectory is invoked")
        void accept_returnsTrueForDirectory_andVerifiesInteraction() throws Exception {
            // Arrange: filter that accepts directories only
            SmbFileFilter filter = f -> f.isDirectory();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertTrue(Modifier.isProtected(method.getModifiers()));
                method.setAccessible(true);
                assertEquals(443, method.invoke(testHandler));
            }
    
            @Test
            @DisplayName("Should maintain inheritance hierarchy")
            void testInheritanceHierarchy() {
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/TreeConnectResponseTest.java

        }
    
        /**
         * Helper method to invoke protected/private method using reflection
         */
        private Object invokeMethod(Object obj, String methodName, Class<?>[] paramTypes, Object... args) throws Exception {
            Method method = obj.getClass().getDeclaredMethod(methodName, paramTypes);
            method.setAccessible(true);
            return method.invoke(obj, args);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplTest.java

            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull());
    
            // Act
            session.treeConnectLogon();
    
            // Assert: treeConnect invoked once with null params
            verify(tree, times(1)).treeConnect(isNull(), isNull());
            // Close of try-with-resources should call close on the mock
            verify(tree, times(1)).close();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            // Arrange: stub renew() to return a mocked CredentialsInternal
            when(renewable.renew()).thenReturn(returned);
    
            // Act: invoke renew()
            CredentialsInternal result = renewable.renew();
    
            // Assert: verify interaction and returned value
            verify(renewable, times(1)).renew();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            if (this.andx instanceof AndXServerMessageBlock) {
    
                /*
                 * A word about communicating header info to andx smbs
                 *
                 * This is where we recursively invoke the provided andx smb
                 * object to write it's parameter words and bytes to our outgoing
                 * array. Incedentally when these andx smbs are created they are not
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

        @Test
        void decodesErrorStructureThroughReadBytesWireFormat() throws Exception {
            // For STATUS_INVALID_PARAMETER the override makes isErrorResponseStatus() return false,
            // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9.
            byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            assertNull(it.next(), "next() returns null when exhausted in this implementation");
        }
    
        @Test
        @DisplayName("With filter: only accepted entries are returned and filter is invoked per entry")
        void withFilter_acceptsSome_skipsOthers_andVerifiesInteractions() throws Exception {
            SmbFile parent = newParent();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            pad8Method.setAccessible(true);
    
            // Test various positions
            int[] positions = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 15, 16 };
            for (int pos : positions) {
                int padding = (int) pad8Method.invoke(req, pos);
    
                // Verify padding makes position 8-byte aligned
                assertEquals(0, (pos + padding) % 8);
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

     * UrlFilter, RuleManager, CrawlerContainer, IntervalController, and CrawlerClientFactory,
     * to perform its tasks.
     *
     * <p>The crawling process involves the following steps:
     * <ol>
     *   <li>Initialization: Sets up the crawler context and initializes the URL filter.</li>
     *   <li>Thread Creation: Creates a group of crawler threads to perform the actual crawling.</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top