Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 1,270 for cases (0.02 sec)

  1. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

    /**
     * Tests for SmbFilenameFilter interface behaviors via simple implementations.
     * Each test creates a concrete filter to validate expected contract semantics
     * including normal operation, null handling, edge cases, and exception flow.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbFilenameFilterTest {
    
        @Mock
        SmbFile mockDir;
    
        /**
         * Happy-path: a filter that accepts any name.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    The same way, you could raise an `HTTPException` or similar in the exit code, after the `yield`.
    
    /// tip
    
    This is a somewhat advanced technique, and in most of the cases you won't really need it, as you can raise exceptions (including `HTTPException`) from inside of the rest of your application code, for example, in the *path operation function*.
    
    But it's there for you if you need it. 🤓
    
    ///
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/https/HandlerTest.java

                // Then
                assertEquals(443, httpsPort);
                assertEquals(80, httpPort);
                assertNotEquals(httpsPort, httpPort);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle reflection access to protected method")
            void testProtectedMethodAccess() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/extending-openapi.md

    # Extending OpenAPI { #extending-openapi }
    
    There are some cases where you might need to modify the generated OpenAPI schema.
    
    In this section you will see how.
    
    ## The normal process { #the-normal-process }
    
    The normal (default) process, is as follows.
    
    A `FastAPI` application (instance) has an `.openapi()` method that is expected to return the OpenAPI schema.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
      // may put a thread into an uninterruptible operation intentionally, so there is no other way to
      // clean up these threads.
      @SuppressWarnings("deprecation")
      @Override
      public void tearDown() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            assertEquals(8, serverData.encryptionKey.length);
            assertEquals(16, serverData.guid.length);
        }
    
        /**
         * Test edge cases for numeric fields
         */
        @Test
        @DisplayName("Test edge cases for numeric fields")
        public void testNumericFieldsEdgeCases() {
            // Test maximum values for int fields
            serverData.sflags2 = Integer.MAX_VALUE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. docs/features/events.md

    is resilient and can automatically recover from some connectivity failures. In this case, the `connectFailed()` event is not terminal and not followed by `callFailed()`. Event listeners will receive multiple events of the same type when retries are attempted.
    
    A single HTTP call may require follow-up requests to be made to handle authentication challenges, redirects, and HTTP-layer timeouts. In such cases multiple connections, requests, and responses may be attempted. Follow-ups are another...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

        return delegate().descendingMap();
      }
    
      /**
       * A sensible implementation of {@link NavigableMap#descendingMap} in terms of the methods of this
       * {@code NavigableMap}. In many cases, you may wish to override {@link
       * ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof.
       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingNavigableMap.java

        return delegate().descendingMap();
      }
    
      /**
       * A sensible implementation of {@link NavigableMap#descendingMap} in terms of the methods of this
       * {@code NavigableMap}. In many cases, you may wish to override {@link
       * ForwardingNavigableMap#descendingMap} to forward to this implementation or a subclass thereof.
       *
       * <p>In particular, this map iterates over entries with repeated calls to {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. mockwebserver/README.md

            switch (request.getUrl().encodedPath()) {
              case "/v1/login/auth/":
                  return new MockResponse.Builder()
                      .code(200)
                      .build();
              case "/v1/check/version/":
                  return new MockResponse.Builder()
                      .code(200)
                      .body("version=9")
                      .build();
              case "/v1/profile/info":
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:40:52 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top