- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 428 for reflection (0.1 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
@DisplayName("Test getResults returns decoded file entries") void testGetResultsReturnsDecodedEntries() throws Exception { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03); // Use reflection to set the results field Field resultsField = Smb2QueryDirectoryResponse.class.getDeclaredField("results"); resultsField.setAccessible(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/LogStreamTest.java
testStream = new PrintStream(testOutput); // Reset LogStream instance using reflection resetLogStreamInstance(); } @AfterEach void tearDown() throws Exception { // Restore original state System.setErr(originalErr); LogStream.level = originalLevel; // Reset instance using reflection resetLogStreamInstance(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
* suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} until <a * href="https://bugs.openjdk.org/browse/JDK-5045147">JDK-5045147</a> is fixed. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddAllNullUnsupportedMethod() { return getMethod(CollectionAddAllTester.class, "testAddAll_nullUnsupported"); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
* after serialization. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getInverseSameAfterSerializingMethods() { return Collections.singletonList(getMethod("testInverseSerialization")); } @J2ktIncompatible @GwtIncompatible // reflection private static Method getMethod(String methodName) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K 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 methodRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K 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 Dec 26 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java
public JapicmpTaskWithKotlin() { super(); addKotlinCompilerToJapicmpClasspath(); getMaxWorkerHeap().convention("1g"); } // it's easier to do this via reflection than to copy the whole task private void addKotlinCompilerToJapicmpClasspath() { try { Field additionalJapicmpClasspathField = JapicmpTask.class.getDeclaredField("additionalJapicmpClasspath");Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 2.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
* after serialization. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getInverseSameAfterSerializingMethods() { return Collections.singletonList(getMethod("testInverseSerialization")); } @J2ktIncompatible @GwtIncompatible // reflection private static Method getMethod(String methodName) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.1K bytes - Viewed (0)