Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 338 for charactersOf (0.07 sec)

  1. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            // Test with all special characters
            char[] plaintext = "!@#$%^&*()_+-=[]{}|;':\",./<>?`~\t\n\r".toCharArray();
    
            byte[] encrypted = storage.encryptCredentials(plaintext);
            char[] decrypted = storage.decryptCredentials(encrypted);
    
            assertArrayEquals(plaintext, decrypted, "Special characters should be preserved");
    
            // Clean up
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            // 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() {
            // Test with Unicode characters in message
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java

            assertEquals(message, exception.getMessage());
            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());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            assertEquals("Invalid parameter", nestedCause.getMessage());
        }
    
        public void test_messageWithSpecialCharacters() {
            // Test message with special characters
            String message = "Theme error: 日本語 & special <characters> \"quoted\" 'text'";
            ThemeException exception = new ThemeException(message);
    
            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

                generator.generate("test_id", outputFile);
                assertTrue("Should handle special characters in paths", true);
            } catch (final Exception e) {
                assertTrue("Exception handling for special characters", true);
            } finally {
                if (outputFile.exists()) {
                    outputFile.delete();
                }
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/InputValidatorTest.java

            // Test null input
            assertEquals("null", InputValidator.sanitizeForLogging(null));
    
            // Test normal string without control characters
            assertEquals("test", InputValidator.sanitizeForLogging("test"));
    
            // Test removal of control characters (they are removed, not replaced with spaces)
            assertEquals("teststring", InputValidator.sanitizeForLogging("test\0string"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        // A 4n+1 length string is never legal base64().
        assertFailsToDecode(base64(), "12345", "Invalid input length 5");
        // These have a combination of invalid length, unrecognized characters and wrong padding.
        assertFailsToDecode(base64(), "AB=C", "Unrecognized character: =");
        assertFailsToDecode(base64(), "A=BCD", "Invalid input length 5");
        assertFailsToDecode(base64(), "?", "Invalid input length 1");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertEquals(statusCode, exception.getStatusCode());
            assertEquals(message, exception.getMessage());
        }
    
        public void test_exceptionWithSpecialCharactersInMessage() {
            // Test with special characters in message
            int statusCode = 400;
            String message = "Error: \"Invalid JSON\" - {key: 'value'} \n\t@#$%^&*()";
    
            WebApiException exception = new WebApiException(statusCode, message);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/plugin/InstallForm.java

     * This class represents the form data structure for installing a plugin
     * via file upload through the admin UI.
     */
    public class InstallForm {
    
        /** Plugin identifier (required, max 400 characters) */
        @Required
        @Size(max = 400)
        public String id;
    
        /**
         * Default constructor.
         */
        public InstallForm() {
            // Default constructor
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

      }
    
      /**
       * Strip unexpected characters when converting to URI (which is more strict).
       * https://github.com/square/okhttp/issues/5667
       */
      @Test
      fun hostToUriStripsCharacters() {
        val httpUrl = "http://example\".com/".toHttpUrl()
        assertThat(httpUrl.toUri().toString()).isEqualTo("http://example.com/")
      }
    
      /** Confirm that URI retains other characters. https://github.com/square/okhttp/issues/5236 */
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top