- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 2,420 for Value1 (0.04 seconds)
-
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
assertThat(cache.asMap().values()).containsExactly(value1, value2); assertThat(cache.asMap().entrySet()) .containsExactly(immutableEntry(key1, value1), immutableEntry(key2, value2)); } } public void testInvalidate() { for (LoadingCache<Key, String> cache : caches()) { Key key1 = new Key(1); String value1 = key1.toString(); Key key2 = new Key(2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java
wrapper2.setProperty("from.wrapper2", "value2"); // Both wrappers should see all changes immediately assertEquals("value1", wrapper1.getProperty("from.wrapper1")); assertEquals("value2", wrapper1.getProperty("from.wrapper2")); assertEquals("value1", wrapper2.getProperty("from.wrapper1")); assertEquals("value2", wrapper2.getProperty("from.wrapper2"));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 12 07:26:53 GMT 2025 - 10.5K bytes - Click Count (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
TestDomainObject value1 = new TestDomainObject('a') TestDomainObject value2 = new TestDomainObject('a') repository.put('class1', value1) repository.put('class2', value2) Closure cl = Mock() when: repository.each(cl) then: 1 * cl.call(['class1', value1] as Object[]) 1 * cl.call(['class2', value2] as Object[]) 0 * cl._ }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sat Apr 06 02:21:33 GMT 2024 - 3.8K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
private static final String RESULT3 = COMMENT + LINE_SEPARATOR + COMMENT + LINE_SEPARATOR + KEY1A + " = " + VALUE1 + "\\" + LINE_SEPARATOR + VALUE1 + LINE_SEPARATOR; @Test public void testSaveComment3() throws Exception { properties.put(KEY1, List.of(new String[] {COMMENT, COMMENT}), List.of(new String[] {VALUE1, VALUE1})); StringWriter sw = new StringWriter(); properties.save(sw);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 16.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
headersOf("header1", "valué1") }.also { expected -> assertThat(expected.message) .isEqualTo("Unexpected char 0xe9 at 4 in header1 value: valué1") } } @Test fun mapFactoryRejectsUnicodeInHeaderName() { assertFailsWith<IllegalArgumentException> { mapOf("héader1" to "value1").toHeaders() }.also { expected -> assertThat(expected.message)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 8.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
assertThat(cache.asMap().values()).containsExactly(value1, value2); assertThat(cache.asMap().entrySet()) .containsExactly(immutableEntry(key1, value1), immutableEntry(key2, value2)); } } public void testInvalidate() { for (LoadingCache<Key, String> cache : caches()) { Key key1 = new Key(1); String value1 = key1.toString(); Key key2 = new Key(2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
TestBean bean2 = new TestBean(); PlexusConfiguration config = new XmlPlexusConfiguration("test"); config.setValue("value1"); when(evaluator.evaluate("value1")).thenReturn("value1"); when(evaluator.evaluate("value2")).thenReturn("value2"); java.lang.reflect.Field field = TestBean.class.getDeclaredField("directField"); // First access
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 8.7K bytes - Click Count (0) -
tests/scanner_valuer_test.go
Structs: StructsSlice{ {"name1", "value1"}, {"name2", "value2"}, }, Role: Role{Name: "admin"}, ExampleStruct: ExampleStruct{"name", "value1"}, ExampleStructPtr: &ExampleStruct{"name", "value2"}, } if err := DB.Create(&data).Error; err != nil { t.Fatalf("No error should happened when create scanner valuer struct, but got %v", err) } var result ScannerValuerStructCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
internal/bucket/lifecycle/lifecycle_test.go
`<LifecycleConfiguration><Rule><Filter><And><Prefix>foodir/</Prefix><Tag><Key>tag1</Key><Value>value1</Value></Tag><Tag><Key>tag2</Key><Value>value2</Value></Tag></And></Filter><Status>Enabled</Status><Expiration><Date>` + time.Now().Truncate(24*time.Hour).UTC().Add(-24*time.Hour).Format(time.RFC3339) + `</Date></Expiration></Rule><Rule><Filter><And><Prefix>abc/</Prefix><Tag><Key>tag2</Key><Value>value</Value></Tag></And></Filter><Status>Enabled</Status><Expiration><Date>` + time.Now().Truncate(2...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
internal/bucket/lifecycle/filter_test.go
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 7.2K bytes - Click Count (0)