Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 200 for captured (0.04 seconds)

  1. src/test/java/org/codelibs/fess/util/LogNotificationAppenderTest.java

            final LogNotificationAppender warnAppender = LogNotificationAppender.createAppender("testWarn", "WARN", null, null);
            final LogEvent event = createLogEvent(Level.ERROR, "org.codelibs.fess.test", "error captured by warn appender");
            warnAppender.append(event);
            final List<LogNotificationEvent> events = ComponentUtil.getLogNotificationHelper().drainAll();
            assertEquals(1, events.size());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            NullPointerScoreBooster booster = new NullPointerScoreBooster();
            scoreUpdater.addScoreBooster(booster);
    
            String result = scoreUpdater.execute();
            // NullPointerException message should be captured
            assertTrue(result.contains("null") || result.contains("NullPointer"));
        }
    
        // Test with negative priority
        @Test
        public void test_addScoreBooster_negativePriority() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/TypeToken.java

       * }
       */
      protected TypeToken(Class<?> declaringClass) {
        Type captured = super.capture();
        if (captured instanceof Class) {
          this.runtimeType = captured;
        } else {
          this.runtimeType = TypeResolver.covariantly(declaringClass).resolveType(captured);
        }
      }
    
      private TypeToken(Type type) {
        this.runtimeType = checkNotNull(type);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 53.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/test/AntFixture.groovy

            }
            return commandString
        }
    
        /**
         * Writes a script to run the real executable, so that stdout/stderr can be captured.
         * TODO: this could be removed if we do use our own ProcessBuilder and pump output from the process
         */
        private void writeWrapperScript(String executable) {
            wrapperScript.parentFile.mkdirs()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 10.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

        }
    
        @Test
        public void test_stackTrace_isPresent() {
            // Test that stack trace is properly captured
            SsoProcessException exception = new SsoProcessException("Test stack trace");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertTrue(stackTrace.length > 0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  6. cmd/signature-v4-utils.go

    		// will default to sha256([]byte("")).
    		defaultSha256Cksum = emptySHA256
    		v, ok = r.Header[xhttp.AmzContentSha256]
    	}
    
    	// We found 'X-Amz-Content-Sha256' return the captured value.
    	if ok {
    		return v[0]
    	}
    
    	// We couldn't find 'X-Amz-Content-Sha256'.
    	return defaultSha256Cksum
    }
    
    // isValidRegion - verify if incoming region value is valid with configured Region.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 17:10:22 GMT 2024
    - 9.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                        customThreadFound.incrementAndGet();
                    }
                };
    
                ThreadDumpUtil.processThreadDump(searchConsumer);
    
                // Verify that our custom thread was captured
                assertTrue("Should find custom thread in dump", customThreadFound.get() > 0);
    
            } finally {
                latch.countDown();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Execute
            final InvalidQueryException exception = new InvalidQueryException(messageCode, message, cause);
    
            // Verify stack trace is captured
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        @Test
        public void test_differentMessageCodes() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  9. internal/rest/client.go

    	case closed:
    		// client closed, this is usually a manual process
    		// so return a local error as client is closed
    		return nil, &NetworkError{Err: ErrClientClosed}
    	case offline:
    		// client offline, return last error captured.
    		return nil, &NetworkError{Err: c.LastError()}
    	}
    
    	// client is still connected, attempt the request.
    
    	// Shallow copy. We don't modify the *UserInfo, if set.
    	// All other fields are copied.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/advanced-dependencies.md

    ### Dependencies with `yield` and `except`, Technical Details { #dependencies-with-yield-and-except-technical-details }
    
    Before FastAPI 0.110.0, if you used a dependency with `yield`, and then you captured an exception with `except` in that dependency, and you didn't raise the exception again, the exception would be automatically raised/forwarded to any exception handlers or the internal server error handler.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9K bytes
    - Click Count (0)
Back to Top