- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 510 for bar1 (0.12 sec)
-
guava-tests/test/com/google/common/collect/HashBiMapTest.java
map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.remove("foo"); assertThat(map.entrySet()) .containsExactly(immutableEntry("bar", 2), immutableEntry("quux", 3)) .inOrder(); } public void testInsertionOrderAfterRemoveMiddle() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 8.3K bytes - Viewed (0) -
tests/test_annotated.py
("/default?foo=bar", 200, {"foo": "bar"}), ("/required?foo=bar", 200, {"foo": "bar"}), ("/required", 422, foo_is_missing), ("/required?foo=", 422, foo_is_short), ("/multiple?foo=bar", 200, {"foo": "bar"}), ("/multiple", 422, foo_is_missing), ("/multiple?foo=", 422, foo_is_short), ("/unrelated?foo=bar", 200, {"foo": "bar"}), ("/unrelated", 422, foo_is_missing),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.2K bytes - Viewed (0) -
android/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) -
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
public class RegularImmutableTableTest extends AbstractImmutableTableTest { private static final ImmutableSet<Cell<Character, Integer, String>> CELLS = ImmutableSet.of( immutableCell('a', 1, "foo"), immutableCell('b', 1, "bar"), immutableCell('a', 2, "baz")); private static final ImmutableSet<Character> ROW_SPACE = ImmutableSet.of('a', 'b'); private static final ImmutableSet<Integer> COLUMN_SPACE = ImmutableSet.of(1, 2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingConcurrentMapTest.java
assertEquals(Integer.valueOf(1), map.get("foo")); assertNull(map.putIfAbsent("bar", 3)); assertEquals(Integer.valueOf(3), map.get("bar")); } public void testRemove() { TestMap map = new TestMap(); map.put("foo", 1); assertFalse(map.remove("foo", 2)); assertFalse(map.remove("bar", 1)); assertEquals(Integer.valueOf(1), map.get("foo")); assertTrue(map.remove("foo", 1));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/duperror.s
// license that can be found in the LICENSE file. TEXT foo(SB), 0, $0 RET TEXT foo(SB), 0, $0 // ERROR "symbol foo redeclared" RET GLOBL bar(SB), 0, $8 GLOBL bar(SB), 0, $8 // ERROR "symbol bar redeclared" DATA bar+0(SB)/8, $0
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Dec 05 23:21:07 UTC 2022 - 404 bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
assertEquals("bar x 2", entry("bar", 2).toString()); } public void testToStringNull() { assertEquals("null", entry(NE, 1).toString()); assertEquals("null x 2", entry(NE, 2).toString()); } public void testEquals() { assertEquals(control("foo", 1), entry("foo", 1)); assertEquals(control("bar", 2), entry("bar", 2));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java
exp = "file://C .doc"; assertEquals(exp, transformer.decodeUrlAsName(url, true)); url = "http://example.com/foo/" + encodeUrl("#") + "/@@bar/index.html#fragment?foo=bar"; exp = "http://example.com/foo/#/@@bar/index.html#fragment?foo=bar"; assertEquals(exp, transformer.decodeUrlAsName(url, false)); } public void test_getFileName_ok() throws Exception { String url, exp;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 04 06:20:49 UTC 2024 - 9.8K bytes - Viewed (0) -
tests/test_query.py
response = client.get("/query/optional") assert response.status_code == 200 assert response.json() == "foo bar" def test_query_optional_query_baz(): response = client.get("/query/optional?query=baz") assert response.status_code == 200 assert response.json() == "foo bar baz" def test_query_optional_not_declared_baz(): response = client.get("/query/optional?not_declared=baz")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
*/ public void testTrueFirstFalseFirst() { Bar trueBar = new Bar(true); Bar falseBar = new Bar(false); assertThat(ComparisonChain.start().compareTrueFirst(trueBar.isBaz(), falseBar.isBaz()).result()) .isLessThan(0); Comparator<Bar> trueFirstComparator = comparing(Bar::isBaz, Booleans.trueFirst()); assertThat(trueFirstComparator.compare(trueBar, falseBar)).isLessThan(0);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 13:27:08 UTC 2024 - 7.5K bytes - Viewed (0)