- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for Backslash (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// Pattern with single backslash (14 chars): should match String singleBackslash = "image/svg" + "\\" + "+xml"; assertEquals("Single backslash pattern should be 14 chars", 14, singleBackslash.length()); assertTrue(svgMimetype.matches(singleBackslash)); // Pattern with double backslash (15 chars): should NOT match String doubleBackslash = "image/svg" + "\\\\" + "+xml";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
assertEquals("\\test\\path\\", trans2FindFirst2.getPath()); } @Test @DisplayName("Test constructor with path ending in backslash") void testConstructorWithPathEndingInBackslash() { // Test path already ending with backslash trans2FindFirst2 = new Trans2FindFirst2(mockConfig, "\\test\\path\\", "*.doc", 0x16, 20, 2048); assertEquals("\\test\\path\\", trans2FindFirst2.getPath());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java
params.put("quotes", "text with \"quotes\""); params.put("backslash", "text\\with\\backslash"); activityHelper.print("test", OptionalThing.empty(), params); String result = localLogMsg.get(); assertTrue(result.contains("\\\"quotes\\\"")); assertTrue(result.contains("text\\\\with\\\\backslash")); } static class TestLoginCredential implements LoginCredential {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 11:45:43 GMT 2026 - 24.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
super.tearDown(testInfo); } private String getTestContent() { return "# This is a comment\n" + "test1\n" + "test2\n" + "test3\n" + "\n" + // empty line "test\\\\4\n" + // escaped backslash "test5\n"; } @Test public void test_getType() { assertEquals("protwords", protwordsFile.getType()); } @Test public void test_getPath() {
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/jcifs/smb/DirFileEntryEnumIterator1Test.java
verify(tree, times(1)).acquire(); verify(tree, times(1)).release(); // closed after failure } @Test @DisplayName("open(): invalid UNC without trailing backslash throws SmbException") void invalidUncThrows() throws Exception { // Override the default setup for this specific test when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir"); // missing trailing \\
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
monitorTarget.append(buf, "specialKey", supplier); assertEquals("\"specialKey\":\"test \\\"quotes\\\" and \\n newline\"", buf.toString()); } // Test append method with String containing backslash @Test public void test_append_stringWithBackslash() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> "path\\to\\file";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapManagerTest.java
} @Test public void test_escapeLDAPSearchFilter_withBackslash() { LdapManager ldapManager = new LdapManager(); ldapManager.init(); // Backslash should be escaped to \5c assertEquals("\\5c", ldapManager.escapeLDAPSearchFilter("\\")); assertEquals("test\\5cvalue", ldapManager.escapeLDAPSearchFilter("test\\value"));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) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
} /** * Escapes specific characters in a query string. * Replaces each specified character with its escaped version (prefixed with backslash). * * @param q the query string to escape * @param values the characters to escape * @return the escaped query string */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 12.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
return out.toString(); } /** * <p>Escapes the characters in a <code>String</code> using Java String rules.</p> * * <p>Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.) </p> * * <p>So a tab becomes the characters <code>'\\'</code> and * <code>'t'</code>.</p> * * <p>The only difference between Java strings and JavaScript stringsCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/props/MavenProperties.java
return out.toString(); } /** * <p>Escapes the characters in a <code>String</code> using Java String rules.</p> * * <p>Deals correctly with quotes and control-chars (tab, backslash, cr, ff, etc.) </p> * * <p>So a tab becomes the characters <code>'\\'</code> and * <code>'t'</code>.</p> * * <p>The only difference between Java strings and JavaScript stringsCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 09:03:48 GMT 2025 - 38.5K bytes - Click Count (0)