Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 904 for properly (0.04 seconds)

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

  1. 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)
  2. ci/official/wheel.sh

      done
    fi
    
    if [[ "$TFCI_ARTIFACT_STAGING_GCS_ENABLE" == 1 ]]; then
      # Note: -n disables overwriting previously created files.
      # TODO(b/389744576): Remove when gsutil is made to work properly on MSYS2.
      if [[ $(uname -s) != MSYS_NT* ]]; then
        gsutil cp -n "$TFCI_OUTPUT_DIR"/*.whl "$TFCI_ARTIFACT_STAGING_GCS_URI"
      else
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 03 17:29:53 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AlphabeticalAcceptedApiChangesTaskIntegrationTest.kt

                )
            )
        }
    
        @Test
        fun `verify AlphabeticalAcceptedApiChangesTask accepts properly ordered changes`() {
            //language=JSON
            firstAcceptedApiChangesFile.writeText(
                """
                    {
                        "acceptedApiChanges": [
                            {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 14 02:17:00 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

                T[] result = super.toArray(array);
                if (size() < result.length) {
                  // It works around a GWT bug where elements after last is not
                  // properly null'ed.
                  @Nullable Object[] unsoundlyCovariantArray = result;
                  unsoundlyCovariantArray[size()] = null;
                }
                return result;
              }
            });
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTraceWithCause() {
            // Test that stack trace is properly preserved with cause
            String innerMessage = "Inner exception";
            String outerMessage = "Outer exception";
            RuntimeException innerException = new RuntimeException(innerMessage);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/MarkdownRenderer.java

                return "";
            }
            return text.replace("&", "&amp;").replace("<", "&lt;").replace(">", "&gt;").replace("\"", "&quot;").replace("'", "&#39;");
        }
    
        /**
         * Checks if the renderer is properly initialized.
         *
         * @return true if initialized
         */
        public boolean isInitialized() {
            return markdownParser != null && htmlRenderer != null && htmlSanitizer != null;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

                        bufferIndex += stringWireLength(this.nativeFileSystem, bufferIndex);
                    }
                } catch (final Exception e) {
                    // Ignore errors - some servers don't properly return this field
                    // Keep the default empty string value
                }
            }
    
            return bufferIndex - start;
        }
    
        @Override
        public String toString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is generated properly
            LdapConfigurationException exception = new LdapConfigurationException("Stack trace test");
    
            StackTraceElement[] stackTrace = exception.getStackTrace();
            assertNotNull(stackTrace);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/middleware.md

    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    
    For that, you use `app.add_middleware()` (as in the example for CORS).
    
    ```Python
    from fastapi import FastAPI
    from unicorn import UnicornMiddleware
    
    app = FastAPI()
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  10. tests/test_response_dependency.py

    """Test using special types (Response, Request, BackgroundTasks) as dependency annotations.
    
    These tests verify that special FastAPI types can be used with Depends() annotations
    and that the dependency injection system properly handles them.
    """
    
    from typing import Annotated
    
    from fastapi import BackgroundTasks, Depends, FastAPI, Request, Response
    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
Back to Top