Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pipeType (0.04 sec)

  1. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        }
    
        @Test
        void testGetPipe_MalformedURLException() {
            // Test getPipe(String url, int pipeType) with a malformed URL
            String malformedUrl = "invalid-pipe-url";
            int pipeType = 1;
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                cifsContextWrapper.getPipe(malformedUrl, pipeType);
            });
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/context/BaseContextTest.java

            // Test different pipe types
            int[] pipeTypes = { 0, 1, 2 };
    
            for (int pipeType : pipeTypes) {
                // When
                SmbPipeResource pipe = context.getPipe("smb://server/IPC$/pipe", pipeType);
    
                // Then
                assertNotNull(pipe, "Should create pipe resource for type: " + pipeType);
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        @BeforeEach
        void setUp() {
            lenient().when(tree.getConfig()).thenReturn(config);
        }
    
        private SmbPipeHandleImpl newHandleWithBasicStubs(int pipeType, String unc) {
            when(pipe.getPipeType()).thenReturn(pipeType);
            when(pipe.getUncPath()).thenReturn(unc);
            return new SmbPipeHandleImpl(pipe);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top