- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 41 for getMethodName (0.09 seconds)
-
src/test/java/jcifs/RuntimeCIFSExceptionTest.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); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (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); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java
StackTraceElement firstElement = stackTrace[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); assertEquals("test_stackTracePresent", firstElement.getMethodName()); } @Test public void test_multipleExceptionScenarios() { // Test multiple realistic exception scenarios // Scenario 1: Command not found
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.4K bytes - Click Count (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); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10K bytes - Click Count (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); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (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()); } @Test public void test_toString() { // Test toString method (inherited from Throwable) String type = "CustomToken"; String message = "Custom token error";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (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); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java
} private Suggester createSuggester() { return Suggester.builder().build(runner.client(), getBaseId()); } private String getBaseId() { return ("lifecycle-" + testName.getMethodName()).toLowerCase(Locale.ROOT); } private String getIndexName() { return getBaseId() + ".suggest"; } // ============================================================Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.4K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbOperationException.java
for (StackTraceElement element : stack) { String className = element.getClassName(); if (className.startsWith("jcifs.smb") && !className.contains("Exception")) { return element.getMethodName(); } } return "unknown"; } private long extractNtStatus(Throwable cause) { if (cause instanceof SmbException) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
for (int i = s; i < e; i++) { final StackTraceElement se = stackTrace[i]; if (i == s && SmbTreeImpl.class.getName().equals(se.getClassName()) && "close".equals(se.getMethodName())) { s++; continue; } if (se.getClassName().startsWith("org.junit.runners.")) { e = i - 4; break; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 30K bytes - Click Count (0)