Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for reflection (0.07 sec)

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

            final UrlQueue<?> urlQueue = new UrlQueueImpl<>();
            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);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  3. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 03:23:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

        public JapicmpTaskWithKotlin() {
            super();
            addKotlinCompilerToJapicmpClasspath();
            getMaxWorkerHeap().convention("1g");
        }
    
        // it's easier to do this via reflection than to copy the whole task
        private void addKotlinCompilerToJapicmpClasspath() {
            try {
                Field additionalJapicmpClasspathField = JapicmpTask.class.getDeclaredField("additionalJapicmpClasspath");
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 24 14:15:15 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            assertTrue("Index creation should be acknowledged", response.isAcknowledged());
    
            final Suggester suggester = Suggester.builder().build(client, "test");
    
            // Use reflection to access private method
            final Method method = Suggester.class.getDeclaredMethod("getIndicesForAlias", String.class);
            method.setAccessible(true);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            URLConnection conn = handler.openConnection(url);
    
            assertTrue(conn instanceof Handler.GcsURLConnection);
            Handler.GcsURLConnection gcsConn = (Handler.GcsURLConnection) conn;
    
            // Use reflection to access private fields for testing
            assertEquals("mybucket", getField(gcsConn, "bucketName"));
            assertEquals("path/to/object.txt", getField(gcsConn, "objectName"));
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java

         * when effectiveModel is null, addressing issue #11292.
         */
        @Test
        void testExtractProjectIdFallback() throws Exception {
            // Use reflection to access the private extractProjectId method
            Method extractProjectIdMethod =
                    DefaultProjectBuilder.class.getDeclaredMethod("extractProjectId", ModelBuilderResult.class);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     * size and makes us more conscious of which parts of a library we really need.
     *
     * WARNING: if you decide to do the minification by hand, make sure that you cover all paths of loading classes:
     * reflection, dynamic loading, etc. and understand how the library works internally.
     * These changes might break things in subtle ways otherwise.
     */
    val keepPatterns = mapOf(
        "it.unimi.dsi:fastutil" to setOf(
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 25 16:18:05 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. 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)
  10. android/guava-tests/test/com/google/common/collect/MapsTest.java

       * noted, but the initial table is a zero-length array.
       *
       * <p>This test may fail miserably on non-OpenJDK environments...
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      @AndroidIncompatible // relies on assumptions about OpenJDK
      public void testNewHashMapWithExpectedSize_wontGrow() throws Exception {
        // before jdk7u40: creates one-bucket table
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 22:56:33 UTC 2025
    - 62.7K bytes
    - Viewed (0)
Back to top