- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 268 for Reflection (1.44 sec)
-
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
assertEquals(0, stats.getTotalChannels()); } @Test @DisplayName("createChannelTransport should fail with null addresses") void testCreateChannelTransportWithNullAddresses() { // Use reflection to access private method for testing Exception exception = assertThrows(Exception.class, () -> { java.lang.reflect.Method method =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java
shareInfoCtr1.count = 2; shareInfoCtr1.array = new srvsvc.ShareInfo1[] { shareInfo1, shareInfo2 }; // Inject the ShareInfoCtr1 using reflection Field infoField = srvsvc.ShareEnumAll.class.getDeclaredField("info"); infoField.setAccessible(true); infoField.set(msrpcShareEnum, shareInfoCtr1); // Test getEntries method
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.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) -
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) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
break; } expectUnchanged(); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableKeyMethod() { return getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableValueMethod() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
break; } expectUnchanged(); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableKeyMethod() { return getMethod(MapEntrySetTester.class, "testContainsEntryWithIncomparableKey"); } @J2ktIncompatible @GwtIncompatible // reflection public static Method getContainsEntryWithIncomparableValueMethod() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
* FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-6570575">JDK-6570575</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getListIteratorFullyModifiableMethod() { return getMethod(ListListIteratorTester.class, "testListIterator_fullyModifiable"); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
DcerpcPipeHandle handle = mock(DcerpcPipeHandle.class); // Inject the binding using reflection Field bindingField = DcerpcHandle.class.getDeclaredField("binding"); bindingField.setAccessible(true); bindingField.set(handle, mockDcerpcBinding); // Inject the CIFSContext using reflection Field tcField = DcerpcHandle.class.getDeclaredField("transportContext");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
// Verify no exception is thrown to the caller assertTrue(true); } // Test shutdownCommonsHttpClient private method with reflection public void test_shutdownCommonsHttpClient_reflection() throws Exception { // Access the private method using reflection Method shutdownMethod = FessCurtainFinallyHook.class.getDeclaredMethod("shutdownCommonsHttpClient"); shutdownMethod.setAccessible(true);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0)