Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createTestString (0.6 sec)

  1. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

        @Test
        @DisplayName("Should handle long passwords")
        void testLongPasswords() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
            String longPassword = createTestString(256); // Very long password
    
            // When/Then
            assertDoesNotThrow(() -> {
                Type3Message type3 = new Type3Message(createMockContext(), type2, null, longPassword, "DOMAIN", "user", "WORKSTATION", 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

                RuntimeCIFSException exception = new RuntimeCIFSException("");
                assertEquals("", exception.getMessage());
            });
    
            // Test long message
            String longMessage = createTestString(1000);
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException(longMessage);
                assertEquals(longMessage, exception.getMessage());
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top