Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 82 for Whitespace (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/util/StringUtilTest.java

        void testJoinSingleNullElement() {
            String result = StringUtil.join(",", (CharSequence) null);
            assertEquals("null", result);
        }
    
        @Test
        @DisplayName("Should handle whitespace delimiter")
        void testJoinWithWhitespaceDelimiter() {
            String result = StringUtil.join("   ", "spaced", "out");
            assertEquals("spaced   out", result);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            assertNull(result, "getAnchorSet should return null for blank string");
    
            result = crawlerThread.getAnchorSet("   ");
            assertNull(result, "getAnchorSet should return null for whitespace string");
        }
    
        /**
         * Test getAnchorSet with list of URLs
         */
        @Test
        public void test_getAnchorSet_withList() {
            FessCrawlerThread crawlerThread = new FessCrawlerThread();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

            while (st.hasMoreElements()) {
                list.add(st.nextElement().toString());
            }
            return list.toArray(new String[list.size()]);
        }
    
        /**
         * Removes whitespace from the left side of the string.
         *
         * @param text
         *            The text to trim
         * @return The resulting string
         */
        public static final String ltrim(final String text) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/Files.java

          }
        }
      }
    
      /**
       * Reads the first line from a file. The line does not include line-termination characters, but
       * does include other leading and trailing whitespace.
       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            item.setNewInput(newSpecialInput);
            assertEquals(newSpecialInput, item.toLineString());
        }
    
        @Test
        public void test_whitespaceHandling() {
            // Test with various whitespace scenarios
            ProtwordsItem item1 = new ProtwordsItem(1, "  word  ");
            assertEquals("  word  ", item1.getInput());
            assertEquals("  word  ", item1.toLineString());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(emptyMessage, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_getMessage_withWhitespaceMessage() {
            // Test constructor with whitespace-only message
            String whitespaceMessage = "   ";
            SsoProcessException exception = new SsoProcessException(whitespaceMessage);
    
            assertEquals(whitespaceMessage, exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

    import static com.google.common.base.CharMatcher.is;
    import static com.google.common.base.CharMatcher.isNot;
    import static com.google.common.base.CharMatcher.noneOf;
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("test-engine.v1");
            assertNotNull(retrieved);
            assertEquals(engine, retrieved);
        }
    
        // Test add with whitespace in name
        @Test
        public void test_add_whitespaceInName() {
            TestScriptEngine engine = new TestScriptEngine();
            scriptEngineFactory.add("  test  ", engine);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        @Test
        public void test_execute_withWhitespaceContext() {
            // Test execute with whitespace query string context
            QueryContext context = new QueryContext("   ", false);
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = 1.0f;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

            // Blank fields are handled before Set lookup
            assertFalse(queryFieldConfig.isFacetField(""));
            assertFalse(queryFieldConfig.isFacetField(null));
            assertFalse(queryFieldConfig.isFacetField("   ")); // Whitespace only
        }
    
        /**
         * Test that updating fields via setter updates both array and Set.
         */
        @Test
        public void test_updateFields_updatesSetAndArray() {
            // Initial setup
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
Back to Top