- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 264 for reflectLen (0.08 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
// Test getInfo with compatible class response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Simulate setting info using reflection SmbInfoAllocation allocation = new SmbInfoAllocation(); setInfoField(response, allocation); SmbInfoAllocation result = response.getInfo(SmbInfoAllocation.class); assertNotNull(result);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
README.md
- **I/O Operations** (`org.codelibs.core.io`) - File handling, resource management, stream utilities, and traversal utilities for efficient resource processing - **Reflection** (`org.codelibs.core.lang`) - Class loading, method/field access, type introspection utilities, and generics support
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
assertSame(originalResponseBuffer, negotiation.getResponseRaw()); } @Test @DisplayName("Test buffer modifications are reflected") void testBufferModifications() { // Since the class returns the same array reference, modifications will be reflected byte[] requestBuffer = negotiation.getRequestRaw(); byte[] responseBuffer = negotiation.getResponseRaw(); // Modify the buffers
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
testSids = new jcifs.SID[] { mockSid1, mockSid2 }; // Act lookupSids = new MsrpcLookupSids(mockPolicyHandle, testSids); // Assert using reflection to verify superclass fields Field handleField = lsarpc.LsarLookupSids.class.getDeclaredField("handle"); handleField.setAccessible(true); assertSame(mockPolicyHandle, handleField.get(lookupSids));
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.6K bytes - Click Count (0) -
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 =
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4K bytes - Click Count (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);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (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(); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.3K bytes - Click Count (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"); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.9K bytes - Click Count (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) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.1K bytes - Click Count (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 methodCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.1K bytes - Click Count (0)