- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for testSum (0.06 sec)
-
guava-tests/test/com/google/common/base/EnumsTest.java
assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).isPresent(); assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).isPresent(); assertThat(Enums.getIfPresent(TestEnum.class, "CHEETO")).hasValue(TestEnum.CHEETO); assertThat(Enums.getIfPresent(TestEnum.class, "HONDA")).hasValue(TestEnum.HONDA); assertThat(Enums.getIfPresent(TestEnum.class, "POODLE")).hasValue(TestEnum.POODLE); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 29 16:29:37 UTC 2024 - 8.7K bytes - Viewed (0) -
callbacks/helper_test.go
"reflect" "testing" "gorm.io/gorm" "gorm.io/gorm/clause" ) func TestLoadOrStoreVisitMap(t *testing.T) { var vm visitMap var loaded bool type testM struct { Name string } t1 := testM{Name: "t1"} t2 := testM{Name: "t2"} t3 := testM{Name: "t3"} vm = make(visitMap) if loaded = loadOrStoreVisitMap(&vm, reflect.ValueOf(&t1)); loaded { t.Fatalf("loaded should be false") }
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 05 02:22:57 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/NtlmTest.java
this.context = SingletonContext.getInstance(); } @Test public void testParsingType1 () throws IOException { int flags = 0x80000000; String suppliedDomain = "TESTDOM"; String suppliedWorkstation = "TESTWS"; Type1Message t1 = new Type1Message(this.context, flags, suppliedDomain, suppliedWorkstation); int origFlags = t1.getFlags();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 16 10:38:43 UTC 2018 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java
for (Table<Character, Integer, String> testInstance : getTestInstances()) { assertThrows(UnsupportedOperationException.class, () -> testInstance.clear()); } } public final void testPut() { for (Table<Character, Integer, String> testInstance : getTestInstances()) { assertThrows(UnsupportedOperationException.class, () -> testInstance.put('a', 1, "blah")); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java
@J2ktIncompatible @GwtIncompatible // NullPointerTester @Override public void testNullPointerInstance() {} // put() and putAll() aren't supported. @Override public void testPut() { assertThrows(UnsupportedOperationException.class, () -> table.put("foo", 1, 'a')); assertSize(0); } @Override public void testPutAllTable() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
assertEquals(0, table.size()); assertFalse(table.containsRow("foo")); } else { assertThrows(UnsupportedOperationException.class, () -> table.clear()); } } public void testPut() { assertNull(table.put("foo", 1, cellValue('a'))); assertNull(table.put("bar", 1, cellValue('b'))); assertNull(table.put("foo", 3, cellValue('c')));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 5.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
assertThat(map.get("One"), is("1")); assertThat(map.get("hoge"), is(nullValue())); } /** * @throws Exception */ @Test public void testPut() throws Exception { assertThat(map.put("One", "11"), is("1")); assertThat(map.get("one"), is("11")); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} public void testContainsValue() { boolean unused = create().containsValue(null); } public void testGet() { create().get(null); } public void testPut() { create().put(null, null); } public void testPutAll() { create().putAll(new HashMap<String, Integer>()); } public void testKeySet() { Map<String, Integer> map = create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0) -
docs/pt/docs/benchmarks.md
Especificamente, observa-se Uvicorn, Starlette e FastAPI comparados juntos (entre muitas outras ferramentas). Quanto mais simples o problema resolvido pela ferramenta, melhor a performance que ela terá. E a maioria dos _benchmarks_ não testam as características adicionais fornecidas pela ferramenta. A hierarquia segue assim: * **Uvicorn**: um servidor ASGI * **Starlette**: (utiliza Uvicorn) um _microframework web_
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu May 12 00:06:16 UTC 2022 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
} public void testContainsValue() { boolean unused = create().containsValue(null); } public void testGet() { create().get(null); } public void testPut() { create().put(null, null); } public void testPutAll() { create().putAll(new HashMap<String, Integer>()); } public void testKeySet() { Map<String, Integer> map = create();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 5.8K bytes - Viewed (0)