Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testNextElement (0.21 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        @DisplayName("Test hasMoreElements")
        void testHasMoreElements() {
            assertTrue(transaction.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test nextElement method")
        void testNextElement() {
            transaction.setMaxBufferSize(4096);
            transaction.setBuffer(new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]);
            transaction.setParametersWireFormatReturn(100);
    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/internal/smb1/trans/SmbComTransactionResponseTest.java

            assertSame(mockFileEntry1, retrievedEntries[0]);
            assertSame(mockFileEntry2, retrievedEntries[1]);
        }
    
        @Test
        @DisplayName("Test nextElement method")
        void testNextElement() {
            // First call returns self
            SmbComTransactionResponse result = response.nextElement();
            assertSame(response, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            // Verify the command was decoded correctly
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand());
        }
    
        @Test
        @DisplayName("Test nextElement method")
        void testNextElement() {
            // Test the nextElement method from Enumeration interface
            SmbComTransactionResponse element = response.nextElement();
    
            // Should return itself
            assertSame(response, element);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top