Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 789 for reflector (0.07 seconds)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            urlQueue.setUrl("http://example.com/");
            urlQueue.setDepth(1);
    
            when(urlFilter.match(anyString())).thenReturn(true);
    
            // Use reflection to access protected method
            final java.lang.reflect.Method method = CrawlerThread.class.getDeclaredMethod("isValid", UrlQueue.class);
            method.setAccessible(true);
            final boolean result = (boolean) method.invoke(crawlerThread, urlQueue);
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      /**
       * Returns {@link Method} instances for the read tests that assume multisets support duplicates so
       * that the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getCountDuplicateInitializingMethods() {
        return asList(getMethod(MultisetCountTester.class, "testCount_3"));
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            for (int i = 0; i < dataLength; i++) {
                testData[i] = (byte) (i & 0xFF);
            }
            System.arraycopy(testData, 0, buffer, dataOffsetFromHeader, dataLength);
    
            // Use reflection to set headerStart
            Field headerStartField = ServerMessageBlock2.class.getDeclaredField("headerStart");
            headerStartField.setAccessible(true);
            headerStartField.set(response, headerStart);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        /**
         * Fetch a private field value via reflection.  This helper keeps the
         * test code tidy and is used where unit‑testing logic relies on
         * internally stored data.
         */
        private static Object getPrivateField(Object target, String name) {
            try {
                java.lang.reflect.Field f = target.getClass().getDeclaredField(name);
                f.setAccessible(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/http/NetworkExplorerTest.java

            }
        }
    
        /**
         * Helper method to set fields via reflection
         */
        private void setFieldsViaReflection(NetworkExplorer explorer, boolean enableBasic, String realm) throws Exception {
            java.lang.reflect.Field styleField = NetworkExplorer.class.getDeclaredField("style");
            styleField.setAccessible(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

    import com.google.common.primitives.UnsignedInteger;
    import com.google.common.primitives.UnsignedLong;
    import com.google.common.reflect.AbstractInvocationHandler;
    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 java.io.ByteArrayInputStream;
    import java.io.File;
    import java.io.InputStream;
    import java.io.Reader;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            assertTrue(result.contains(expectedSearchAttributes));
        }
    
        // Helper method to get private searchAttributes field using reflection
        private int getSearchAttributes(SmbComDelete smbComDelete) {
            try {
                Field field = smbComDelete.getClass().getDeclaredField("searchAttributes");
                field.setAccessible(true);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java

       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddSupportedNullPresentMethod() {
        return getMethod(SetAddTester.class, "testAdd_supportedNullPresent");
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

       * permit them, as it seems more likely that code would depend on that behavior than on the other.
       * Thus, we say the bug is in set(), which fails to support null.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getSetNullSupportedMethod() {
        return getMethod(ListSetTester.class, "testSet_null");
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top