Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 333 for reflection (0.06 sec)

  1. 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)
  2. 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
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top