- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 30 for getDeclaredMethod (0.17 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/eventbus/SubscriberTest.java
.addEqualityGroup(Subscriber.create(bus, "foo", concat)) .testEquals(); } private Method getTestSubscriberMethod(String name) { try { return getClass().getDeclaredMethod(name, Object.class); } catch (NoSuchMethodException e) { throw new AssertionError(); } } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
options.numOfThreads = 1; options.cleanup = false; // Setup mock components setupMockComponents(); Method processMethod = ThumbnailGenerator.class.getDeclaredMethod("process", ThumbnailGenerator.Options.class); processMethod.setAccessible(true); try { Integer result = (Integer) processMethod.invoke(null, options); assertNotNull(result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java
*/ @Test public void test_processDirectMemberOf_methodExists() throws Exception { Method method = EntraIdAuthenticator.class.getDeclaredMethod("processDirectMemberOf", EntraIdUser.class, List.class, List.class, List.class, String.class); assertNotNull(method, "processDirectMemberOf method should exist"); } /**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) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
assertFalse( Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("privateMethod"))); assertFalse( Visibility.PUBLIC.isVisible( VisibilityMethods.class.getDeclaredMethod("packagePrivateMethod"))); assertFalse( Visibility.PUBLIC.isVisible(VisibilityMethods.class.getDeclaredMethod("protectedMethod"))); assertTrue(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistActionTest.java
fessConfigField.set(action, ComponentUtil.getFessConfig()); // Call registerExtraFields via reflection final java.lang.reflect.Method method = AdminSearchlistAction.class.getDeclaredMethod("registerExtraFields", RenderData.class); method.setAccessible(true); final RenderData renderData = new RenderData(); method.invoke(action, renderData);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 34.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
static WildcardType getWildcardType(String methodName) throws Exception { ParameterizedType parameterType = (ParameterizedType) WithWildcardType.class.getDeclaredMethod(methodName, List.class) .getGenericParameterTypes()[0]; return (WildcardType) parameterType.getActualTypeArguments()[0]; } } public void testNewWildcardType() throws Exception {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 15.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
Method method = PrivateMethodClass.class.getDeclaredMethod("privateMethod"); Secured secured = method.getAnnotation(Secured.class); assertNotNull(secured); assertEquals("PRIVATE_ROLE", secured.value()[0]); } @Test public void test_protectedMethodAnnotation() throws NoSuchMethodException { Method method = PrivateMethodClass.class.getDeclaredMethod("protectedMethod");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java
public void hook(final FwAssistantDirector assistantDirector) { // Use reflection to call private method try { Method method = FessCurtainFinallyHook.class.getDeclaredMethod("shutdownCommonsHttpClient"); method.setAccessible(true); method.invoke(this); } catch (Exception e) { // Expected to catch exception silently
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 8.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
return invokable; } static Invokable<?, Object> method(String name, Class<?>... parameterTypes) throws Exception { Invokable<?, Object> invokable = Invokable.from(A.class.getDeclaredMethod(name, parameterTypes)); assertThat(invokable.getName()).isEqualTo(name); assertEquals(A.class, invokable.getDeclaringClass()); return invokable; } native void nativeMethod();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java
options.propertiesPath = tempPropFile.getAbsolutePath(); // Setup minimal mock components setupMockComponents(); Method processMethod = SuggestCreator.class.getDeclaredMethod("process", SuggestCreator.Options.class); processMethod.setAccessible(true); try { Integer result = (Integer) processMethod.invoke(null, options);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11K bytes - Click Count (0)