Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for constructorTest (0.27 sec)

  1. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

            final ConstructorDesc constructorDesc = getSuitableConstructorDesc(args);
            return constructorDesc.newInstance(args);
        }
    
        @Override
        public ConstructorDesc getConstructorDesc(final Class<?>... paramTypes) {
            for (final ConstructorDesc constructorDesc : constructorDescs) {
                if (Arrays.equals(paramTypes, constructorDesc.getParameterTypes())) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

        void setUp() {
            response = new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with SMB_QUERY_FILE_BASIC_INFO level")
            void testConstructorWithBasicInfo() throws Exception {
                Trans2QueryPathInformationResponse resp =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

    @ExtendWith(MockitoExtension.class)
    @DisplayName("NdrShort Test Suite")
    class NdrShortTest {
    
        @Mock
        private NdrBuffer mockBuffer;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @ParameterizedTest
            @DisplayName("Should mask input values with 0xFF correctly")
            @ValueSource(ints = { 0, 1, 127, 128, 255, 256, -1, -128, -255, -256, 32767, -32768, 65535, 65536 })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

        private Smb2Lock lock;
        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[128];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create lock with valid parameters")
            void testConstructorWithValidParameters() {
                long offset = 1024L;
                long length = 2048L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Smb2WriteResponse(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with configuration")
            void testConstructor() {
                Smb2WriteResponse writeResponse = new Smb2WriteResponse(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

    class SrvCopychunkTest {
    
        private static final int EXPECTED_SIZE = 24;
        private static final int RESERVED_BYTES = 4;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with valid parameters")
            void testConstructorWithValidParameters() {
                // Given
                long sourceOffset = 1024L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

        private byte[] buffer;
    
        @BeforeEach
        void setUp() {
            buffer = new byte[BUFFER_SIZE];
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with Configuration and ciphers")
            void testConstructorWithConfigAndCiphers() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequest = new TestServerMessageBlock2Request(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create request with configuration only")
            void testConstructorWithConfig() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

        void setUp() {
            MockitoAnnotations.openMocks(this);
            response = new Trans2GetDfsReferralResponse(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor and Initialization Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should initialize with correct configuration")
            void testConstructorInitialization() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for TransportException class
     */
    public class TransportExceptionTest {
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create exception with no arguments")
            void testDefaultConstructor() {
                TransportException exception = new TransportException();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top