Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 256 for Reflection (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            assertTrue(conn instanceof Handler.StorageURLConnection);
            Handler.StorageURLConnection storageConn = (Handler.StorageURLConnection) conn;
    
            // Use reflection to access private fields for testing
            assertEquals("mybucket", getField(storageConn, "bucketName"));
            assertEquals("path/to/object.txt", getField(storageConn, "objectName"));
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        new ClassSanityTester().forAllPublicStaticMethods(Functions.class).testNulls();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // TODO(cpovirk): ClassNotFoundException: com.google.common.base.Function
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 16K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

    import com.google.common.collect.MutableClassToInstanceMap;
    import com.google.common.collect.Ordering;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    import com.google.common.testing.NullPointerTester.Visibility;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.io.Serializable;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                        "Flags should be set for first and last fragment");
    
                // Verify private fields using reflection
                Field bindingField = DcerpcBind.class.getDeclaredField("binding");
                bindingField.setAccessible(true);
                assertSame(mockBinding, bindingField.get(bindWithParams), "Binding should be set");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypesTest.java

      }
    
      private static class WithTypeVariable {
    
        @SuppressWarnings("unused")
        <T> void withoutBound(List<T> list) {}
    
        @SuppressWarnings({
          "unused",
          /*
           * Since reflection can't tell the difference between <T> and <T extends Object>, it doesn't
           * make a ton of sense to have a separate tests for each. But having tests for each doesn't
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/util/StringsTest.java

                assertDoesNotThrow(() -> {
                    java.lang.reflect.Constructor<Strings> constructor = Strings.class.getDeclaredConstructor();
                    assertTrue(java.lang.reflect.Modifier.isPrivate(constructor.getModifiers()), "Constructor should be private");
                }, "Should be able to access private constructor via reflection");
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

      @GwtIncompatible
      @J2ktIncompatible
        public void testSerializable() {
        SerializableTester.reserializeAndAssert(EnumHashBiMap.create(Currency.class));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() {
        new NullPointerTester().testAllPublicStaticMethods(EnumHashBiMap.class);
        new NullPointerTester().testAllPublicInstanceMethods(EnumHashBiMap.create(Currency.class));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()} until <a
       * href="https://bugs.openjdk.org/browse/JDK-6260652">JDK-6260652</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getToArrayIsPlainObjectArrayMethod() {
        return getMethod(CollectionToArrayTester.class, "testToArray_isPlainObjectArray");
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top