Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for testpipe (0.03 sec)

  1. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

            byte[] buffer = new byte[100];
    
            int consumed = pipe.readParametersWireFormat(buffer, 0, 10);
            assertEquals(0, consumed, "readParametersWireFormat should return 0");
        }
    
        @Test
        public void testReadDataWireFormat() {
            // Test that readDataWireFormat returns 0
            TransWaitNamedPipe pipe = new TransWaitNamedPipe("\\\\pipe\\testPipe");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

    class FsctlPipeWaitRequestTest {
    
        @Test
        @DisplayName("Test constructor with name only sets correct fields")
        void testConstructorWithNameOnly() {
            // Test with simple pipe name
            String pipeName = "TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    
            // Verify size calculation
            int expectedSize = 14 + pipeName.getBytes(StandardCharsets.UTF_16LE).length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java

        void testVariousPipeNameFormats() {
            // Test various pipe name formats
            String[] pipeNames =
                    { "\\\\server\\PIPE\\testpipe", "\\PIPE\\LANMAN", "\\PIPE\\srvsvc", "\\PIPE\\wkssvc", "PIPE\\test", "testpipe" };
    
            for (String pipeName : pipeNames) {
                // Act
                TransWaitNamedPipe trans = new TransWaitNamedPipe(mockConfig, pipeName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

    class TransPeekNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TransPeekNamedPipe transPeekNamedPipe;
        private static final String TEST_PIPE_NAME = "\\PIPE\\testpipe";
        private static final int TEST_FID = 0x1234;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

     */
    class TransCallNamedPipeTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TransCallNamedPipe transCallNamedPipe;
        private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe";
        private static final byte[] TEST_DATA = "Test pipe data".getBytes();
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            long testTime = System.currentTimeMillis();
    
            // Set specific values
            SMBUtil.writeInt4(100, buffer, 0); // nextEntryOffset
            SMBUtil.writeInt4(200, buffer, 4); // fileIndex
            SMBUtil.writeTime(testTime, buffer, 8); // creationTime
            SMBUtil.writeTime(testTime, buffer, 16); // lastAccessTime
            SMBUtil.writeTime(testTime, buffer, 24); // lastWriteTime
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            // Create StopwordsFile instance
            stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            stopwordsFile.manager(dictionaryManager);
        }
    
        @Override
        public void tearDown() throws Exception {
            if (testFile != null && testFile.exists()) {
                testFile.delete();
            }
            super.tearDown();
        }
    
        private String getTestContent() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(-SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601, time);
    
            // Test with specific time value
            long testTime = 131768928000000000L; // Example Windows file time
            SMBUtil.writeInt8(testTime, src, 8);
            long readTime = SMBUtil.readTime(src, 8);
            assertEquals((testTime / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601), readTime);
        }
    
        @Test
        void testWriteTime() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                // Write test values
                long testTime = System.currentTimeMillis() * 10000L + 116444736000000000L;
                SMBUtil.writeInt8(testTime, buffer, offset + 8);
                SMBUtil.writeInt8(testTime + 1000, buffer, offset + 16);
                SMBUtil.writeInt8(testTime + 2000, buffer, offset + 24);
                SMBUtil.writeInt8(testTime + 3000, buffer, offset + 32);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Initialize ProtwordsFile
            protwordsFile = new ProtwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            protwordsFile.manager(dictionaryManager);
        }
    
        @Override
        public void tearDown() throws Exception {
            if (testFile != null && testFile.exists()) {
                testFile.delete();
            }
            super.tearDown();
        }
    
        private String getTestContent() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
Back to top