Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 573 for isInvalid (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            SmbNegotiationRequest request = mock(SmbNegotiationRequest.class);
            when(request.isSigningEnforced()).thenReturn(true);
            response.getServerData().signaturesEnabled = true;
    
            assertTrue(response.isValid(mockContext, request));
            assertTrue(response.isSigningNegotiated());
            assertTrue((response.getNegotiatedFlags2() & SmbConstants.FLAGS2_SECURITY_SIGNATURES) != 0);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb/WinError.java

        int ERROR_SUCCESS = 0;
        /** Access is denied */
        int ERROR_ACCESS_DENIED = 5;
        /** No more connections can be made to this remote computer */
        int ERROR_REQ_NOT_ACCEP = 71;
        /** The pipe state is invalid */
        int ERROR_BAD_PIPE = 230;
        /** All pipe instances are busy */
        int ERROR_PIPE_BUSY = 231;
        /** The pipe is being closed */
        int ERROR_NO_DATA = 232;
        /** No process is on the other end of the pipe */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/WinError.java

        int ERROR_SUCCESS = 0;
        /** Access is denied */
        int ERROR_ACCESS_DENIED = 5;
        /** No more connections can be made to this remote computer */
        int ERROR_REQ_NOT_ACCEP = 71;
        /** The pipe state is invalid */
        int ERROR_BAD_PIPE = 230;
        /** All pipe instances are busy */
        int ERROR_PIPE_BUSY = 231;
        /** The pipe is being closed */
        int ERROR_NO_DATA = 232;
        /** No process is on the other end of the pipe */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top