- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for testImmutability (0.06 seconds)
-
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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
String expected = "[special[]param, [[value], ,comma,, quote\"test]]"; assertEquals(expected, param.toString()); } @Test public void test_immutability() { // Test that modifying the original values array doesn't affect the parameter String name = "immutableParam"; String[] originalValues = { "original1", "original2" };Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0)