- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for getMethodName (0.06 sec)
-
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) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
// Verify that this test method appears in the stack trace boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) { if ("test_stackTrace".equals(element.getMethodName())) { foundTestMethod = true; break; } } assertTrue(foundTestMethod); } public void test_serialVersionUID() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
assertTrue(stackTrace.length > 0); // The first element should be from this test method StackTraceElement firstElement = stackTrace[0]; assertEquals("test_stackTrace", firstElement.getMethodName()); assertEquals(this.getClass().getName(), firstElement.getClassName()); } public void test_serialization() { // Test that the exception is serializable
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
StackTraceElement firstElement = exception.getStackTrace()[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); assertEquals("test_stackTracePresent", firstElement.getMethodName()); } public void test_nestedExceptionChain() { // Test nested exception chain Throwable rootCause = new IllegalArgumentException("Root cause");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K 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)