Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 203 for acceptPK (2.95 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java

        private Smb2LogoffResponse newResponse() {
            Configuration cfg = Mockito.mock(Configuration.class);
            return new Smb2LogoffResponse(cfg);
        }
    
        @Test
        @DisplayName("Constructor accepts a Configuration and creates instance")
        void constructor_happyPath() {
            // Arrange
            Configuration cfg = Mockito.mock(Configuration.class);
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

            final ExtractData result = textExtractor.getText(in, null);
    
            assertNotNull(result);
            assertNotNull(result.getContent());
        }
    
        /**
         * Test that parameters map is accepted but not required.
         */
        public void test_getText_acceptsNullParameters() {
            final InputStream in = new ByteArrayInputStream("test".getBytes());
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFilenameFilter.java

         * @param name the name of the file
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileFilter.java

         *
         * @param file the SMB file to test for inclusion
         * @return whether the given file should be included
         * @throws SmbException if an error occurs while accessing the file
         */
        boolean accept(SmbFile file) throws SmbException;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFilenameFilter.java

         * @param name the name of the file
         * @return whether the given filename should be included
         * @throws SmbException if an SMB error occurs during evaluation
         */
        boolean accept(SmbFile dir, String name) throws SmbException;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for {@link SmbComLogoffAndX}.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComLogoffAndXTest {
    
        @Test
        @DisplayName("constructor accepts null andx")
        void constructorWithNullAndx() {
            SmbComLogoffAndX msg = new SmbComLogoffAndX(null);
            assertNotNull(msg, "Message must not be null after construction");
        }
    
        @ParameterizedTest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

                            MethodUtil.invoke(method, instance);
                        }
                    }
                }
    
                if (destroyer != null) {
                    destroyer.accept(instance);
                }
            }
        }
    
        /**
         * A definition for a component that can be instantiated on demand.
         * This class handles component creation, dependency injection, and initialization.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractorTest.java

        @Override
        protected void setUp() throws Exception {
            super.setUp();
            extractor = new TestExtractor();
        }
    
        /**
         * Test that validateInputStream accepts non-null input streams.
         */
        public void test_validateInputStream_acceptsNonNullStream() {
            final InputStream in = new ByteArrayInputStream(new byte[0]);
    
            // Should not throw exception
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/stream/StreamUtil.java

             * @param stream the {@link Consumer} to process the {@link Stream}
             */
            public void of(final Consumer<Stream<T>> stream) {
                try (Stream<T> s = supplier.get()) {
                    stream.accept(s);
                }
            }
    
            /**
             * Applies the given function to a stream created by the supplier and returns the result.
             * The stream is automatically closed after the function is applied.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

    // Or create a visible subclass for testing.
    // For now, let's assume we can modify the original class slightly for testability,
    // or we accept the less precise testToStringFormat test.
    
    // Let's add a package-private helper to TransTransactNamedPipeResponse:
    // String superToString() { return super.toString(); }
    // And modify the test to use it.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top