Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 861 - 870 of 4,122 for _shouldn (0.17 seconds)

  1. tests/test_stream_cancellation.py

        # cancel_scope.cancelled_caught is True when move_on_after fired.
        return cancel_scope.cancelled_caught or len(chunks) > 0
    
    
    async def test_raw_stream_cancellation() -> None:
        """Raw streaming endpoint should be cancellable within a reasonable time."""
        cancelled = await _run_asgi_and_cancel(app, "/stream-raw", timeout=3.0)
        # The key assertion: we reached this line at all (didn't hang).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_nested_models/test_tutorial008.py

        assert response.json() == {
            "detail": [
                {
                    "loc": ["body", 0, "url"],
                    "input": "not a valid url",
                    "msg": "Input should be a valid URL, relative URL without a base",
                    "type": "url_parsing",
                    "ctx": {"error": "relative URL without a base"},
                },
            ]
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            TestFessSystemException exception = new TestFessSystemException(message, true, true);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
    
            // Stack trace should be populated
            assertTrue(exception.getStackTrace().length > 0);
        }
    
        @Test
        public void test_constructor_withNonWritableStackTrace() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            assertTrue(log.matches(".*used [0-9.]+[a-zA-Z]+, heap [0-9.]+[a-zA-Z]+, max [0-9.]+[a-zA-Z]+.*"));
        }
    
        @Test
        public void test_byteCountToDisplaySize_edgeCases() {
            // Test negative values - should throw NullPointerException in private method via BigInteger.valueOf
            try {
                MemoryUtil.byteCountToDisplaySize(-1L);
                // If no exception, verify it handles negative as expected
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/FlushablesTest.java

      // throw an exception.
      private void setupFlushable(boolean shouldThrowOnFlush) throws IOException {
        mockFlushable = mock(Flushable.class);
        if (shouldThrowOnFlush) {
          doThrow(new IOException("This should only appear in the logs. It should not be rethrown."))
              .when(mockFlushable)
              .flush();
        }
      }
    
      // Flush the flushable using the Flushables, passing in the swallowException
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jul 16 20:34:52 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

     *     String name = header.getName();
     *     String value = header.getValue();
     *     boolean isValid = header.isValid();
     * </pre>
     *
     * <p>Note: The name should not be blank and the value should not be null for the header to be considered valid.</p>
     *
     * @see java.io.Serializable
     */
    public class RequestHeader implements Serializable {
    
        private static final long serialVersionUID = 1L;
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. cmd/erasure-healing_test.go

    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal1.Equals(fileInfoPostHeal1) {
    		t.Fatal("HealObject failed")
    	}
    
    	fileInfoPostHeal2, err = disk.ReadVersion(t.Context(), "", bucket, object, "", ReadOptions{ReadData: false, Healing: true})
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// After heal the meta file should be as expected.
    	if !fileInfoPreHeal2.Equals(fileInfoPostHeal2) {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 48.5K bytes
    - Click Count (0)
  8. src/main/resources/fess_env_suggest.properties

    #                                                                                   ======
    # The mode of Lasta Di's smart-deploy, should be cool in production (e.g. hot, cool, warm)
    lasta_di.smart.deploy.mode = warm
    
    # Is development environment here? (used for various purpose, you should set false if unknown)
    development.here = false
    
    # The title of environment (e.g. local or integration or production)
    environment.title = Production
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 29 07:34:32 GMT 2018
    - 2.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/internal/Finalizer.java

    import java.lang.reflect.Method;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Thread that finalizes referents. All references should implement {@code
     * com.google.common.base.FinalizableReference}.
     *
     * <p>While this class is public, we consider it to be *internal* and not part of our published API.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 03:19:29 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            // Act
            KerberosApRequest req = new KerberosApRequest(seq, null);
    
            // Assert
            assertEquals(ap, req.getApOptions(), "apOptions should reflect BIT STRING's first byte");
            assertNull(req.getTicket(), "ticket should be null when tag 3 is absent");
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 4, 6, 99 })
        @DisplayName("seq ctor: invalid pvno values throw")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
Back to Top