- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 343 for bar2 (0.02 seconds)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
Files.writeString(defPath, "foo=bar"); Path envPath = userDirectory.resolve("env-ci.properties"); Files.writeString(envPath, "foo=bar-env\nfoo-env=bar\n"); Properties p = new Properties(); p.put("user.home", userDirectory.toString()); MavenPropertiesLoader.loadProperties(p, mavenUserProps, p::getProperty, false); assertEquals("bar", p.getProperty("foo"));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
final MethodDesc bar = beanDesc.getMethodDesc("bar", String.class); assertThat(bar, is(notNullValue())); assertThat(bar.getBeanDesc(), is(sameInstance(beanDesc))); assertThat(bar.getMethod(), is(MyBean.class.getDeclaredMethod("bar", String.class))); assertThat(bar.getParameterTypes().length, is(1)); assertThat(bar.getMethodName(), is("bar")); assertThat(bar.isPublic(), is(true));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0) -
tests/test_jsonable_encoder.py
with pytest.raises(ValidationError): ModelWithAlias(foo="Bar") def test_encode_model_with_alias(): model = ModelWithAlias(Foo="Bar") assert jsonable_encoder(model) == {"Foo": "Bar"} def test_encode_model_with_default(): model = ModelWithDefault(foo="foo", bar="bar") assert jsonable_encoder(model) == {"foo": "foo", "bar": "bar", "bla": "bla"}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.2K bytes - Click Count (0) -
docs/ja/docs/tutorial/body-updates.md
{* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *} `PUT`は、既存のデータを置き換えるべきデータを受け取るために使用されます。 ### 置換についての注意 { #warning-about-replacing } つまり、`PUT`を使用して以下のボディで項目`bar`を更新したい場合は: ```Python { "name": "Barz", "price": 3, "description": None, } ``` すでに格納されている属性`"tax": 20.2`を含まないため、入力モデルは`"tax": 10.5`のデフォルト値を取ります。 そして、データはその「新しい」`10.5`の`tax`と共に保存されます。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 5.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableTableTest.java
Table<Character, Integer, String> expectedTable = HashBasedTable.create(); expectedTable.put('a', 1, "foo"); expectedTable.put('b', 1, "bar"); expectedTable.put('a', 2, "baz"); Table<Character, Integer, String> otherTable = HashBasedTable.create(); otherTable.put('b', 1, "bar"); otherTable.put('a', 2, "baz"); assertEquals(expectedTable, builder.putAll(otherTable).buildOrThrow()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
System.setProperty("var1", "value1"); System.setProperty("var2", "value2"); String value = "${var1}-${var2}"; assertEquals("value1-value2", ResourceUtil.resolve(value)); // Test nested-like patterns (but not actual nesting) value = "${var1${var2}}"; // The ${var2} part gets replaced first assertEquals("${var1value2}", ResourceUtil.resolve(value));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 11.8K bytes - Click Count (0) -
okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt
C|/foo/bar s:file p:/C:/foo/bar # This should fail /C|\\foo\\bar s:file p:/C:/foo/bar //C|/foo/bar s:file p:/C:/foo/bar //server/file s:file h:server p:/file \\\\server\\file s:file h:server p:/file /\\server/file s:file h:server p:/file file:///foo/bar.txt s:file p:/foo/bar.txt file:///home/me s:file p:/home/me // s:file p:/ /// s:file p:/ ///test s:file p:/test file://test s:file h:test p:/
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 14.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractTableTest.java
} public void testPutNullReplace() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); if (supportsNullValues()) { assertEquals((Character) 'b', table.put("bar", 1, nullableCellValue(null))); assertThat(table.get("bar", 1)).isNull(); } else { assertThrows(NullPointerException.class, () -> table.put("bar", 1, nullableCellValue(null))); } } public void testPutAllTable() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/TreeBasedTableTest.java
table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); SerializableTester.reserializeAndAssert(table); } public void testToString_ordered() { table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); assertThat(table.toString()).isEqualTo("{bar={1=b}, foo={1=a, 3=c}}"); assertThat(table.rowMap().toString()).isEqualTo("{bar={1=b}, foo={1=a, 3=c}}"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 15.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 14 02:17:00 GMT 2025 - 6.5K bytes - Click Count (0)