Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for getCredit (0.03 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

        class CreditManagementTests {
    
            @Test
            @DisplayName("Should get granted credits from credit field")
            void testGetGrantedCredits() {
                int credits = 15;
                echoResponse.setCredit(credits);
    
                assertEquals(credits, echoResponse.getGrantedCredits());
            }
        }
    
        @Nested
        @DisplayName("Error Code Tests")
        class ErrorCodeTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            public byte[] getRawPayload() {
                return rawPayload;
            }
    
            // Helper method to set credit since parent's setter is final
            public void setCreditForTest(int credit) {
                setCredit(credit);
            }
    
            @Override
            public Smb2SigningDigest getDigest() {
                return digest;
            }
    
            public void setDigest(Smb2SigningDigest digest) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
Back to top