- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 553 for barT (0.06 sec)
-
android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
@Override public SampleElements<Entry<String, Integer>> samples() { return new SampleElements<>( immutableEntry("bar", 1), immutableEntry("bar", 2), immutableEntry("foo", 3), immutableEntry("bar", 3), immutableEntry("cat", 2)); } @Override public Collection<Entry<String, Integer>> create(Object... elements) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java
multiset.add("foo", 2); multiset.add("bar"); assertEquals(3, multiset.size()); assertEquals(2, multiset.count("foo")); assertEquals("[foo x 2, bar]", multiset.toString()); } public void testCreateWithSize() { Multiset<String> multiset = LinkedHashMultiset.create(50); multiset.add("foo", 2); multiset.add("bar"); assertEquals(3, multiset.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 4.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java
assertEquals(Arrays.asList(4, 5), multimap.get("bar")); assertEquals(6, multimap.size()); } public void testBuilderPutAllMultimapWithDuplicates() { Multimap<String, Integer> toPut = LinkedListMultimap.create(); toPut.put("foo", 1); toPut.put("bar", 4); toPut.put("foo", 2); toPut.put("foo", 1); toPut.put("bar", 5);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 25.4K 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) -
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) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
new EqualsTester() .addEqualityGroup(named("foo").addPeers("bar"), named("bar").addPeers("foo", "x")) .addEqualityGroup(named("baz").addPeers("x"), named("x").addPeers("baz", "bar")); try { tester.testEquals(); } catch (AssertionFailedError e) { assertErrorMessage( e, "bar [group 1, item 2] must not be Object#equals to x [group 2, item 2]"); return; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 15:00:32 UTC 2024 - 12.9K 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) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
import static com.google.common.collect.testing.features.FeatureUtil.impliedFeatures; import static com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.BAR; import static com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.FOO; import static com.google.common.collect.testing.features.FeatureUtilTest.ExampleFeature.IMPLIES_BAR;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 05 22:05:05 UTC 2024 - 11.5K bytes - Viewed (0) -
docs_src/response_model/tutorial006_py310.py
class Item(BaseModel): name: str description: 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: Fri Jan 07 14:11:31 UTC 2022 - 816 bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
@Override public SampleElements<Entry<String, Integer>> samples() { return new SampleElements<>( immutableEntry("bar", 1), immutableEntry("bar", 2), immutableEntry("foo", 3), immutableEntry("bar", 3), immutableEntry("cat", 2)); } @Override public Collection<Entry<String, Integer>> create(Object... elements) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 28.9K bytes - Viewed (0)