Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 793 for character (0.05 seconds)

  1. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withSpecialCharacters() {
            // Test with username containing special characters
            String username = "******@****.***";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                assertEquals(longMessage, exception.getMessage());
            });
    
            // Test message with special characters
            String specialMessage = "Error: ñoñ-ASCII çhárácters & symbols!@#$%^&*()";
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(specialMessage);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

            }
    
            // Check for control characters
            for (int i = 0; i < str.length(); i++) {
                char c = str.charAt(i);
                if (c < 0x20 && c != '\t' && c != '\r' && c != '\n') {
                    failedValidations.incrementAndGet();
                    log.warn("{} contains control characters", fieldName);
                    throw new SmbException(fieldName + " contains control characters");
                }
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. helm/minio/templates/_helper_create_user.txt

    MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
    {{- else }}
    MC="/usr/bin/mc --insecure"
    {{- end }}
    
    # AccessKey and secretkey credentials file are added to prevent shell execution errors caused by special characters.
    # Special characters for example : ',",<,>,{,}
    MINIO_ACCESSKEY_SECRETKEY_TMP="/tmp/accessKey_and_secretKey_tmp"
    
    # connectToMinio
    # Use a check-sleep-check loop to wait for MinIO service to be available
    connectToMinio() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/NetbiosNameTest.java

            // NetBIOS names can be up to 15 characters
            String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" };
    
            for (String testName : testNames) {
                when(mockNetbiosName.getName()).thenReturn(testName);
                assertEquals(testName, mockNetbiosName.getName());
            }
        }
    
        @Test
        @DisplayName("Should handle special characters in names")
        void testSpecialCharacters() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. cmd/streaming-signature-v4_test.go

    		}
    		if !bytes.Equal(hexChunkSignature, tt.chunkSign) {
    			t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSign), string(hexChunkSignature))
    		}
    	}
    }
    
    // Test read CRLF characters on input reader.
    func TestReadCRLF(t *testing.T) {
    	type testCase struct {
    		reader      io.Reader
    		expectedErr error
    	}
    	tests := []testCase{
    		// Test - 1 valid buffer with CRLF.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertEquals(message, exception.getMessage());
        }
    
        @Test
        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);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/helper/ActivityHelperTest.java

            // Create a script longer than 100 characters (default max length)
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 120; i++) {
                sb.append("a");
            }
            String longScript = sb.toString();
    
            String result = activityHelper.normalizeScript(longScript);
    
            // Should be truncated to 100 characters (97 + "...")
            assertEquals(100, result.length());
    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)
  9. cmd/typed-errors.go

    var errSftpCertWithoutPrincipals = errors.New("certificates without principal(s) are not accepted")
    
    // error returned when group name contains reserved characters
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 5.9K bytes
    - Click Count (1)
  10. 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
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.3K bytes
    - Click Count (0)
Back to Top