Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,808 for constructed (0.26 sec)

  1. src/test/java/jcifs/netbios/NbtExceptionTest.java

    import jcifs.CIFSException;
    
    class NbtExceptionTest {
    
        /**
         * Test the constructor of NbtException.
         * It should correctly set errorClass and errorCode, and the message should be derived from getErrorString.
         */
        @Test
        @DisplayName("NbtException constructor should correctly set error class, error code, and message")
        void testConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/DosFileFilterTest.java

        }
    
        /**
         * Tests the constructor of DosFileFilter.
         * This test ensures that the constructor runs without errors and correctly initializes the object.
         * The wildcard parameter is stored but its filtering logic is handled server-side,
         * so we only verify its acceptance here.
         */
        @Test
        void testConstructor() {
            // The constructor should not throw any exceptions with valid inputs.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/CIFSException.java

        /**
         *
         */
        private static final long serialVersionUID = 7806460518865806784L;
    
        /**
         * Constructs a CIFS exception with no detail message.
         */
        public CIFSException() {
        }
    
        /**
         * Constructs a CIFS exception with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause of this exception
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.util.SMBUtil;
    
    public class AvTimestampTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        public void testConstructorWithRawBytes() {
            byte[] rawBytes = new byte[8];
            SMBUtil.writeInt8(1234567890L, rawBytes, 0); // Example timestamp
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

    class Smb2ConstantsTest {
    
        @Test
        @DisplayName("Should have private constructor to prevent instantiation")
        void testPrivateConstructor() throws Exception {
            // Verify constructor is private
            Constructor<Smb2Constants> constructor = Smb2Constants.class.getDeclaredConstructor();
            assertTrue(Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

        /**
         *
         */
        private static final long serialVersionUID = 4862398838709265475L;
    
        /**
         * Constructs a new SMBProtocolDecodingException with no detail message.
         */
        public SMBProtocolDecodingException() {
        }
    
        /**
         * Constructs a new SMBProtocolDecodingException with the specified detail message and cause.
         *
         * @param message the detail message
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PACDecodingException.java

    public class PACDecodingException extends CIFSException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new PAC decoding exception with no detail message.
         */
        public PACDecodingException() {
            this(null, null);
        }
    
        /**
         * Constructs a new PAC decoding exception with the specified detail message.
         * @param message the detail message
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/exception/WebApiException.java

        }
    
        /**
         * Constructs a WebApiException with the specified status code and message.
         *
         * @param statusCode The HTTP status code
         * @param message The detail message
         */
        public WebApiException(final int statusCode, final String message) {
            super(message);
            this.statusCode = statusCode;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/DefaultIntervalControllerTest.java

    /**
     * Test cases for {@link DefaultIntervalController}
     *
     * @author shinsuke
     */
    public class DefaultIntervalControllerTest extends PlainTestCase {
    
        /**
         * Test default constructor initializes with default values
         */
        public void test_defaultConstructor() {
            final DefaultIntervalController controller = new DefaultIntervalController();
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:58:39 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SIDTest.java

            assertEquals(1, sid.sub_authority[1]);
        }
    
        /**
         * Test constructor with an invalid SID string.
         */
        @Test
        void testStringConstructorInvalidFormat() {
            assertThrows(SmbException.class, () -> new SID("invalid-sid"));
            assertThrows(SmbException.class, () -> new SID("S-1"));
        }
    
        /**
         * Test constructor with a byte array.
         */
        @Test
        void testByteArrayConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top