Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 174 for dashes (1.85 sec)

  1. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        }
    
        /**
         * Test backward compatibility with standard Base64
         *
         * @throws Exception
         */
        public void testBackwardCompatibility() throws Exception {
            // These test cases ensure that the new java.util.Base64 implementation
            // produces the same output as the old custom implementation
    
            // Test case 1: Standard padding
            final byte[] data1 = "abc".getBytes();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/util/MimeMapTest.java

                assertEquals(defaultValue, mimeMap.getMimeType("notinmap", defaultValue));
            }
        }
    
        @Nested
        @DisplayName("Edge cases and special scenarios")
        class EdgeCases {
    
            @Test
            @DisplayName("Should handle multiple extensions for same mime type")
            void testMultipleExtensionsForSameMimeType() throws IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            }
    
            // Stop all change watchers
            for (String path : directoryCache.keySet()) {
                changeNotifier.stopWatching(path);
            }
    
            // Clear caches
            directoryCache.clear();
            leaseToPath.clear();
        }
    
        /**
         * Clean up expired cache entries
         */
        private void cleanupExpiredEntries() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

    import org.opensearch.transport.client.Client;
    
    /**
     * Test class for refactoring changes made to Suggester class.
     *
     * Tests cover:
     * - Index alias helper method (getIndicesForAlias)
     * - Edge cases for switchIndex with EXPECTED_INDEX_COUNT
     * - Index lifecycle with refactored methods
     */
    public class SuggesterRefactoringTest {
        static OpenSearchRunner runner;
        static Client client;
    
        @BeforeClass
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/PacLogonInfo.java

            try {
                final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
    
                // Skip firsts
                pacStream.skipBytes(20);
    
                // Dates
                this.logonTime = pacStream.readFiletime();
                this.logoffTime = pacStream.readFiletime();
                this.kickOffTime = pacStream.readFiletime();
                this.pwdLastChangeTime = pacStream.readFiletime();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

    import static org.junit.jupiter.api.Assertions.fail;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    import jcifs.smb.SmbException;
    
    /**
     * Test cases for PathValidator
     */
    public class PathValidatorTest {
    
        private PathValidator validator;
        private PathValidator strictValidator;
    
        @BeforeEach
        public void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NbtExceptionTest.java

        }
    
        /**
         * Provides arguments for the testGetErrorString parameterized test.
         * Covers all defined error classes and codes, including default cases.
         */
        private static Stream<Arguments> provideErrorClassAndCodeForGetErrorString() {
            return Stream.of(
                    // SUCCESS
                    Arguments.of(NbtException.SUCCESS, 0, "SUCCESS"),
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/RequestParamTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for {@link RequestParam} covering enum mechanics and edge cases.
     */
    @ExtendWith(MockitoExtension.class)
    public class RequestParamTest {
    
        // Happy path: values() returns all constants in declaration order
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

    /**
     * Tests for SmbRenewableCredentials interface.
     *
     * Since this file is an interface with a single method, we provide small
     * helper implementations to exercise expected interaction patterns and edge cases.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbRenewableCredentialsTest {
    
        // Simple base class to satisfy the extended CredentialsInternal contract
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                assertThrows(IOException.class, () -> {
                    throw exception;
                });
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle very long messages")
            void testVeryLongMessage() {
                StringBuilder longMessage = new StringBuilder();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top