Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 447 for Reflection (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

            // Ensure the property is not set
            DynamicProperties systemProperties = ComponentUtil.getSystemProperties();
            systemProperties.remove("saml.sp.base.url");
    
            // Use reflection to access protected method
            Method buildDefaultUrlMethod = SamlAuthenticator.class.getDeclaredMethod("buildDefaultUrl", String.class);
            buildDefaultUrlMethod.setAccessible(true);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/eventbus/EventBus.java

     *       complicate debugging, lead to unintentional reentrant calls, and force apps to eagerly
     *       initialize all possible subscribers at startup time.
     *   <li>It uses reflection in ways that break when code is processed by optimizers/minimizers like
     *       <a href="https://developer.android.com/studio/build/shrink-code">R8 and Proguard</a>.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          // Don't use cls.getPackage() because it does nasty things like reading
          // a file.
          String visiblePackage = Reflection.getPackageName(cls);
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
          for (Class<?> type : TypeToken.of(cls).getTypes().rawTypes()) {
            if (!Reflection.getPackageName(type).equals(visiblePackage)) {
              break;
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

                verify(response, atLeastOnce()).setStatus(HttpServletResponse.SC_OK);
            }
        }
    
        /**
         * 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        /*
         * We'd use assertThrows here, but that causes no exception to be thrown under Java 8,
         * presumably because the ThrowingRunnable lambda triggers some kind of bug in Java 8's
         * reflection implementation.
         */
        try {
          new TypeToken<T>() {};
          fail();
        } catch (IllegalStateException expected) {
          // Type variables aren't allowed.
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        Multimap<String, Integer> multimap = ImmutableListMultimap.of();
        assertThat(SerializableTester.reserialize(multimap)).isSameInstanceAs(multimap);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 24.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            // Note: ResourceUtil.getPluginJarFiles is a static method, so we can't mock it directly
            // The test will verify the method works with the actual ResourceUtil implementation
    
            // Test with reflection to access protected method
            List<String> names = testFactory.loadDataStoreNameList();
            assertTrue(names.isEmpty() || names.size() >= 0); // Will be empty due to ResourceUtil static method
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

        }
    
        /**
         * Test that scheduleParentGroupLookup uses TimeoutManager correctly.
         * This test verifies the method signature and can be called via reflection.
         */
        @Test
        public void test_scheduleParentGroupLookup_schedulesTask() throws Exception {
            EntraIdAuthenticator authenticator = new EntraIdAuthenticator();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertNotNull(result);
            assertEquals(currentTime + 5000, result.getTime());
        }
    
        @Test
        public void test_getExpiredTime() {
            // Test via reflection since method is protected
            try {
                java.lang.reflect.Method getExpiredTimeMethod = CrawlingInfoHelper.class.getDeclaredMethod("getExpiredTime", int.class);
                getExpiredTimeMethod.setAccessible(true);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test size method with input buffer")
        void testSizeWithInputBuffer() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Set an input buffer using reflection
            Encodable mockInputBuffer = mock(Encodable.class);
            when(mockInputBuffer.size()).thenReturn(100);
    
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
Back to Top