Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for WHITESPACE (0.56 sec)

  1. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain);
    
            assertTrue(mockFilterChain.wasDoFilterCalled());
            assertFalse(corsHandlerFactory.wasGetCalled());
        }
    
        // Test with whitespace-only Origin header
        public void test_doFilter_whitespaceOriginHeader() throws IOException, ServletException {
            mockRequest.setHeader("Origin", "   ");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            assertEquals(emptyMessage, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_getMessage_withWhitespaceMessage() {
            // Test constructor with whitespace-only message
            String whitespaceMessage = "   ";
            SsoProcessException exception = new SsoProcessException(whitespaceMessage);
    
            assertEquals(whitespaceMessage, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            item.setNewInput(newSpecialInput);
            assertEquals(newSpecialInput, item.toLineString());
        }
    
        public void test_whitespaceHandling() {
            // Test with various whitespace scenarios
            ProtwordsItem item1 = new ProtwordsItem(1, "  word  ");
            assertEquals("  word  ", item1.getInput());
            assertEquals("  word  ", item1.toLineString());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. android/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 org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  6. 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
        public void test_add_whitespaceInName() {
            TestScriptEngine engine = new TestScriptEngine();
            scriptEngineFactory.add("  test  ", engine);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. 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) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
        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;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

         */
        doExtensiveTest("testdata/simplifypathnoprefixtests.txt");
      }
    
      private void doExtensiveTest(String resourceName) throws IOException {
        Splitter splitter = Splitter.on(CharMatcher.whitespace());
        URL url = getClass().getResource(resourceName);
        for (String line : Resources.readLines(url, UTF_8)) {
          Iterator<String> iterator = splitter.split(line).iterator();
          String input = iterator.next();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Execute
            String result = pingSearchEngineJob.execute();
    
            // Assert
            assertEquals("Status of test-cluster is changed to YELLOW.", result);
        }
    
        // Test with whitespace in notification addresses
        public void test_execute_whitespaceInNotificationAddresses() {
            // Setup mock components
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top