Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,248 for Invalid (0.36 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatInvalidSize() {
                byte[] buffer = new byte[1024];
                int bufferIndex = 100;
    
                // Write invalid structure size = 8
                SMBUtil.writeInt2(8, buffer, bufferIndex);
    
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          assertErrorMessage(e, notEqualObject1 + " [group 1, item 2]");
          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test for an invalid hashCode method, i.e., one that returns different value for objects that
       * are equal according to the equals method
       */
      public void testInvalidHashCode() {
        Object a = new InvalidHashCodeObject(1, 2);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

        public void test_constructor_withMessageAndCause() {
            // Test constructor with message and Exception cause
            String message = "SSO token validation error";
            Exception cause = new RuntimeException("Invalid token format");
            SsoProcessException exception = new SsoProcessException(message, cause);
    
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java

                    .orElseThrow(() -> new SsoMessageException(
                            messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, "Invalid state."),
                            "Failed to process metadata.", new SsoProcessException("Invalid state.")));
        }
    
        /**
         * Gets the logout response.
         * @return The logout response.
         */
        protected ActionResponse getLogoutResponse() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  5. cmd/utils_test.go

    		t.Fatal("Expected a non nil error, but nil error returned for invalid profiler.")
    	}
    }
    
    // checkURL - checks if passed address correspond
    func checkURL(urlStr string) (*url.URL, error) {
    	if urlStr == "" {
    		return nil, errors.New("Address cannot be empty")
    	}
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		return nil, fmt.Errorf("`%s` invalid: %s", urlStr, err.Error())
    	}
    	return u, nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

            Iterables.concat(INVALID_NAME, VALID_IP_ADDRS, INVALID_IP_ADDRS);
    
        for (String valid : validCases) {
          assertTrue(valid, InternetDomainName.isValid(valid));
        }
    
        for (String invalid : invalidCases) {
          assertFalse(invalid, InternetDomainName.isValid(invalid));
        }
      }
    
      public void testToString() {
        for (String inputName : SOMEWHERE_UNDER_PS) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

        }
    
        public void test_multipleNestedExceptions() {
            // Test with multiple nested exceptions
            Exception innerCause = new IllegalArgumentException("Invalid image format");
            Exception middleCause = new RuntimeException("Processing failed", innerCause);
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Thumbnail generation error", middleCause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    	if bytesBuffer.String() != "The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed." {
    		t.Errorf("%s: Invalid upload ID error mismatch.", instanceType)
    	}
    }
    
    // Wrapper for calling testNonExistentBucketOperations for both Erasure and FS.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadInvalidStructureSize() {
                // Create buffer with invalid structure size
                byte[] buffer = new byte[64];
                SMBUtil.writeInt2(23, buffer, 0); // Invalid size (should be 24)
    
                SMBProtocolDecodingException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DosError.java

                "The client does not have the necessary access rights to perform the requested function.", "Access is denied.",
                "The TID specified was invalid.", "The handle is invalid.", "The network name cannot be found.",
                "Not enough storage is available to process this command.", "The media is write protected.", "The device is not ready.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top