Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 63 for blank (0.03 seconds)

  1. src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java

            assertEquals(expected, ldapManager.escapeLDAPSearchFilter(input));
        }
    
        // ========================================================================
        // Tests for Defensive Null/Blank Checks
        // ========================================================================
    
        @Test
        public void test_getSAMAccountGroupName_withNullBindDn() {
            LdapManager ldapManager = new LdapManager();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java

            // Verify
            assertTrue(result.isPresent());
            assertEquals(Locale.UK, result.get());
        }
    
        // Test findBusinessLocale with blank parameter name
        @Test
        public void test_findBusinessLocale_withBlankParameterName() {
            // Setup mock config with blank parameter name
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/lang/StringUtil.java

            chars[0] = Character.toUpperCase(chars[0]);
            return new String(chars);
        }
    
        /**
         * Returns true if the string is blank.
         *
         * @param str
         *            the string to check
         * @return {@literal true} if the string is blank
         */
        public static boolean isBlank(final String str) {
            if (str == null || str.length() == 0) {
                return true;
            }
    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. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

                action.validateFilePath("");
                fail("Expected IllegalArgumentException");
            } catch (final IllegalArgumentException e) {
                assertTrue("Error message should indicate blank path: " + e.getMessage(), e.getMessage().contains("blank"));
            }
        }
    
        // ===================================================================================
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            // Test empty string (should be valid)
            bean.setCronExpression("");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test blank string (should be valid)
            bean.setCronExpression("   ");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
        }
    
        // Test validation with invalid cron expressions
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

            <!-- Parent Model                                                           -->
            <!-- ====================================================================== -->
    
            <field xdoc.separator="blank">
              <name>parent</name>
              <version>4.0.0+</version>
              <description>The location of the parent project, if one exists. Values from the parent
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 17 09:48:21 GMT 2026
    - 133.5K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

            // Should return false for any field, not throw exception
            assertFalse(queryFieldConfig.isFacetField("anyfield"));
            assertFalse(queryFieldConfig.isFacetField("category"));
            // Blank check happens before Set lookup
            assertFalse(queryFieldConfig.isFacetField(""));
        }
    
        /**
         * Test that isSortField correctly handles null sortFieldSet.
         */
        @Test
    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)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

            // Whitespace-only content should produce empty or filtered items
            // Items with blank words should be filtered
            for (SuggestItem item : items) {
                assertTrue("Items should not have blank text", item.getText().trim().length() > 0);
            }
        }
    
        @Test
        public void test_parseDocument_withLanguage() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

            responseHeaders = responseHeadersBuilder.build()
    
            if (url.isHttps) {
              val blank = source.readUtf8LineStrict()
              if (blank.isNotEmpty()) {
                throw IOException("expected \"\" but was \"$blank\"")
              }
              val cipherSuiteString = source.readUtf8LineStrict()
              val cipherSuite = CipherSuite.forJavaName(cipherSuiteString)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/PluginHelperTest.java

            try {
                testHelper.install(artifact);
                fail("Expected PluginException");
            } catch (PluginException e) {
                assertTrue(e.getMessage().contains("url is blank"));
            }
        }
    
        @Test
        public void test_install_nullUrl() {
            PluginHelper testHelper = new PluginHelper();
            Artifact artifact = new Artifact("test", "1.0.0", null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.6K bytes
    - Click Count (0)
Back to Top