Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,133 for teston (0.33 sec)

  1. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

        NullPointerTester tester = new NullPointerTester();
        // Necessary until JDK15:
        // https://bugs.openjdk.org/browse/JDK-8202469
        tester.ignore(Equivalence.class.getMethod("wrap", Object.class));
    
        tester.testAllPublicStaticMethods(Equivalence.class);
        tester.testAllPublicInstanceMethods(Equivalence.equals());
        tester.testAllPublicInstanceMethods(Equivalence.identity());
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ без Annotated"
    
        !!! tip "Подсказка"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/de/docs/deployment/versions.md

    ## Upgrade der FastAPI-Versionen
    
    Sie sollten Tests für Ihre Anwendung hinzufügen.
    
    Mit **FastAPI** ist das sehr einfach (dank Starlette), schauen Sie sich die Dokumentation an: [Testen](../tutorial/testing.md){.internal-link target=_blank}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:06:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. docs/de/docs/alternatives.md

        Und nach einer langen Suche nach einem ähnlichen Framework und dem Testen vieler verschiedener Alternativen, war APIStar die beste verfügbare Option.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:28 GMT 2024
    - 26.7K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/testing.md

    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ & 🔛"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_py310/main.py!}
        ```
    
    ### ↔ 🔬 📁
    
    👆 💪 ⤴️ ℹ `test_main.py` ⏮️ ↔ 💯:
    
    ```Python
    {!> ../../../docs_src/app_testing/app_b/test_main.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/testing.md

        {!> ../../../docs_src/app_testing/app_b_py310/main.py!}
        ```
    
    === "Python 3.6+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b/main.py!}
        ```
    
    ### 拡張版テストファイル
    
    次に、先程のものに拡張版のテストを加えた、`test_main_b.py` を作成します。
    
    ```Python
    {!> ../../../docs_src/app_testing/app_b/test_main.py!}
    ```
    
    リクエストに情報を渡せるクライアントが必要で、その方法がわからない場合はいつでも、`httpx` での実現方法を検索 (Google) できます。
    
    テストでも同じことを行います。
    
    例えば:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 16:16:02 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/testing.md

    
    ```Python
    {!../../../docs_src/app_testing/main.py!}
    ```
    
    ### 测试文件
    
    然后你会有一个包含测试的文件 `test_main.py` 。app可以像Python包那样存在(一样是目录,但有个 `__init__.py` 文件):
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    因为这文件在同一个包中,所以你可以通过相对导入从 `main` 模块(`main.py`)导入`app`对象:
    
    ```Python hl_lines="3"
    {!../../../docs_src/app_testing/test_main.py!}
    ```
    
    ...然后测试代码和之前一样的。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java

      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(EvictingQueue.class);
        tester.testAllPublicConstructors(EvictingQueue.class);
        EvictingQueue<String> queue = EvictingQueue.create(5);
        // The queue must be non-empty so it throws a NPE correctly
        queue.add("one");
        tester.testAllPublicInstanceMethods(queue);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

        return !disjoint(a, b);
      }
    
      private static Method extractMethod(Test test) {
        if (test instanceof AbstractTester) {
          AbstractTester<?> tester = (AbstractTester<?>) test;
          return Helpers.getMethod(tester.getClass(), tester.getTestMethodName());
        } else if (test instanceof TestCase) {
          TestCase testCase = (TestCase) test;
          return Helpers.getMethod(testCase.getClass(), testCase.getName());
        } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/TypesTest.java

    import static org.junit.Assert.assertThrows;
    
    import com.google.common.collect.Lists;
    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.NullPointerTester.Visibility;
    import com.google.common.testing.SerializableTester;
    import java.lang.reflect.GenericArrayType;
    import java.lang.reflect.GenericDeclaration;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
Back to top