Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 172 for dashes (0.88 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            verify(tree, atLeastOnce()).release();
        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", " ", "*", "?" })
        @DisplayName("Supports various wildcard values without throwing (edge cases)")
        void wildcardEdgeCases(String wildcard) throws Exception {
            // minimal successful first response with a single entry
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/NetbiosNameTest.java

        void testCaseSensitivity() {
            // Given
            String upperCase = "SERVER";
            String lowerCase = "server";
            String mixedCase = "Server";
    
            // Test different cases
            when(mockNetbiosName.getName()).thenReturn(upperCase);
            assertEquals(upperCase, mockNetbiosName.getName());
    
            when(mockNetbiosName.getName()).thenReturn(lowerCase);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertEquals(443, httpsPort);
                assertEquals(80, httpPort);
                assertNotEquals(httpsPort, httpPort);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle reflection access to protected method")
            void testProtectedMethodAccess() throws Exception {
                // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

        void testVariousFilenameFormats() {
            // Test UNC path
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\share"));
    
            // Test forward slashes
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "//server/share"));
    
            // Test with spaces
            assertDoesNotThrow(() -> new Trans2GetDfsReferral(mockConfig, "\\\\server\\my share\\file.txt"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java

            assertEquals(0, initialThroughput);
    
            // Add some data transfer
            channelInfo.addBytesSent(1000);
            channelInfo.addBytesReceived(2000);
    
            // Wait a bit to ensure time passes
            try {
                Thread.sleep(10);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            long throughput = channelInfo.getThroughput();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/SecureCredentialStorageTest.java

    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInstance;
    import org.junit.jupiter.api.TestInstance.Lifecycle;
    
    /**
     * Test cases for SecureCredentialStorage
     */
    @TestInstance(Lifecycle.PER_METHOD)
    public class SecureCredentialStorageTest {
    
        private SecureCredentialStorage storage;
        private char[] masterPassword;
    
        @BeforeEach
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapImage.java

     */
    public class SitemapImage implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The URL of the image.
         * In some cases, the image URL may not be on the same domain as your main site.
         */
        private String loc;
    
        /**
         * The caption of the image.
         */
        private String caption;
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

     * JAR files for data store configurations.</p>
     *
     * <p>Thread-safe operations are supported for registration and retrieval of data stores.
     * The factory caches data store names with a time-based refresh mechanism to improve
     * performance while ensuring up-to-date plugin discovery.</p>
     */
    public class DataStoreFactory {
        /** Logger instance for this factory class. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top