- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for reflectLen (0.05 sec)
-
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
@DisplayName("Test password stored as char array") void testPasswordStoredAsCharArray() throws Exception { authenticator = new NtlmPasswordAuthenticator("DOMAIN", "username", "password123"); // Use reflection to verify password is stored as char[] Field passwordField = NtlmPasswordAuthenticator.class.getDeclaredField("password"); passwordField.setAccessible(true);
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/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
assertEquals(FessUserTimeZoneProcessProvider.centralTimeZone, providedTimeZone); } else { // Cannot test due to reflection access limitations assertTrue("Cannot access DBFluteSystem fields via reflection", true); } } public void test_processDBFluteSystem_setsTimeZoneProvider() { // When curtainBeforeHook.processDBFluteSystem();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
} @J2ktIncompatible @GwtIncompatible // reflection public static Method getSpliteratorNotImmutableCollectionAllowsAddMethod() { return Helpers.getMethod( CollectionSpliteratorTester.class, "testSpliteratorNotImmutable_collectionAllowsAdd"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getSpliteratorNotImmutableCollectionAllowsRemoveMethod() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
private static List<String> newDelegatingList(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandler(delegate)); } @SuppressWarnings("unchecked") // proxy of List<String> private static List<String> newDelegatingListWithEquals(List<String> delegate) { return Reflection.newProxy(List.class, new DelegatingInvocationHandlerWithEquals(delegate)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 02:48:50 UTC 2024 - 5.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.Function; import com.google.common.base.Throwables; import com.google.common.reflect.AbstractInvocationHandler; import com.google.common.reflect.Reflection; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.lang.reflect.AccessibleObject; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* permit them, as it seems more likely that code would depend on that behavior than on the other. * Thus, we say the bug is in add(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return getMethod(CollectionAddTester.class, "testAdd_nullSupported"); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* permit them, as it seems more likely that code would depend on that behavior than on the other. * Thus, we say the bug is in add(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return getMethod(CollectionAddTester.class, "testAdd_nullSupported"); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java
} /** * Test method for {@link jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias#MsrpcGetMembersInAlias(SamrAliasHandle, LsarSidArray)}. * Verifies that the constructor correctly initializes the object's fields using reflection for protected members. */ @Test void testConstructor() throws NoSuchFieldException, IllegalAccessException { // Create an instance of the class to be tested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/context/SingletonContextTest.java
} catch (NoSuchFieldException | IllegalAccessException e) { log.error("Failed to get SingletonContext instance via reflection", e); fail("Failed to get SingletonContext instance via reflection: " + e.getMessage()); return null; // Should not reach here } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java
* access those members directly. */ @ExtendWith(MockitoExtension.class) class SmbComLockingAndXTest { /** * Helper for setting a field via reflection. */ private static void setField(Object target, String name, Object value) { try { Field f = target.getClass().getDeclaredField(name); f.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0)