- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 319 for affect (0.05 sec)
-
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertEquals(123, newParams.get("key2")); // Verify that modifications to new instance don't affect original newParams.put("key3", "value3"); assertTrue(newParams.containsKey("key3")); assertFalse(dataStoreParams.containsKey("key3")); // Verify that modifications to original don't affect new instance dataStoreParams.put("key4", "value4");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
// Modify original array - should not affect stored password passwordChars[0] = 'X'; String retrievedPassword2 = authenticator.getPassword(); assertEquals("charArrayPassword", retrievedPassword2, "Stored password should not be affected by external changes"); } @Test public void testNullPasswordHandling() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairTest.java
// Ensure the AvPair's internal raw array is not affected (defensive copy not made) // This test assumes that the AvPair constructor does NOT make a defensive copy of the raw array. // If a defensive copy were made, this test would fail, and the behavior would be more robust. // Given the current implementation, direct modification of the passed array affects the AvPair.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DosFileFilterTest.java
verify(file, times(1)).getAttributes(); } @Test public void testAcceptIgnoresWildcard() throws Exception { // Wildcard shouldn't affect accept logic. DosFileFilter customFilter = new DosFileFilter("*.txt", SmbFile.ATTR_DIRECTORY); SmbFile file = mock(SmbFile.class); when(file.getAttributes()).thenReturn(SmbFile.ATTR_DIRECTORY);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
} // Test that changing lmCompatibility at runtime doesn't affect already loaded static value @ParameterizedTest @ValueSource(strings = { "0", "1", "2", "3", "4", "5" }) void testLmCompatibilityStaticInitialization(String lmCompatibility) { // Attempt to change the property (won't affect static final LM_COMPATIBILITY)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
assertThat(memoizedSupplier.toString()).isEqualTo("Suppliers.memoize(CountingSupplier)"); checkMemoize(countingSupplier, memoizedSupplier); // Calls to the original memoized supplier shouldn't affect its copy. Object unused = memoizedSupplier.get(); assertThat(memoizedSupplier.toString()) .isEqualTo("Suppliers.memoize(<supplier that returned 10>)");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java
item1.id = 100L; item2.id = 200L; assertEquals(100L, item1.getId()); assertEquals(200L, item2.getId()); // Verify they don't affect each other item1.id = 300L; assertEquals(300L, item1.getId()); assertEquals(200L, item2.getId()); } public void test_constructor() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
// Test with FLAGS_NO_PROPAGATE (should not affect the result) ace.flags = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_CONTAINER_INHERIT | ACE.FLAGS_NO_PROPAGATE; assertEquals("This folder, subfolders and files", ace.getApplyToText()); // Test with FLAGS_INHERITED (should not affect the result) ace.flags = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_INHERITED;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Null username should be handled gracefully assertTrue(rateLimiter.checkAttempt(null, "192.168.1.8"), "Null username should be allowed"); // Should not affect IP limiting rateLimiter.recordFailure(null, "192.168.1.8"); assertTrue(rateLimiter.checkAttempt("realuser", "192.168.1.8"), "Should still track IP"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(10, derivedBuffer.index); assertSame(ndrBuffer.deferred, derivedBuffer.deferred); // Deferred should be the same as original // Ensure changes to derived buffer don't affect original's index/start derivedBuffer.advance(5); assertEquals(15, derivedBuffer.index); assertEquals(50, ndrBuffer.index); // Original index should be unchanged } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0)