Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,878 for constructor (0.14 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                try {
                    TestIterator.create(tree, parent, "*", null, 0, entry("first"), pages);
                } finally {
                    TestIterator.staticThrowOnOpen = false; // Reset flag
                }
            });
            assertEquals("open fail", ex.getMessage());
            verify(tree, times(1)).release(); // closed on constructor failure
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java

            assertEquals(name, request.getRemoteUser());
            verify(mockPrincipal, times(1)).getName();
        }
    
        @Test
        @DisplayName("constructor accepts null principal")
        void testConstructorWithNullPrincipal(@Mock HttpServletRequest mockRequest) {
            // Constructor accepts null principal without throwing exception
            NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            // Test constructor with null message
            CommandExecutionException exception = new CommandExecutionException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/PacUnicodeStringTest.java

            assertEquals(length, pacString.getLength(), "The length should match the value provided in the constructor.");
            assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor.");
            assertEquals(pointer, pacString.getPointer(), "The pointer should match the value provided in the constructor.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/model/FunctionalTestBucketModel.kt

        val subprojects: SortedSet<String>,
        val parallelizationMethod: ParallelizationMethod,
    ) {
        constructor(subprojectList: List<String>, parallelizationMethod: ParallelizationMethod) : this(
            subprojectList.toSortedSet(),
            parallelizationMethod,
        )
    
        constructor(jsonObject: Map<String, Any>) : this(
            (jsonObject["subprojects"] as List<*>).map { it.toString() },
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu Apr 10 15:09:32 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

        }
    
        /**
         * LSA Quality of Service information.
         */
        public static class LsarQosInfo extends NdrObject {
    
            /**
             * Default constructor for LsarQosInfo.
             */
            public LsarQosInfo() {
                // Default constructor
            }
    
            /** Length of the QoS information. */
            public int length;
            /** Security impersonation level. */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

            // Assert
            assertSame(handle, got, "getHandle should expose the same instance passed to constructor");
        }
    
        @Test
        @DisplayName("close does nothing and does not touch handle")
        void close_doesNothing() throws Exception {
            // Arrange
            SmbPipeOutputStream out = newStream();
            // constructor already calls handle.getPipe(); clear interactions to focus on close()
            clearInvocations(handle);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java

        }
    
        /**
         * Test constructor DcerpcException(String msg).
         */
        @Test
        void testConstructorWithMessage() {
            String message = "Test message for DcerpcException.";
            DcerpcException exception = new DcerpcException(message);
    
            assertEquals(0, exception.getErrorCode(), "Error code should be 0 for message-only constructor.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

        @BeforeEach
        void setUp() {
            // Reset mocks before each test
            reset(mockHandle);
        }
    
        @Test
        void testConstructor_SuccessfulConnect4() throws IOException {
            // Test case: Constructor with successful MsrpcSamrConnect4
            String server = "testServer";
            int access = 123;
    
            // No exception thrown by sendrecv for MsrpcSamrConnect4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key and bypass flag")
        void testConstructorWithBypass() {
            SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true);
            assertNotNull(digest);
            assertTrue(digest.toString().contains("MacSigningKey="));
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top