- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 589 for bar6 (0.09 sec)
-
guava-tests/test/com/google/common/base/CaseFormatTest.java
assertEquals("foo", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo")); assertEquals("foo-bar", LOWER_HYPHEN.to(LOWER_HYPHEN, "foo-bar")); } public void testLowerHyphenToLowerUnderscore() { assertEquals("foo", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo")); assertEquals("foo_bar", LOWER_HYPHEN.to(LOWER_UNDERSCORE, "foo-bar")); } public void testLowerHyphenToLowerCamel() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 8.7K bytes - Viewed (0) -
tests/test_dependency_security_overrides.py
user_data: Tuple[str, List[str]] = Security(get_user, scopes=["foo", "bar"]), data: List[int] = Depends(get_data), ): return {"user": user_data[0], "scopes": user_data[1], "data": data} client = TestClient(app) def test_normal(): response = client.get("/user") assert response.json() == { "user": "john", "scopes": ["foo", "bar"], "data": [1, 2, 3], }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 14 15:54:46 UTC 2020 - 1.4K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CleanArgumentTest.java
} @Test void cleanArgsShouldRemoveWrongSurroundingQuotes() { String[] args = {"\"-Dfoo=bar", "\"-Dfoo2=bar two\""}; String[] cleanArgs = CleanArgument.cleanArgs(args); assertEquals(args.length, cleanArgs.length); assertEquals("-Dfoo=bar", cleanArgs[0]); assertEquals("-Dfoo2=bar two", cleanArgs[1]); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java
* {@code {"--module-path", "dir\path1;dir\path2"}} on Windows.</li> * <li>If this type was created by {@code JavaPathType.patchModule("foo.bar")}, then the method returns * {@code {"--patch-module", "foo.bar=dir/path1:dir/path2"}} on Unix or * {@code {"--patch-module", "foo.bar=dir\path1;dir\path2"}} on Windows.</li> * </ul> * * @param paths the path to format as a string
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSinkTest.java
sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream()); String separator = LINE_SEPARATOR.value(); assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString()); } public void testWriteLines_stream_separator() throws IOException { sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream(), "!"); assertEquals("foo!bar!baz!", sink.getString()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
multimap.put("foo", 1); multimap.put("foo", 2); multimap.put("bar", 3); multimap.trimToSize(); assertEquals(3, multimap.size()); assertThat(multimap.get("foo")).containsExactly(1, 2).inOrder(); assertThat(multimap.get("bar")).contains(3); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 6.5K bytes - Viewed (0) -
docs_src/app_testing/app_b_an/main.py
from pydantic import BaseModel from typing_extensions import Annotated fake_secret_token = "coneofsilence" fake_db = { "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"}, "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"}, } app = FastAPI() class Item(BaseModel): id: str title: str description: Union[str, None] = None
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Aug 15 22:31:16 UTC 2024 - 1.2K bytes - Viewed (0) -
docs_src/app_testing/app_b/main.py
from pydantic import BaseModel fake_secret_token = "coneofsilence" fake_db = { "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"}, "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"}, } app = FastAPI() class Item(BaseModel): id: str title: str description: Union[str, None] = None
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Jan 09 14:44:08 UTC 2024 - 1.1K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an.py
with client.websocket_connect("/items/bar/ws?token=some-token") as websocket: message = "Message one" websocket.send_text(message) data = websocket.receive_text() assert data == "Session cookie or query token value is: some-token" data = websocket.receive_text() assert data == f"Message text was: {message}, for item ID: bar" message = "Message two"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.6K bytes - Viewed (0) -
docs_src/response_model/tutorial005.py
class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: float = 10.5 items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The Bar fighters", "price": 62, "tax": 20.2}, "baz": { "name": "Baz", "description": "There goes my baz", "price": 50.2, "tax": 10.5, }, } @app.get(
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 848 bytes - Viewed (0)