- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 25 for rwhitespace (0.05 seconds)
-
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
// Test with whitespace around keys and values value = " key1 = value1 \n key2=value2\n"; paramMap = ParameterUtil.parse(value); assertEquals(2, paramMap.size()); assertEquals("value1", paramMap.get("key1")); assertEquals("value2", paramMap.get("key2")); // Test with empty lines and mixed whitespace value = "key1=value1\n\n\t\nkey2=value2\n \n";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 22.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
"word1\n" + " \n" + // whitespace line (may be treated as content) "# Another comment\n" + "word2\n"; // Write content to test file writeTestFile(content); // Reload and verify protwordsFile.reload(null); PagingList<ProtwordsItem> result = protwordsFile.selectList(0, 10); // Whitespace-only lines may be treated as entries
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 21.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java
public void test_buildDefaultUrl_whitespaceProperty() throws Exception { // Test that whitespace-only property falls back to default SamlAuthenticator authenticator = new SamlAuthenticator(); DynamicProperties systemProperties = ComponentUtil.getSystemProperties(); try { // Set whitespace-only base URL systemProperties.setProperty("saml.sp.base.url", " ");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 18.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertNull(exception.getCause()); } @Test public void test_constructor_withWhitespaceType() { // Test constructor with whitespace in type String type = " Bearer Token "; String message = "Whitespace in token type"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message); assertEquals(" Bearer Token ", exception.getType());
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) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
tags = PrunedTag.parse(null); assertEquals(0, tags.length); // Test whitespace only tags = PrunedTag.parse(" "); assertEquals(0, tags.length); // Test commas only tags = PrunedTag.parse(",,,"); assertEquals(0, tags.length); // Test mixed whitespace and commas tags = PrunedTag.parse(" , , , "); assertEquals(0, tags.length); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java
return redirect(getClass()); // no-op } /** * Sanitizes a filename by removing path traversal sequences and whitespace. * * @param filename the filename to sanitize * @return the sanitized filename */ public static String sanitizeFilename(final String filename) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 23 23:57:26 GMT 2026 - 5.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/ChatIntentTest.java
assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue(null)); } @Test public void test_fromValue_empty() { // Defaults to UNCLEAR when value is empty or whitespace assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("")); assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue(" ")); } @Test public void test_fromValue_unknown() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 01 08:11:18 GMT 2026 - 3.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java
RescorerBuilder<?> result = ltrQueryRescorer.evaluate(params); assertNull(result); } @Test public void test_evaluate_withWhitespaceModelName() { // Test when model name contains only whitespace ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override public String getLtrModelName() { return " "; } @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
assertEquals("", basePath); basePath = virtualHostHelper.getVirtualHostBasePath(" ", new HtmlNext("/test")); assertEquals("", basePath); // StringUtil.isBlank considers whitespace as blank } @Test public void test_getVirtualHostKey() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
item.setNewInput(newSpecialInput); assertEquals(newSpecialInput, item.toLineString()); } @Test public void test_whitespaceHandling() { // Test with various whitespace StopwordsItem item1 = new StopwordsItem(1, " "); assertEquals(" ", item1.getInput()); assertEquals(" ", item1.toLineString()); StopwordsItem item2 = new StopwordsItem(2, "\t\n\r");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.4K bytes - Click Count (0)