- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 115 for Chars (0.02 sec)
-
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
} public void test_specialCharactersInMessage() { // Test with special characters in message String message = "LDAP error: \n\t\r Special chars: @#$%^&*(){}[]|\\:;\"'<>,.?/~`"; LdapOperationException exception = new LdapOperationException(message); assertEquals(message, exception.getMessage()); } public void test_unicodeMessage() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
assertNull(exception.getCause()); } public void test_withSpecialCharactersInMessage() { // Test with special characters in message String message = "Error with special chars: \n\t\r\"'<>&"; ScriptEngineException exception = new ScriptEngineException(message); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
@Test @DisplayName("Test size calculation with short filename") void testSizeWithShortFilename() { FileRenameInformation2 info = new FileRenameInformation2("test.txt", false); // 20 bytes fixed + 2 * 8 chars = 20 + 16 = 36 assertEquals(36, info.size()); } @Test @DisplayName("Test size calculation with long filename") void testSizeWithLongFilename() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
// Expected exception assertNotNull(e); } } // Test special characters in property values public void test_get_specialCharacters() { String testKey = "special.chars"; String specialValue = "!@#$%^&*()_+-=[]{}|;':\",./<>?"; System.setProperty(Constants.FESS_CONFIG_PREFIX + testKey, specialValue); try { String value = fessConfig.get(testKey);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
*/ public PercentEscaper(String safeChars, boolean plusForSpace) { // TODO(dbeaumont): Switch to static factory methods for creation now that class is final. // TODO(dbeaumont): Support escapers where alphanumeric chars are not safe. checkNotNull(safeChars); // eager for GWT. // Avoid any misunderstandings about the behavior of this escaper if (safeChars.matches(".*[0-9A-Za-z].*")) { throw new IllegalArgumentException(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
StringBuilder builder = new StringBuilder("abc"); List<Character> chars = charactersOf(builder); assertEquals(asList('a', 'b', 'c'), chars); builder.append("def"); assertEquals(asList('a', 'b', 'c', 'd', 'e', 'f'), chars); builder.deleteCharAt(5); assertEquals(asList('a', 'b', 'c', 'd', 'e'), chars); } public void testNewArrayListEmpty() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 35.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
assertTrue(exception.getMessage().length() > 10000); } public void test_specialCharactersInMessage() { // Test special characters in message String message = "Special chars: \n\t\r\"'<>&{}[]()!@#$%^&*"; SearchQueryException exception = new SearchQueryException(message); assertEquals(message, exception.getMessage()); } public void test_unicodeInMessage() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
int utf8Length = utf16Length; int i = 0; // This loop optimizes for pure ASCII. while (i < utf16Length && sequence.charAt(i) < 0x80) { i++; } // This loop optimizes for chars less than 0x800. for (; i < utf16Length; i++) { char c = sequence.charAt(i); if (c < 0x800) { utf8Length += (0x7f - c) >>> 31; // branch free! } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
} public void test_messageWithSpecialCharacters() { // Setup final String message = "Error: Failed to authenticate user <******@****.***> with special chars: #$%&*()!@"; final VaMessenger<FessMessages> messageCode = messages -> messages.addErrorsSsoLoginError(UserMessages.GLOBAL_PROPERTY_KEY); final Exception cause = new RuntimeException("Special cause: \n\t\r");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} @Test @DisplayName("Should handle special characters in message") void testSpecialCharactersInMessage() { String message = "Error: \n\t\r\\ \"special\" 'chars' @#$%^&*()"; TransportException exception = new TransportException(message); assertEquals(message, exception.getMessage()); assertNotNull(exception.toString()); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0)