Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 550 for INVALID (0.05 sec)

  1. src/test/java/jcifs/SmbFileHandleTest.java

            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
         * Test isValid() when the handle is invalid.
         */
        @Test
        void testIsValid_whenInvalid() {
            when(smbFileHandle.isValid()).thenReturn(false);
            assertFalse(smbFileHandle.isValid(), "isValid should return false when the handle is invalid.");
            verify(smbFileHandle, times(1)).isValid();
        }
    
        /**
         * Test close(long) successfully.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23),
                    "Should throw exception when length < 24");
    
            assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match");
        }
    
        @Test
        @DisplayName("Test decode throws exception with zero length")
        void testDecodeThrowsExceptionWithZeroLength() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 4, 6, 99 })
        @DisplayName("seq ctor: invalid pvno values throw")
        void sequenceConstructor_invalidVersion_throws(int badPvno) throws Exception {
            // Arrange: Build sequence with invalid version and otherwise valid tags
            ASN1EncodableVector v = new ASN1EncodableVector();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                            "Expected trailing slash message, was: " + ex.getMessage());
                } else {
                    assertTrue(ex.getMessage().contains("invalid") || ex.getMessage().contains("invalid:"),
                            "Expected invalid list operation message, was: " + ex.getMessage());
                }
            }
        }
    
        @Nested
        @DisplayName("Master browser enumeration tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

        public void test_constructor_withTypeAndMessage() {
            // Test constructor with type and message
            String type = "Bearer";
            String message = "Invalid access token provided";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals(type, exception.getType());
            assertEquals(message, exception.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            // A null byte array should cause a PACDecodingException.
            PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacCredentialType(null));
            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the constructor with a byte array that is too large.
         */
        @Test
        void testConstructorWithDataTooLarge() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

                assertNull(entry.name.buffer);
            }
    
            @Test
            @DisplayName("Should throw exception for invalid conformance")
            void testDecodeInvalidConformance() throws NdrException {
                // Given: Mocked buffer data with invalid conformance
                samr.SamrSamEntry entry = new samr.SamrSamEntry();
                when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

         * @return an array containing [hour, minute]
         * @throws FessSystemException if the time format is invalid
         */
        protected static int[] parseTime(final String time) {
            final String[] froms = time.split(":");
            if (froms.length != 2) {
                throw new FessSystemException("Invalid format: " + time);
            }
            final int[] values = new int[2];
            values[0] = Integer.parseInt(froms[0]);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            // Create a path that's guaranteed to be invalid
            final File invalidParent = System.getProperty("os.name", "linux").toLowerCase().startsWith("windows")
                    ? new File("Q:\\invalid\\path\\that\\does\\not\\exist")
                    : new File("/invalid/path/that/does/not/exist");
            final File outputFile = new File(invalidParent, "output.txt");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/LdapConfigurationException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * An exception thrown when LDAP configuration is invalid.
     */
    public class LdapConfigurationException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top