Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testMaximumPathLength (1.01 sec)

  1. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum path length")
            void testMaximumPathLength() {
                // Create a very long path (but not too long to cause memory issues)
                StringBuilder sb = new StringBuilder("\\\\server");
                for (int i = 0; i < 1000; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            int flags = (int) treeFlagsField.get(req);
            assertEquals(0, flags);
        }
    
        @Test
        @DisplayName("Should handle maximum path length")
        void testMaximumPathLength() throws Exception {
            // Given - Create a very long path
            StringBuilder longPathBuilder = new StringBuilder("\\\\server\\");
            for (int i = 0; i < 1000; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top