- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for StackTraceElement (0.05 sec)
-
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
InvalidAccessTokenException exception = new InvalidAccessTokenException("JWT", "Invalid signature"); StackTraceElement[] stackTrace = exception.getStackTrace(); 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 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlExceptionTest.java
assertTrue(toString.contains(message)); } @Test public void testStackTrace() { CurlException exception = new CurlException("Test message"); 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/exception/JobProcessingExceptionTest.java
assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // 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()); }
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/dict/DictionaryExceptionTest.java
assertTrue(exception.getStackTrace().length > 0); // 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;
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/opensearch/client/SearchEngineClientExceptionTest.java
assertTrue(exception.getStackTrace().length > 0); // 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; } }
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/exception/ScheduledJobExceptionTest.java
assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify the first stack trace element is from this test method StackTraceElement firstElement = exception.getStackTrace()[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); assertEquals("test_stackTracePresent", firstElement.getMethodName()); }
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/DataStoreExceptionTest.java
} public void test_stackTrace() { // Test that stack trace is properly set 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
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/PluginExceptionTest.java
assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify that the first stack trace element is from this test method StackTraceElement firstElement = exception.getStackTrace()[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); 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.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java
ParseException parseException = new ParseException("Stack trace test"); QueryParseException queryParseException = new QueryParseException(parseException); StackTraceElement[] stackTrace = queryParseException.getStackTrace(); assertNotNull(stackTrace); assertTrue(stackTrace.length > 0); } public void test_serialVersionUID() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
assertTrue(exception.getStackTrace().length > 0); // 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; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0)