Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 318 for reflection (0.93 sec)

  1. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

            FessConfig.SimpleImpl fessConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                {
                    // Force initialize the ObjectiveConfig's prop field using reflection
                    try {
                        java.lang.reflect.Field propField = org.lastaflute.core.direction.ObjectiveConfig.class.getDeclaredField("prop");
                        propField.setAccessible(true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getRemoveDuplicateInitializingMethods() {
        return asList(getMethod(MultisetRemoveTester.class, "testRemove_some_occurrences_present"));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

       * Returns {@link Method} instances for the remove tests that assume multisets support duplicates
       * so that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getRemoveDuplicateInitializingMethods() {
        return asList(getMethod(MultisetRemoveTester.class, "testRemove_some_occurrences_present"));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

    public class SmbResourceLocatorInternalTest {
    
        @Mock
        SmbResourceLocatorInternal locator;
    
        @Mock
        SmbResourceLocator other;
    
        @Mock
        DfsReferralData referral;
    
        // Reflection-based API checks ensure the interface contract is as expected
        @Test
        @DisplayName("Type hierarchy and method signatures are correct")
        void typeAndSignatures() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            ChannelInfo healthyChannel = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface);
            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            System.arraycopy(stringBytes, 0, buffer, 10, stringBytes.length);
            buffer[10 + stringBytes.length] = 0; // null terminator
    
            // Use reflection to call protected readString method
            Method readStringMethod = getReadStringMethod();
            String result = (String) readStringMethod.invoke(response, buffer, 10, 128, false);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            // assertEquals(0, result.size()); // Commented out due to variable scope // No data loaded
        }
    
        public void test_toLowerCase_privateMethod() throws Exception {
            // Test private method using reflection
            Method method = KeyMatchHelper.class.getDeclaredMethod("toLowerCase", String.class);
            method.setAccessible(true);
    
            String result = (String) method.invoke(keyMatchHelper, "JAVA");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection
     * access issues, if any.
     *
     * @author Ben Yu
     */
    public class ForwardingWrapperTesterTest extends TestCase {
    
      private final ForwardingWrapperTester tester = new ForwardingWrapperTester();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Context.java

                } catch (GSSException e) {
                    throw new SmbException("Context disposal failed", e);
                }
            }
        }
    
        /*
         * Prepare reflective access to ExtendedGSSContext. The reflective access
         * abstracts the access so far, that Oracle JDK, Open JDK and IBM JDK are
         * supported.
         *
         * At the time of the first implementation only a test on Oracle JDK was
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
Back to top