Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 102 for Whitespace (0.09 seconds)

  1. 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)
  2. 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)
  3. 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
        @Test
        public void test_doFilter_whitespaceOriginHeader() throws IOException, ServletException {
            mockRequest.setHeader("Origin", "   ");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  4. 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)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

     *   <li><strong>RelativePath Resolution</strong>: Resolves parent POMs via relativePath for artifactId inference</li>
     * </ul>
     *
     * <h3>Format Preservation</h3>
     * <ul>
     *   <li><strong>Whitespace Preservation</strong>: Maintains original formatting when removing elements</li>
     *   <li><strong>Comment Preservation</strong>: Preserves XML comments and processing instructions</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  6. 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
        @Test
        public void test_execute_whitespaceInNotificationAddresses() {
            // Setup mock components
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/io/CharStreams.java

        }
        return sb;
      }
    
      /**
       * Reads all of the lines from a {@link Readable} object. The lines do not include
       * line-termination characters, but do include other leading and trailing whitespace.
       *
       * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link
       * Files#readLines} and {@link Resources#readLines} methods.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 13:56:24 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

            assertNotNull(lmhosts.getByName("HOST4", mockContext));
        }
    
        @Test
        void testPopulateWithWhitespace() throws Exception {
            // Create a temporary lmhosts file with various whitespace
            File lmhostsFile = tempDir.resolve("lmhosts_whitespace").toFile();
            try (FileWriter writer = new FileWriter(lmhostsFile)) {
                writer.write("192.168.1.100    HOST1    \n");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.2K bytes
    - Click Count (0)
  9. 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 com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 32.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

     * representing days, hours, minutes, or seconds respectively. (There is currently no syntax to
     * request expiration in milliseconds, microseconds, or nanoseconds.)
     *
     * <p>Whitespace before and after commas and equal signs is ignored. Keys may not be repeated; it is
     * also illegal to use the following pairs of keys in a single value:
     *
     * <ul>
     *   <li>{@code maximumSize} and {@code maximumWeight}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
Back to Top