Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 41 for test_zh (0.37 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java

            );
    
            Metadata.Builder mb = Metadata.builder();
            for (int i = 1; i <= numIndices; i++) {
                mb.put(
                    IndexMetadata.builder("test_" + i)
                        .settings(Settings.builder().put("index.version.created", Version.CURRENT))
                        .numberOfShards(numShards)
                        .numberOfReplicas(numReplicas)
                );
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 13 08:33:41 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Create StopwordsFile instance
            stopwordsFile = new StopwordsFile("test_id", testFile.getAbsolutePath(), new Date());
            stopwordsFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/index/SuggestIndexerErrorHandlingTest.java

    import org.junit.BeforeClass;
    import org.junit.Test;
    
    /**
     * Tests for error handling scenarios in SuggestIndexer.
     */
    public class SuggestIndexerErrorHandlingTest {
        private static final String TEST_ID = "SuggestIndexerErrorHandlingTest";
    
        private static final long ASYNC_TIMEOUT_SECONDS = 5L;
    
        static Suggester suggester;
        static OpenSearchRunner runner;
    
        @BeforeClass
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriterTest.java

    import org.opensearch.action.get.GetResponse;
    import org.opensearch.common.unit.TimeValue;
    import org.opensearch.index.query.QueryBuilders;
    
    public class SuggestIndexWriterTest {
        private static final String TEST_ID = "SuggestIndexWriterTest";
    
        static Suggester suggester;
        static OpenSearchRunner runner;
        static SuggestIndexWriter writer;
    
        @BeforeClass
        public static void beforeClass() throws Exception {
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

                    }
                }
            };
            ComponentUtil.register(dictionaryManager, "dictionaryManager");
    
            // Initialize CharMappingFile
            charMappingFile = new CharMappingFile("test_id", testFile.getAbsolutePath(), new Date());
            charMappingFile.manager(dictionaryManager);
        }
    
        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/testing.md

    請先建立並啟用一個[虛擬環境](../virtual-environments.md),然後安裝,例如:
    
    ```console
    $ pip install httpx
    ```
    
    ///
    
    匯入 `TestClient`。
    
    建立一個 `TestClient`,把你的 **FastAPI** 應用傳入其中。
    
    建立名稱以 `test_` 開頭的函式(這是 `pytest` 的慣例)。
    
    像使用 `httpx` 一樣使用 `TestClient` 物件。
    
    用簡單的 `assert` 敘述搭配標準的 Python 運算式來檢查(同樣是 `pytest` 的標準用法)。
    
    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/testing.md

    确保你创建并激活一个[虚拟环境](../virtual-environments.md),然后再安装,例如:
    
    ```console
    $ pip install httpx
    ```
    
    ///
    
    导入 `TestClient`。
    
    通过传入你的**FastAPI**应用创建一个 `TestClient` 。
    
    创建名字以 `test_` 开头的函数(这是标准的 `pytest` 约定)。
    
    像使用 `httpx` 那样使用 `TestClient` 对象。
    
    为你需要检查的地方用标准的Python表达式写个简单的 `assert` 语句(重申,标准的`pytest`)。
    
    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip | 提示
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  8. docs/fr/docs/features.md

    * [**Swagger UI**](https://github.com/swagger-api/swagger-ui), avec exploration interactive, appelez et testez votre API directement depuis le navigateur.
    
    ![Swagger UI interaction](https://fastapi.tiangolo.com/img/index/index-03-swagger-02.png)
    
    * Documentation d'API alternative avec [**ReDoc**](https://github.com/Rebilly/ReDoc).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  9. tensorflow/c/BUILD

        ],
    )
    
    tf_custom_op_library(
        name = "test_op1.so",
        srcs = ["test_op1.cc"],
    )
    
    tf_kernel_library(
        name = "test_op_kernel",
        srcs = ["test_op.cc"],
        deps = [
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
        ],
        alwayslink = 1,
    )
    
    tf_cuda_cc_test(
        name = "env_test",
        size = "medium",
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 17 18:49:14 GMT 2026
    - 30.3K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/testing.md

    ```console
    $ pip install httpx
    ```
    
    ///
    
    `TestClient`'ı import edin.
    
    **FastAPI** uygulamanızı ona vererek bir `TestClient` oluşturun.
    
    Adı `test_` ile başlayan fonksiyonlar oluşturun (bu, `pytest`'in standart konvansiyonudur).
    
    `TestClient` nesnesini `httpx` ile kullandığınız şekilde kullanın.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top