Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testInitialCountIsZero (0.08 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java

            // create a mock configuration that satisfies constructor requirements.
            cfgMock = mock(Configuration.class);
            resp = new SmbComWriteResponse(cfgMock);
        }
    
        @Test
        public void testInitialCountIsZero() {
            assertEquals(0, resp.getCount(), "Initial count should be zero");
        }
    
        @Test
        public void testReadParameterWordsUpdatesCount() {
            // create a buffer with count = 0x1234 (4660 decimal)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top