Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 178 for Capture (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

                RecordingFilter filter = new RecordingFilter();
                filter.accept(mockFile);
                // Verify the filter stored the reference
                // assertSame may not be necessary but demonstrates captured file
                // we simply check that getPath was called
                verify(mockFile, times(1)).getPath();
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/exception/WebApiException.java

     */
    package org.codelibs.fess.exception;
    
    /**
     * Exception thrown when web API operations encounter errors.
     * This exception includes an HTTP status code to indicate the nature of the error.
     */
    public class WebApiException extends FessSystemException {
    
        private static final long serialVersionUID = 1L;
    
        /**
         * The HTTP status code associated with this exception.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                        artifact.getGroupId(), artifact.getArtifactId(), MAVEN_METADATA_XML, Metadata.Nature.RELEASE);
            } else if (LATEST.equals(version)) {
                metadata = new DefaultMetadata(
                        artifact.getGroupId(),
                        artifact.getArtifactId(),
                        MAVEN_METADATA_XML,
                        Metadata.Nature.RELEASE_OR_SNAPSHOT);
            } else if (version.endsWith(SNAPSHOT)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

    import org.lastaflute.web.validation.Required;
    
    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for handling "go" requests that redirect users to specific documents
     * or search results. This form captures the necessary parameters for document
     * access tracking and error page fallback information.
     *
     */
    public class GoForm {
    
        /**
         * Default constructor for GoForm.
         */
        public GoForm() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            assertNull(ex.getRootCause(), "Root cause should be null by default");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
        }
    
        /**
         * Ensures the exception is thrown and captured via assertThrows with the right message.
         */
        @Test
        void assertThrowsCapturesExceptionAndMessage() {
            // Act & Assert
            SmbEndOfFileException thrown = assertThrows(SmbEndOfFileException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java

            while ((event = queue.poll()) != null) {
                events.add(event);
                size.decrementAndGet();
            }
            return events;
        }
    
        /**
         * Represents a captured log event for notification.
         */
        public static class LogNotificationEvent {
    
            private final long timestamp;
    
            private final String level;
    
            private final String loggerName;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            } else {
                assertFalse(ts.contains(":"), "toString should not contain ':' when message is null");
            }
        }
    
        @Test
        @DisplayName("assertThrows captures and exposes the default message")
        void assertThrows_capturesDefaultMessage() {
            // Act & Assert
            SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/opensearch/client/SearchEngineClientExceptionTest.java

            assertNotNull(exception);
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly captured
            String message = "Stack trace test";
            SearchEngineClientException exception = new SearchEngineClientException(message);
    
            assertNotNull(exception.getStackTrace());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTracePresent() {
            // Test that stack trace is captured properly
            ScheduledJobException exception = new ScheduledJobException("Stack trace test");
    
            assertNotNull(exception.getStackTrace());
            assertTrue(exception.getStackTrace().length > 0);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java

                // which was set when the class was loaded
                TimeZone providedTimeZone = provider.provide();
                assertNotNull(providedTimeZone);
                // The provider uses the static centralTimeZone which captures the original default
                assertEquals(originalDefault, providedTimeZone);
            } finally {
                // Restore original timezone
                TimeZone.setDefault(originalDefault);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.4K bytes
    - Click Count (0)
Back to Top