Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for NoSuchMethodException (0.27 sec)

  1. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            try {
                FessWebResourceRoot.class.getConstructor(Context.class);
                assertTrue("Constructor with Context parameter exists", true);
            } catch (final NoSuchMethodException e) {
                fail("Constructor with Context parameter should exist");
            }
        }
    
        public void test_methodsExist() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

        platform.assumeJdk8()
        try {
          SSLSocket::class.java.getMethod("getApplicationProtocol")
          // also present on JDK8 after build 252.
          assertThat(buildIfSupported()).isNotNull()
        } catch (nsme: NoSuchMethodException) {
          assertThat(buildIfSupported()).isNull()
        }
      }
    
      @Test
      fun testToStringIsClassname() {
        assertThat(Jdk9Platform().toString()).isEqualTo("Jdk9Platform")
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        }
    
        private static Method subscriberMethod() {
          try {
            return DummySubscriber.class.getMethod("handle", Object.class);
          } catch (NoSuchMethodException e) {
            throw new AssertionError(e);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        for (String propertyName : new String[] {"value", "absent"}) {
          Method method = null;
          try {
            method = annotationClass.getMethod(propertyName);
          } catch (NoSuchMethodException e) {
            throw new AssertionError("Annotation is missing required method", e);
          }
          Class<?> returnType = method.getReturnType();
          assertTrue(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

                CustomSizeValidator.class.getMethod("isValid", CharSequence.class, ConstraintValidatorContext.class);
                assertTrue("Required methods exist", true);
            } catch (final NoSuchMethodException e) {
                fail("Required methods should exist: " + e.getMessage());
            }
        }
    
        public void test_inheritance() {
            assertTrue("Should implement ConstraintValidator interface",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/ChecksumHashFunction.java

          } catch (ClassNotFoundException e) {
            throw new AssertionError(e);
          } catch (IllegalAccessException e) {
            // That API is public.
            throw newLinkageError(e);
          } catch (NoSuchMethodException e) {
            // Only introduced in Java 9.
            return null;
          }
        }
    
        private static LinkageError newLinkageError(Throwable cause) {
          return new LinkageError(cause.toString(), cause);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java

          EventBus bus, Object target, String methodName, Class<?> eventType) {
        try {
          return Subscriber.create(bus, target, target.getClass().getMethod(methodName, eventType));
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      public final class IntegerSubscriber {
        private final String name;
    
        public IntegerSubscriber(String name) {
          this.name = name;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/eventbus/SubscriberTest.java

            .testEquals();
      }
    
      private Method getTestSubscriberMethod(String name) {
        try {
          return getClass().getDeclaredMethod(name, Object.class);
        } catch (NoSuchMethodException e) {
          throw new AssertionError();
        }
      }
    
      /**
       * Records the provided object in {@link #methodArgument} and sets {@link #methodCalled}. This
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

        try {
          delegate::class.java.getMethod(
            "checkServerTrusted",
            Array<X509Certificate>::class.java,
            String::class.java,
            String::class.java,
          )
        } catch (_: NoSuchMethodException) {
          null
        }
    
      /** Android method to clean and sort certificates, called via reflection. */
      @Suppress("unused", "UNCHECKED_CAST")
      fun checkServerTrusted(
        chain: Array<out X509Certificate>,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

                FessActionValidator.class.getConstructor(RequestManager.class, UserMessagesCreator.class, Class[].class);
                assertTrue("Constructor with required parameters exists", true);
            } catch (final NoSuchMethodException e) {
                fail("Constructor with RequestManager, UserMessagesCreator, and Class[] parameters should exist");
            }
        }
    
        public void test_classStructure() {
            // Verify the class is generic
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top