- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for getMethodName (0.12 sec)
-
src/test/java/jcifs/smb/SmbExceptionTest.java
// Should contain this test method in stack trace boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if (element.getMethodName().contains("testStackTracePreservation")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java
StackTraceElement firstElement = exception.getStackTrace()[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); assertEquals("test_stackTrace", firstElement.getMethodName()); } public void test_serialVersionUID() { // Test that the exception is serializable PluginException exception = new PluginException("Serialization test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
// Verify 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 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
// Verify the top of the stack trace contains this test method boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { if (element.getMethodName().equals("test_stackTracePresence")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.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); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/MethodDesc.java
* Returns the method. * * @return the method */ Method getMethod(); /** * Returns the method name. * * @return the method name */ String getMethodName(); /** * Returns an array of the method's parameter types. * * @return an array of the method's parameter types */ Class<?>[] getParameterTypes(); /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java
// Verify that the current test method appears in the stack trace boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { if (element.getMethodName().equals("test_stackTrace_isPresent")) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
// Verify the top of the stack trace points to this test method final StackTraceElement topElement = exception.getStackTrace()[0]; assertEquals("test_stackTrace", topElement.getMethodName()); assertEquals(this.getClass().getName(), topElement.getClassName()); } public void test_serialization() { // Test that serialVersionUID is properly defined
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
// Check that the current test method is in the stack trace boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { 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 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
StackTraceElement firstElement = stackTrace[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); assertEquals("test_stackTracePopulated", firstElement.getMethodName()); } public void test_toString() { // Test toString method (inherited from Throwable) String type = "CustomToken"; String message = "Custom token error";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0)