Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for NoSuchMethodException (0.18 sec)

  1. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

        public void test_privateMethodAnnotation() throws NoSuchMethodException {
            Method method = PrivateMethodClass.class.getDeclaredMethod("privateMethod");
            Secured secured = method.getAnnotation(Secured.class);
            assertNotNull(secured);
            assertEquals("PRIVATE_ROLE", secured.value()[0]);
        }
    
        public void test_protectedMethodAnnotation() throws NoSuchMethodException {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbResourceTest.java

            }
    
            @Test
            @DisplayName("SmbResource should have all required methods")
            void testRequiredMethods() throws NoSuchMethodException {
                // Given
                Class<SmbResource> clazz = SmbResource.class;
    
                // When/Then - Verify essential methods exist
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            while (clazz != null) {
                try {
                    return clazz.getDeclaredMethod(methodName, paramTypes);
                } catch (NoSuchMethodException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchMethodException("Method " + methodName + " not found");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/AllocInfoTest.java

                assertTrue(jcifs.Decodable.class.isAssignableFrom(AllocInfo.class));
            }
    
            @Test
            @DisplayName("Should define getCapacity method")
            void shouldDefineGetCapacityMethod() throws NoSuchMethodException {
                // Verify method exists with correct signature
                assertNotNull(AllocInfo.class.getMethod("getCapacity"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

          throws NoSuchMethodException {
        Method failMethod = Loser.class.getMethod("lose");
        Invokable<T, ?> invokable = new TypeToken<T>(getClass()) {}.method(failMethod);
        assertThat(invokable.getExceptionTypes()).contains(TypeToken.of(AssertionError.class));
      }
    
      public void testConstructor_getOwnerType() throws NoSuchMethodException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            while (clazz != null) {
                try {
                    return clazz.getDeclaredMethod(methodName, paramTypes);
                } catch (NoSuchMethodException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchMethodException("Method " + methodName + " not found");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

                constructor.setAccessible(true);
                SystemUtil 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
    - 12.9K bytes
    - Viewed (0)
Back to top