- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,014 for foo1 (0.04 sec)
-
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SinceAndIncubatingRulesKotlinTest.kt
added("Method", "Foo.foo()") ) } checkBinaryCompatibleKotlin( v1 = baseline, v2 = """ /** @since 1.0 */ interface Foo { /** @since 2.0 */ @Incubating fun foo() } /** @since 1.0 */
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jul 11 06:57:51 UTC 2023 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
multimap.put("foo", 1); multimap.put("foo", 3); assertTrue(multimap.get("foo") instanceof RandomAccess); assertTrue(multimap.get("bar") instanceof RandomAccess); } /** Confirm that removeAll() returns a List implementing RandomAccess. */ public void testRemoveAllRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 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) -
tests/test_extra_routes.py
assert response.status_code == 200, response.text assert response.json() == {"item_id": "foo", "item": {"name": "Foo", "price": None}} def test_head(): response = client.head("/items/foo") assert response.status_code == 200, response.text assert response.headers["x-fastapi-item-id"] == "foo" def test_options(): response = client.options("/items/foo")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.7K bytes - Viewed (0) -
tests/test_response_by_alias.py
return {"alias": "Foo"} @app.get("/by-alias/model", response_model=Model) def by_alias_model(): return Model(alias="Foo") @app.get("/by-alias/list", response_model=List[Model]) def by_alias_list(): return [{"alias": "Foo"}, {"alias": "Bar"}] @app.get("/no-alias/dict", response_model=ModelNoAlias) def no_alias_dict(): return {"name": "Foo"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 11.1K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
assertThat(findClassesToTest(ImmutableList.of(Foo.class))).containsExactly(Foo.class); assertThat(findClassesToTest(ImmutableList.of(Foo.class, Foo2Test.class))) .containsExactly(Foo.class); } public void testFindClassesToTest_publicApiOnly() { sanityTests.publicApiOnly(); assertThat(findClassesToTest(ImmutableList.of(Foo.class))).isEmpty();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 21:37:55 UTC 2019 - 5.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt
fun foo(bar: String?) {} } """, v2 = """ class Source(some: String) { var someVar: String = "some" fun foo(bar: String) {} } """ ) { assertHasErrors(
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 9.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
assertFalse(entry("foo", 1).equals(control("bar", 1))); assertFalse(entry("foo", 1).equals(new Object())); assertFalse(entry("foo", 1).equals(null)); } public void testEqualsNull() { assertEquals(control(NE, 1), entry(NE, 1)); assertFalse(control(NE, 1).equals(entry(NE, 2))); assertFalse(entry(NE, 1).equals(control("bar", 1)));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
multimap.put("foo", 1); multimap.put("foo", 3); assertTrue(multimap.get("foo") instanceof RandomAccess); assertTrue(multimap.get("bar") instanceof RandomAccess); } /** Confirm that removeAll() returns a List implementing RandomAccess. */ public void testRemoveAllRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 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) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
Multimap<String, Integer> toPut = LinkedListMultimap.create(); toPut.put("foo", 1); toPut.put("bar", 4); toPut.put("foo", 2); toPut.put("foo", 3); Multimap<String, Integer> moreToPut = LinkedListMultimap.create(); moreToPut.put("foo", 6); moreToPut.put("bar", 5); moreToPut.put("foo", 7); ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.9K bytes - Viewed (0) -
docs_src/app_testing/app_b_py310/test_main.py
client = TestClient(app) def test_read_item(): response = client.get("/items/foo", headers={"X-Token": "coneofsilence"}) assert response.status_code == 200 assert response.json() == { "id": "foo", "title": "Foo", "description": "There goes my hero", } def test_read_item_bad_token(): response = client.get("/items/foo", headers={"X-Token": "hailhydra"}) assert response.status_code == 400
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0)