- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 527 for reflector (0.06 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.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 set(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getSetNullSupportedMethod() { return getMethod(ListSetTester.class, "testSet_null"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
} /** * Helper method to get private field value using reflection. * Searches the class hierarchy to find the field. */ private Object getField(Object obj, String fieldName) throws Exception { Class<?> clazz = obj.getClass(); while (clazz != null) { try { java.lang.reflect.Field field = clazz.getDeclaredField(fieldName);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(negotiationResponse.isSigningNegotiated()).thenReturn(false); when(negotiationResponse.canReuse(any(CIFSContext.class), anyBoolean())).thenReturn(true); // Use reflection to set the negotiated response Field negotiatedField = SmbTransportImpl.class.getDeclaredField("negotiated"); negotiatedField.setAccessible(true); negotiatedField.set(initial, negotiationResponse);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
// Assert assertSame(mocked, ex.getCause(), "Mocked cause should be preserved"); verifyNoInteractions(mocked); } // Reflection-based check: ensure serialVersionUID remains the declared constant @Test @DisplayName("serialVersionUID matches declared constant") void serialVersionUID_hasExpectedValue() throws Exception { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.File; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.logging.Level; import java.util.logging.Logger; import org.codelibs.curl.Curl.Method; import org.junit.Test; public class CurlTest {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
Trans2QueryPathInformationResponse resp = new Trans2QueryPathInformationResponse(Trans2QueryPathInformationResponse.SMB_QUERY_FILE_BASIC_INFO); // Use reflection to verify the information level Field infoLevel = Trans2QueryPathInformationResponse.class.getDeclaredField("informationLevel"); infoLevel.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
* FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getPutNullKeyUnsupportedMethod() { return getMethod(MapPutTester.class, "testPut_nullKeyUnsupported"); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
/** * Returns {@link Method} instances for the tests that assume multisets support duplicates so that * the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getIteratorDuplicateInitializingMethods() { return asList( getMethod(MultisetIteratorTester.class, "testIteratorKnownOrder"),Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
} @Test @DisplayName("Should return correct TID from TreeConnectResponse interface") void testGetTid() throws Exception { // Given - set tree ID using reflection Method setTreeIdMethod = ServerMessageBlock2.class.getDeclaredMethod("setTreeId", int.class); setTreeIdMethod.setAccessible(true); setTreeIdMethod.invoke(response, 12345); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
* hashCode()} on the set values so that set tests on unhashable objects can suppress it with * {@code FeatureSpecificTestSuiteBuilder.suppressing()}. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method[] getHashCodeMethods() { return new Method[] { getMethod(SetHashCodeTester.class, "testHashCode"), getMethod(SetHashCodeTester.class, "testHashCode_containingNull") }; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (0)