Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3261 - 3270 of 3,919 for Rtest (0.02 seconds)

  1. tests/test_additional_responses_union_duplicate_anyof.py

    """
    Regression test: Ensure app-level responses with Union models and content/examples
    don't accumulate duplicate $ref entries in anyOf arrays.
    See https://github.com/fastapi/fastapi/pull/14463
    """
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    
    class ModelA(BaseModel):
        a: str
    
    
    class ModelB(BaseModel):
        b: str
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  2. tests/test_file_and_form_order_issue_9116.py

    """
    Regression test, Error 422 if Form is declared before File
    See https://github.com/tiangolo/fastapi/discussions/9116
    """
    
    from pathlib import Path
    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, File, Form
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/file_before_form")
    def file_before_form(
        file: bytes = File(),
        city: str = Form(),
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. ci/official/libtensorflow.sh

        python_bin="python"
      fi
      tfrun "$python_bin" tensorflow/tools/ci_build/update_version.py --nightly
    fi
    
    if [[ $(uname -s) != MSYS_NT* ]]; then
      tfrun bazel $TFCI_BAZEL_BAZELRC_ARGS test $TFCI_BAZEL_COMMON_ARGS --config=linux_libtensorflow_test
      tfrun bazel $TFCI_BAZEL_BAZELRC_ARGS build $TFCI_BAZEL_COMMON_ARGS --config=linux_libtensorflow_build
    else
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Jan 24 20:17:08 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                            postcard.setClusterstatus(ping.getClusterStatus());
                        });
                    } catch (final Exception e) {
                        logger.warn("Failed to send a test mail.", e);
                    } finally {
                        SMailCallbackContext.clearPreparedMessageHookOnThread();
                    }
                }
                resultBuf.append("Status of ")
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

    import java.util.Collections;
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * SortedSetMultimap} implementation.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class SortedSetMultimapTestSuiteBuilder<K, V>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  6. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

      /**
       * A map of contents pre-created before experiment starts to only measure map creation cost. The
       * implementation for the creation of contents is independent and could be different from that of
       * the map under test.
       */
      Map<Element, Element> contents;
    
      /** Map pre-created before experiment starts to only measure iteration cost during experiment. */
      Map<Element, Element> map;
    
      CollectionBenchmarkSampleData elems;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

      protected static final int EXCEPTION_DATA = -1;
      protected static final int VALID_INPUT_DATA = 1;
      protected static final Exception EXCEPTION = new Exception("Test exception");
    
      protected SettableFuture<Integer> inputFuture;
      protected ListenableFuture<T> resultFuture;
      protected MockFutureListener listener;
    
      @Override
      protected void setUp() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basher test for {@link AtomicLongMap}.
     *
     * @author mike nonemacher
     */
    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    @NullUnmarked
    public class AtomicLongMapBasherTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/AbstractConflictResolverTest.java

     *
     */
    @PlexusTest
    @Deprecated
    public abstract class AbstractConflictResolverTest {
        // constants --------------------------------------------------------------
    
        private static final String GROUP_ID = "test";
    
        // fields -----------------------------------------------------------------
    
        protected Artifact a1;
    
        protected Artifact a2;
    
        protected Artifact b1;
    
        private final String roleHint;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. guava-gwt/test/com/google/common/collect/testing/google/Google.gwt.xml

        util.concurrent, like nearly all our packages, has two .gwt.xml files: one
        for prod and one for tests. However, unlike our other packages, as of this
        writing it has test supersource but no prod supersource.
    
        GWT happens to use the prod .gwt.xml, so it looks for no supersource for
        tests, either. This causes it to fail to find AtomicLongMapTest.
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 19 16:02:36 GMT 2024
    - 1.7K bytes
    - Click Count (0)
Back to Top