Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testImmutability (1.22 sec)

  1. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertEquals(2048, negotiationWithLargeBuffers.getResponseRaw().length);
        }
    
        @Test
        @DisplayName("Fields should be immutable after construction")
        void testImmutability() {
            // Get references to the objects
            SmbNegotiationRequest originalRequest = negotiation.getRequest();
            SmbNegotiationResponse originalResponse = negotiation.getResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

            }, "Should accept different key sizes");
        }
    
        @Test
        @DisplayName("Should be immutable after creation")
        void testImmutability() {
            // Given
            int originalCipherId = encryptionContext.getCipherId();
            DialectVersion originalDialect = encryptionContext.getDialect();
    
            // When - Modify the original key array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String expected = "[special[]param, [[value], ,comma,, quote\"test]]";
            assertEquals(expected, param.toString());
        }
    
        public void test_immutability() {
            // Test that modifying the original values array doesn't affect the parameter
            String name = "immutableParam";
            String[] originalValues = { "original1", "original2" };
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
Back to top