- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for anyString (0.42 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
public void test_run_noUrlsInQueue() throws Exception { when(urlQueueService.poll(anyString())).thenReturn(null); crawlerContext.setStatus(CrawlerStatus.RUNNING); crawlerContext.maxThreadCheckCount = 1; // Will exit after 1 check crawlerThread.run(); verify(urlQueueService, times(1)).poll(anyString()); } /** * Test run method with crawler status DONE. */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
import org.apache.maven.api.cli.ParserRequest; import org.apache.maven.api.cli.mvnup.UpgradeOptions; import org.apache.maven.cling.invoker.mvnup.UpgradeContext; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; /** * Utility class for creating test fixtures and reducing code duplication in tests.
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.crawler.service.impl; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.ArgumentMatchers.eq; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.1K bytes - Viewed (0) -
tests/test_request_params/test_header/test_list.py
from typing import Annotated import pytest from dirty_equals import AnyThing, IsOneOf, IsPartialDict from fastapi import FastAPI, Header from fastapi.testclient import TestClient from pydantic import BaseModel, Field app = FastAPI() # ===================================================================================== # Without aliases @app.get("/required-list-str") async def read_required_list_str(p: Annotated[list[str], Header()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:31:34 UTC 2025 - 11K bytes - Viewed (0) -
tests/test_request_params/test_header/test_required_str.py
from typing import Annotated import pytest from dirty_equals import AnyThing, IsOneOf, IsPartialDict from fastapi import FastAPI, Header from fastapi.testclient import TestClient from pydantic import BaseModel, Field app = FastAPI() # ===================================================================================== # Without aliases @app.get("/required-str") async def read_required_str(p: Annotated[str, Header()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 10K bytes - Viewed (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
/// ## Order the parameters as you need { #order-the-parameters-as-you-need } /// tip This is probably not as important or necessary if you use `Annotated`. /// Let's say that you want to declare the query parameter `q` as a required `str`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.1K bytes - Viewed (0) -
lib/hg/goreposum.py
# all those branch names and heads as a conservative snapshot # of the entire remote repo state, and use that as the tag sum. # Any change on the server then invalidates the tag sum, # even if it didn't have anything to do with tags, but at least # we will avoid re-cloning a server when there have been no # changes at all. # # Separately, this extension also adds a 'golookup' command that
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Nov 11 15:21:02 UTC 2025 - 2.4K bytes - Viewed (0) -
docs/en/docs/tutorial/static-files.md
This is different from using an `APIRouter` as a mounted application is completely independent. The OpenAPI and docs from your main application won't include anything from the mounted application, etc. You can read more about this in the [Advanced User Guide](../advanced/index.md){.internal-link target=_blank}. ## Details { #details }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/en/docs/how-to/separate-openapi-schemas.md
...then because `description` has a default value, if you **don't return anything** for that field, it will still have that **default value**. ### Model for Output Response Data { #model-for-output-response-data } If you interact with the docs and check the response, even though the code didn't add anything in one of the `description` fields, the JSON response contains the default value (`null`):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
/// tip If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`. That way you tell the editor that you are intentionally returning anything. But FastAPI will still do the data documentation, validation, filtering, etc. with the `response_model`. /// ### `response_model` Priority { #response-model-priority }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0)