Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for NoSuchMethodException (0.74 sec)

  1. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

                String message = e.getMessage();
                if (message != null && message.contains("NoSuchMethodException")) {
                    assertTrue("Method may not exist in this version", true);
                } else if (e instanceof java.lang.NoSuchMethodException) {
                    assertTrue("Method may not exist in this version", true);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            try {
                // Just verify the method exists, don't actually call it
                crawlerEngineClient.getClass().getMethod("close");
                assertTrue(true);
            } catch (NoSuchMethodException e) {
                fail("close method should exist");
            }
        }
    
        // Test toString method
        public void test_toString() {
            // Test that toString returns a non-null value
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SessionSetupHandlerTest.java

        }
    
        @Test
        @DisplayName("Invalid: looking up constructor on interface fails")
        void testNoConstructorLookup() {
            // Act & Assert: interfaces have no constructors
            assertThrows(NoSuchMethodException.class, () -> SessionSetupHandler.class.getDeclaredConstructor());
        }
    
        @Test
        @DisplayName("Invalid: resolving class by null name throws NPE")
        void testClassForNameWithNull() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                constructor.setAccessible(true);
                WebApiUtil instance = constructor.newInstance();
                assertNotNull(instance);
    
            } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
                fail("Should be able to access private constructor: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

              putMethod,
              getMethod,
              removeMethod,
              clientProviderClass,
              serverProviderClass,
            )
          } catch (_: ClassNotFoundException) {
          } catch (_: NoSuchMethodException) {
          }
    
          return null
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(Equivalence.identity(), Equivalence.identity())
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() throws NoSuchMethodException {
        NullPointerTester tester = new NullPointerTester();
        // Necessary until JDK15:
        // https://bugs.openjdk.org/browse/JDK-8202469
        tester.ignore(Equivalence.class.getMethod("wrap", Object.class));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(Equivalence.identity(), Equivalence.identity())
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNulls() throws NoSuchMethodException {
        NullPointerTester tester = new NullPointerTester();
        // Necessary until JDK15:
        // https://bugs.openjdk.org/browse/JDK-8202469
        tester.ignore(Equivalence.class.getMethod("wrap", Object.class));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

          } catch (InvocationTargetException e) {
            throwIfUnchecked(e.getCause()); // in case it's an Error or something
            return fromSystemProperty; // should be impossible
          } catch (NoSuchMethodException shouldBeImpossible) {
            return fromSystemProperty;
          } catch (IllegalAccessException shouldBeImpossible) {
            /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                constructor.setAccessible(true);
                ThreadDumpUtil instance = constructor.newInstance();
                assertNotNull(instance);
    
            } catch (NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
                fail("Should be able to access protected constructor: " + e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

                Constructor<?> ctor = cls.getDeclaredConstructor(paramTypes);
                ctor.setAccessible(true);
                return ctor.newInstance(args);
            } catch (ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException
                    | InvocationTargetException e) {
                throw new AssertionError(e);
            }
        }
    
        // Utility to invoke a private method reflectively
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top