Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 2,422 for 2test (0.04 sec)

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

            void testIsValidTid() {
                // Test valid TID
                response.setTreeId(100);
                assertTrue(response.isValidTid(), "Positive tree ID should be valid");
    
                // Test invalid TID
                response.setTreeId(-1);
                assertFalse(response.isValidTid(), "Tree ID -1 should be invalid");
            }
    
            @Test
            @DisplayName("Should return null service for SMB2")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            }
            super.tearDown();
        }
    
        // Test basic initialization
        public void test_hookInitialization() {
            assertNotNull(apiFailureHook);
        }
    
        // Test API result status codes
        public void test_apiResultStatusCodes() {
            // Test OK status
            ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/view/admin/fileconfig/admin_fileconfig_details.jsp

                    <div class="row">
                        <div class="col-md-12">
                            <div
                                    class="card card-outline <c:if test="${crudMode == 1 || crudMode == 2}">card-success</c:if><c:if test="${crudMode == 3}">card-danger</c:if><c:if test="${crudMode == 4}">card-primary</c:if>">
                                <div class="card-header">
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 10.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbNegotiationTest.java

        }
    
        @Test
        @DisplayName("Test with large buffers")
        void testWithLargeBuffers() {
            // Test with large byte arrays
            byte[] largeRequestBuffer = new byte[1024];
            byte[] largeResponseBuffer = new byte[2048];
    
            // Fill with some test data
            for (int i = 0; i < largeRequestBuffer.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            assertTrue(result.contains(pipeName), "toString should contain pipe name");
        }
    
        @Test
        public void testMultiplePipeNames() {
            // Test with various pipe names
            String[] pipeNames = { "\\\\pipe\\test", "\\\\pipe\\PIPE\\sql\\query", "\\\\pipe\\spoolss", "\\\\pipe\\winreg" };
    
            for (String pipeName : pipeNames) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            assertEquals("mail.subject.test.prefix", FessEnv.MAIL_SUBJECT_TEST_PREFIX);
            assertEquals("mail.return.path", FessEnv.MAIL_RETURN_PATH);
        }
    
        // Test default values
        public void xtest_defaultValues() { // Disabled due to initialization issues
            // Test getLastaDiSmartDeployMode
            assertEquals("warm", fessEnv.getLastaDiSmartDeployMode());
    
            // Test getDevelopmentHere and isDevelopmentHere
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SmbInfoAllocation
     */
    class SmbInfoAllocationTest {
    
        private SmbInfoAllocation smbInfoAllocation;
    
        @BeforeEach
        void setUp() {
            smbInfoAllocation = new SmbInfoAllocation();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/transport/ResponseTest.java

        }
    
        @Test
        void testReset() {
            // Call the method
            mockResponse.reset();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).reset();
        }
    
        @Test
        void testGetException() {
            Exception testException = new RuntimeException("Test Exception");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            });
        }
    
        @Test
        @DisplayName("Test inherited behavior from parent class")
        void testInheritedBehavior() {
            // Test that response inherits from SmbComTransactionResponse
            assertTrue(response.hasMoreElements());
            assertNotNull(response.nextElement());
    
            // Test reset behavior
            response.reset();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/ResourceManagerTest.java

            assertDoesNotThrow(managed::close);
        }
    
        @Test
        @DisplayName("Test null resource registration throws exception")
        void testNullResourceRegistration() {
            assertThrows(IllegalArgumentException.class, () -> resourceManager.registerResource(null));
        }
    
        @Test
        @DisplayName("Test configuration updates")
        void testConfigurationUpdates() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top