- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for stackTrace (0.4 sec)
-
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Check that the current test method is in the stack trace boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { if (element.getMethodName().equals("test_stackTrace")) {
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/LdapConfigurationExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // The first element should be from this test method StackTraceElement firstElement = stackTrace[0]; assertEquals("test_stackTrace", firstElement.getMethodName());
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/SsoLoginExceptionTest.java
SsoLoginException exception = new SsoLoginException("Stack trace test"); StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify the top of the stack trace is from this test class StackTraceElement topElement = stackTrace[0]; assertEquals(this.getClass().getName(), topElement.getClassName()); }
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/LdapOperationExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify that current test method appears in stack trace boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { if (element.getMethodName().equals("test_stackTrace")) {
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/SearchQueryExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify the top of the stack trace contains this test method boolean foundTestMethod = false; for (StackTraceElement element : stackTrace) { if (element.getMethodName().equals("test_stackTracePresence")) {
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/CommandExecutionExceptionTest.java
StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // First element should be from this test method StackTraceElement firstElement = stackTrace[0]; assertEquals(this.getClass().getName(), firstElement.getClassName());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java
DataStoreException exception = new DataStoreException("Test error"); StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // The first element should be from this test method assertEquals("test_stackTrace", stackTrace[0].getMethodName()); } public void test_serialization() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java
ServletRuntimeException runtimeException = new ServletRuntimeException(servletException); // Verify stack trace is available StackTraceElement[] stackTrace = runtimeException.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify the cause's stack trace is also available StackTraceElement[] causeStackTrace = runtimeException.getCause().getStackTrace();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
ScriptEngineException exception = new ScriptEngineException(message, cause); // Verify stack trace exists StackTraceElement[] stackTrace = exception.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); // Verify cause's stack trace is also available StackTraceElement[] causeStackTrace = exception.getCause().getStackTrace();
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/UserRoleLoginExceptionTest.java
Throwable result = exception.fillInStackTrace(); assertNull(result); // Verify that stack trace is not generated StackTraceElement[] stackTrace = exception.getStackTrace(); assertEquals(0, stackTrace.length); } public void test_serialVersionUID() { // Test that serialVersionUID is correctly defined
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.8K bytes - Viewed (0)