- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for getMethodName (0.26 sec)
-
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
assertThat(foo, is(notNullValue())); assertThat(foo.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo"))); assertThat(foo.getMethodName(), is("foo")); assertThat(foo.getParameterTypes().length, is(0)); assertThat(foo.isPublic(), is(true)); assertThat(foo.isStatic(), is(not(true))); assertThat(foo.isFinal(), is(not(true)));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/NoSuchMethodRuntimeException.java
*/ public Class<?> getTargetClass() { return targetClass; } /** * Returns the method name. * * @return the method name */ public String getMethodName() { return methodName; } /** * Returns the argument types. * * @return the argument types */ public Class<?>[] getArgTypes() { return argTypes; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/MethodNotStaticRuntimeException.java
*/ public Class<?> getTargetClass() { return targetClass; } /** * Returns the method name. * * @return Method name */ public String getMethodName() { return methodName; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java
*/ public Class<?> getTargetClass() { return targetClass; } /** * Returns the method name. * * @return Method name */ public String getMethodName() { return methodName; } /** * Returns the array of {@link Class} for the method arguments. * * @return Array of {@link Class} for the method arguments */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final MethodDesc methodDesc = beanDesc.getMethodDesc("getAaa"); assertThat(methodDesc, is(notNullValue())); assertThat(methodDesc.getMethodName(), is("getAaa")); beanDesc.getMethodDesc("getaaa"); } /** * @throws Exception */ @Test public void testGetMethodNoException() throws Exception {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); assertEquals("testStackTrace", stackTrace[0].getMethodName()); }
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java
// Verify the stack trace contains this test method boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().equals("test_stackTrace")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); } public void test_throwAndCatch() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
// Verify that the stack trace contains this test method boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().equals("test_stackTrace") && element.getClassName().equals(this.getClass().getName())) { foundTestMethod = true; break; } } assertTrue(foundTestMethod);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // First element should be from this test method assertEquals("test_stackTrace", stackTrace[0].getMethodName()); assertEquals(this.getClass().getName(), stackTrace[0].getClassName()); } public void test_multipleCatches() { // Test with multiple catch blocks boolean caughtSpecific = false;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
// Verify that current test method appears in stack trace boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { if (element.getMethodName().equals("test_stackTrace")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0)