Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for WHITESPACE (0.04 sec)

  1. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    Crawl-delay: 5.5
    Crawl-delay:
    Allow:    # empty value
    
    # Case 3: Multiple colons in directive
    User-agent: MultiColonBot
    Disallow: http://example.com:8080/path
    Allow: /path:with:colons
    
    # Case 4: Extra whitespace
    User-agent:    ExtraSpaceBot
    Disallow:     /spaced/
       Allow:   /also-spaced/
    
    # Case 5: Mixed case directives (should still work)
    UsEr-AgEnT: MixedCaseBot
    DiSaLlOw: /test1/
    AlLoW: /test2/
    CrAwL-dElAy: 2
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    - Input stream validation (not consumption)
    - Edge cases (long filenames, paths, whitespace)
    
    **Test Count**: 10 tests
    
    **Key Scenarios**:
    - ✅ Valid filename extraction
    - ✅ Null parameters handling
    - ✅ Empty/missing resource name
    - ✅ Special characters in filename (Japanese, paths)
    - ✅ Input stream not consumed (only validated)
    - ✅ Whitespace and empty string handling
    
    ---
    
    ### 3. ArchiveExtractorErrorHandlingTest.java
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_empty.txt

    # This file contains only comments and whitespace
    
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 72 bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    import static java.nio.charset.StandardCharsets.UTF_8;
    import static org.junit.Assert.assertThrows;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractorEnhancedTest.java

            final ExtractData result = filenameExtractor.getText(in, params);
    
            assertNotNull(result);
            assertEquals("", result.getContent());
        }
    
        /**
         * Test extraction with whitespace-only filename.
         */
        public void test_getText_withWhitespaceFilename() {
            final InputStream in = new ByteArrayInputStream(new byte[0]);
            final Map<String, String> params = new HashMap<>();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            assertEquals(10, item.getQueryFreq());
        }
    
        @Test
        public void test_parseSearchWordsWithExcludedWords() throws Exception {
            String[] words = new String[] { "   ", "エンジン" }; // First word is whitespace only
            String[] fields = new String[] { "content" };
    
            SuggestAnalyzer analyzer = suggester.settings().analyzer().new DefaultContentsAnalyzer();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("http://example.com:8080/path", "MultiColonBot"));
            assertTrue(robotsTxt.allows("/path:with:colons", "MultiColonBot"));
    
            // Test ExtraSpaceBot - extra whitespace should be handled
            assertFalse(robotsTxt.allows("/spaced/", "ExtraSpaceBot"));
            assertTrue(robotsTxt.allows("/also-spaced/", "ExtraSpaceBot"));
    
            // Test MixedCaseBot - mixed case directives should work
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java

            final ExtractData result = textExtractor.getText(in, null);
    
            assertNotNull(result);
            assertNotNull(result.getContent());
        }
    
        /**
         * Test extraction with whitespace-only content.
         */
        public void test_getText_whitespaceOnly_extractsAsIs() {
            final String whitespaceContent = "   \t\n\r   ";
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/xml/XmlEscapersTest.java

        assertEquals(s, xmlEscaper.escape(s));
    
        // Test ASCII control characters.
        for (char ch = 0; ch < 0x20; ch++) {
          if (ch == '\t' || ch == '\n' || ch == '\r') {
            // Only these whitespace chars are permitted in XML,
            if (shouldEscapeWhitespaceChars) {
              assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch);
            } else {
              assertUnescaped(xmlEscaper, ch);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 22:03:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/PredicatesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
Back to top