Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 2,660 for 2test (0.02 sec)

  1. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals(expectedMimeType, mimeMap.getMimeType(extension));
            }
    
            @Test
            @DisplayName("Should handle extensions with special characters")
            void testSpecialCharacterExtensions() throws IOException {
                // Test extensions that are definitely not in the map
                assertEquals("application/octet-stream", mimeMap.getMimeType("file.ext"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

            // Test that ContainerNotAvailableException is an instance of FessSystemException
            ContainerNotAvailableException exception = new ContainerNotAvailableException("test");
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        public void test_serialVersionUID() {
            // Test that serialVersionUID is properly defined
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java

        class CreateResponseTests {
    
            @Test
            @DisplayName("Should create correct response type")
            void testCreateResponse() {
                Smb2EchoResponse response = echoRequest.createResponse(mockContext, echoRequest);
    
                assertNotNull(response);
                assertInstanceOf(Smb2EchoResponse.class, response);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(config.getLogonShare()).thenReturn("IPC$");
    
            // Default address values
            when(address.getHostName()).thenReturn("test.host");
            when(address.getHostAddress()).thenReturn("192.168.1.100");
        }
    
        @Test
        @DisplayName("Should distinguish between pooled and non-pooled connections")
        void testPooledVsNonPooledConnections() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            final Pattern pattern = Pattern.compile("test");
            final Matcher matcher = pattern.matcher("test");
            final BiFunction<String, Matcher, String> pathMatcher = pathMappingHelper.createPathMatcher(matcher, "function:encodeUrl");
    
            String result = pathMatcher.apply("http://example.com/test path", matcher);
            assertEquals("http://example.com/test+path", result);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportInternalTest.java

                // Arbitrary behavior mapping for test purposes
                return (h && !u) || (!h && u);
            });
    
            boolean result = transport.disconnect(hard, inuse);
    
            assertEquals(expected, result);
            verify(transport, times(1)).disconnect(hard, inuse);
        }
    
        // Error case: disconnect throws IOException
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/DfsTest.java

        }
    
        @Test
        void testGetTrustedDomains_Success() throws IOException, SmbAuthException {
            // This test is complex due to static method dependencies and reflection access
            // For now, we'll test the disabled path which is safer
            testDfs.setDisabled(true);
            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  8. docs/site-replication/run-replication-with-checksum-header.sh

    sleep 120
    
    # List the objects from replicated site
    echo "Objects from replicated site"
    ./mc ls minio2/test-bucket --insecure
    count1=$(./mc ls minio2/test-bucket/obj --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/obj not replicated"
    	exit_1
    fi
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Jan 20 14:49:07 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with configuration")
            void testConstructor() {
                Smb2EchoResponse response = new Smb2EchoResponse(mockConfig);
                assertNotNull(response);
                assertEquals(mockConfig, response.getConfig());
            }
    
            @Test
            @DisplayName("Should extend ServerMessageBlock2Response")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

    import java.util.Arrays;
    import java.util.Optional;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests for {@link DosError}.  Since {@link DosError} only contains
     * constants, the tests exercise the data and small helper logic in this
     * test class.
     */
    public class DosErrorTest {
        private static Optional<Integer> findNtStatus(int dosErrorCode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top