Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 456 for spaces (0.07 sec)

  1. src/test/java/org/codelibs/fess/entity/FessUserTest.java

            // Test with null groups
            user = new TestFessUser("testuser", new String[] {}, null, new String[] {});
            assertNull(user.getGroupNames());
    
            // Test with groups containing spaces
            groups = new String[] { "group one", "group two" };
            user = new TestFessUser("testuser", new String[] {}, groups, new String[] {});
            assertArrayEquals(groups, user.getGroupNames());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            // Test index name with special characters
            builder.setSettingsIndexName("Test-Index_Name.2024");
            assertEquals("test-index_name.2024", builder.settingsIndexName);
    
            // Test index name with spaces (should be lowercased)
            builder.setSettingsIndexName("Test Index Name");
            assertEquals("test index name", builder.settingsIndexName);
        }
    
        @Test
        public void testVariousTimeoutFormats() {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/PathValidator.java

                }
    
                // Check for trailing spaces or periods (Windows doesn't handle well)
                if (component.endsWith(" ") || component.endsWith(".")) {
                    throw new SmbException("Path component has trailing space or period: " + component);
                }
            }
        }
    
        /**
         * Validate host name
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/ACETest.java

            assertTrue(result.startsWith("Allow "));
            // Hexdump.toHexString produces uppercase hex
            assertTrue(result.toLowerCase().contains("0x001200a9"));
            // ACE.toString() outputs "Direct    " with 4 spaces
            assertTrue(result.contains("Direct"));
            assertTrue(result.contains("This folder only"));
        }
    
        @Test
        @DisplayName("Test toString format for deny ACE")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            return ComponentUtil.getDocumentHelper().encodeSimilarDocHash(input);
        }
    
        /**
         * Joins array or list elements into a single space-separated string.
         *
         * @param input the input object (String[], List, or String)
         * @return joined string with elements separated by spaces, or empty string if invalid input
         */
        public static String join(final Object input) {
            String[] values = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  6. src/test/java/jcifs/FileNotifyInformationTest.java

            }
    
            @ParameterizedTest
            @CsvSource({ "file.txt", "document.doc", "image.png", "folder/subfolder/file.txt", "C:\\Windows\\System32\\config.sys",
                    "/usr/local/bin/app", "file with spaces.txt", "''" // empty string
            })
            @DisplayName("Test getFileName with various file names")
            void testGetFileNameWithVariousValues(String fileName) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertTrue(result.contains("pipeName=null"));
        }
    
        @ParameterizedTest
        @NullAndEmptySource
        @ValueSource(strings = { "\\PIPE\\test", "testpipe", "\\\\server\\pipe\\test", " ", "pipe with spaces" })
        @DisplayName("toString should handle various pipe names")
        void testToStringWithVariousPipeNames(String pipeName) {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

        }
    
        @ParameterizedTest
        @ValueSource(strings = { "", "a", "test.txt", "very_long_filename_that_exceeds_normal_length_limits_and_tests_buffer_handling.txt",
                "file with spaces.txt", "file*with?wildcards.txt", "../relative/path/file.txt", "C:\\absolute\\path\\file.txt" })
        void testFilenameHandling(String filename) {
            // Test various filename formats
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            return fessConfig.isCrawlerDocumentDuplicateTermRemoved();
        }
    
        /**
         * Gets the array of space character codes from configuration.
         *
         * @return array of character codes to be treated as spaces
         */
        protected int[] getSpaceChars() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java

                return "https://hooks.slack.com/services/test";
            }
    
            @Override
            public String getGoogleChatWebhookUrls() {
                return "https://chat.googleapis.com/v1/spaces/test/messages?key=test";
            }
        }
    
        private static class MockSMailPostingDiscloser implements SMailPostingDiscloser {
            private String subject;
            private String plainText;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top