Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 168 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java

    import org.codelibs.fess.crawler.exception.ExtractException;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class to verify proper resource management in Extractor implementations.
     * This test ensures that resources are properly closed even when exceptions occur.
     */
    public class ExtractorResourceManagementTest extends PlainTestCase {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.4K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

                assertEquals(200, enumInstance.level);
                assertNotNull(enumInstance.info);
            }
        }
    
        @Test
        @DisplayName("getEntries should properly convert DFS roots with special characters")
        void testGetEntries_specialCharacters() throws Exception {
            // Create array with special character names
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            verify(mockBuilder, times(2)).setPreference("_local");
        }
    
        /**
         * Test: filterWithHeader properly updates the internal client
         * Verifies that the returned client is properly stored
         */
        @Test
        public void testFilterWithHeaderUpdatesClient() {
            final Client mockNewClient = mock(Client.class);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        void testConstructorInitialization() {
            // Verify that the transaction is properly initialized
            assertEquals(ServerMessageBlock.SMB_COM_NT_TRANSACT, transaction.getCommand());
    
            // Verify that transaction is properly initialized
            assertNotNull(transaction);
    
            // Verify primary setup offset (should be 71 as per NTT_PRIMARY_SETUP_OFFSET)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            assertEquals(0, smbComTreeDisconnect.readBytesWireFormat(buffer, 200));
        }
    
        /**
         * Test that methods are properly overridden
         */
        @Test
        @DisplayName("Test methods are properly overridden from parent class")
        public void testMethodOverrides() throws NoSuchMethodException {
            // Given
            Class<?> clazz = SmbComTreeDisconnect.class;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top