Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 354 for properly (0.05 sec)

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

            negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer);
        }
    
        @Test
        @DisplayName("Constructor should properly initialize all fields")
        void testConstructor() {
            // Verify all fields are properly initialized
            assertNotNull(negotiation);
            assertSame(mockRequest, negotiation.getRequest());
            assertSame(mockResponse, negotiation.getResponse());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

            assertNotNull(request);
            // The request should be properly created - we can't easily verify headers without mocking framework
        }
    
        public void test_post() {
            setupMockConfig("localhost:9200", "", "");
    
            curlHelper.init();
            CurlRequest request = curlHelper.post("/test");
    
            assertNotNull(request);
            // The request should be properly created
        }
    
        public void test_put() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

         * the smb URL syntax.
         *
         * @param url An smb URL string representing the file to write to
         * @throws SmbException if an SMB error occurs
         * @throws MalformedURLException if the URL is not properly formatted
         * @throws UnknownHostException if the host cannot be resolved
         */
    
        public SmbFileOutputStream(final String url) throws SmbException, MalformedURLException, UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbSessionTest.java

                    assertEquals(0, closeMethod.getParameterCount());
                    assertEquals(void.class, closeMethod.getReturnType());
                }, "close() method should be properly defined");
            }
    
            @Test
            @DisplayName("Should allow close method to be called multiple times")
            void shouldAllowMultipleCloseCallsOnMock() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertSame(firstCall, secondCall);
            assertEquals(type, firstCall);
        }
    
        public void test_inheritanceFromFessSystemException() {
            // Test that InvalidAccessTokenException is properly inherited from FessSystemException
            String type = "SessionToken";
            String message = "Session expired";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            });
        }
    
        @Test
        void testInheritedFields() throws Exception {
            // Verify inherited fields are properly set
            assertEquals(0x10, msrpcShareGetInfo.getOpnum());
    
            // Test that the info field is properly initialized
            Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
            infoField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/QueryTestBase.java

    /**
     * Base test class for query-related tests that properly initializes FessConfig
     */
    public abstract class QueryTestBase extends UnitFessTestCase {
    
        protected QueryProcessor queryProcessor;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Setup FessConfig with proper initialization
            setupBaseFessConfig();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

            // Should use UNSPECIFIED_FILEID by default
        }
    
        @Test
        @DisplayName("Test various FSCTL constants")
        void testFsctlConstants() {
            // Test that all FSCTL constants are properly defined
            assertEquals(0x0060194, Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS);
            assertEquals(0x0011400C, Smb2IoctlRequest.FSCTL_PIPE_PEEK);
            assertEquals(0x00110018, Smb2IoctlRequest.FSCTL_PIPE_WAIT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            }
        }
    
        public void test_scroll_callbackHandling() {
            // This test verifies the scroll method exists and handles callbacks properly
            // Note: In a real test environment, this would require proper SearchEngineClient setup
            // For now, we test that the method signature is correct and can be called
    
            AtomicInteger callbackCount = new AtomicInteger(0);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        public void test_process_withPropertiesPath() throws Exception {
            // Test that properties path is properly handled
            // Create temporary properties file
            File propFile = File.createTempFile("test", ".properties");
            propFile.deleteOnExit();
            FileUtil.writeBytes(propFile.getAbsolutePath(), "test.property=value".getBytes());
    
            Crawler.Options options = new Crawler.Options();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
Back to top