- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 3,810 for value2 (0.08 seconds)
-
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
// Test with normal name and values String name = "paramName"; String[] values = { "value1", "value2", "value3" }; RequestParameter param = new RequestParameter(name, values); assertEquals(name, param.getName()); assertNotNull(param.getValues()); assertEquals(3, param.getValues().length); assertEquals("value1", param.getValues()[0]);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/stream/StreamUtilTest.java
public class StreamUtilTest extends TestCase { public void test_ofValues() { String[] values = { "value1", "value2" }; StreamUtil.stream(values[0], values[1]).of(s -> { Object[] array = s.toArray(); for (int i = 0; i < 2; i++) { assertEquals(values[i], array[i]); } }); } public void test_ofNull() {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
public void test_multipleOperations() { // Add initial values dataStoreParams.put("key1", "value1"); dataStoreParams.put("key2", 123); // Add more values using putAll Map<String, String> additionalParams = new HashMap<>(); additionalParams.put("key3", "value3"); additionalParams.put("key4", "value4"); dataStoreParams.putAll(additionalParams);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java
facetQueryView.addQuery("label1", "field1:value1"); facetQueryView.addQuery("label2", "field2:value2"); facetQueryView.init(); // Should not modify query map when no filetype queries present assertEquals(2, facetQueryView.getQueryMap().size()); assertEquals("field1:value1", facetQueryView.getQueryMap().get("label1")); assertEquals("field2:value2", facetQueryView.getQueryMap().get("label2"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 17.9K bytes - Click Count (0) -
tests/scanner_valuer_test.go
switch value := input.(type) { case string: return json.Unmarshal([]byte(value), l) case []byte: return json.Unmarshal(value, l) default: return errors.New("not supported") } } type Role struct { Name string `gorm:"size:256"` } func (role *Role) Scan(value interface{}) error { if b, ok := value.([]uint8); ok { role.Name = string(b) } else { role.Name = value.(string) }Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 07 07:02:07 GMT 2023 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
System.setProperty("custom.prop.one", "value1"); System.setProperty("custom.prop.two", "value2"); System.setProperty("other.property", "value3"); // Test with regex pattern execJob.testAddFessCustomSystemProperties(cmdList, "custom\\.prop\\..*"); assertEquals(2, cmdList.size()); assertTrue(cmdList.contains("-Dcustom.prop.one=value1"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
ClosingFuture.from(immediateFuture("value2")), ClosingFuture.from(immediateFuture("value3"))) .call( (DeferredCloser closer, TestCloseable v1, String v2, String v3) -> { assertThat(v1).isEqualTo(closeable1); assertThat(v2).isEqualTo("value2"); assertThat(v3).isEqualTo("value3"); assertStillOpen(closeable1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 63K bytes - Click Count (0) -
tests/test_filter_pydantic_sub_model_pv2.py
"tags": {"key1": "value1", "key2": "value2"}, } def test_validator_is_cloned(client: TestClient): with pytest.raises(ResponseValidationError) as err: client.get("/model/modelX") assert err.value.errors() == [ { "type": "value_error", "loc": ("response", "name"), "msg": "Value error, name must end in A", "input": "modelX",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ToStringHelperTest.java
.add("field1", 1) .addValue("value1") .add("field2", "value2"); String expected = "TestClass{field1=1, value1, field2=value2}"; assertThat(helper.toString()).isEqualTo(expected); // Call toString again assertThat(helper.toString()).isEqualTo(expected); // Make sure the cached value is reset when we modify the helper at all
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 22K bytes - Click Count (0) -
tests/preload_test.go
DB.Migrator().AutoMigrate(&Preload{}, &Join{}, &Nested{}, &Value{}) value1 := Value{ Name: "value", Nested: Nested{ Preloads: []*Preload{ {Value: "p1"}, {Value: "p2"}, }, Join: Join{Value: "j1"}, }, } value2 := Value{ Name: "value2", Nested: Nested{ Preloads: []*Preload{ {Value: "p3"}, {Value: "p4"}, {Value: "p5"}, },
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 12 10:00:47 GMT 2024 - 15.9K bytes - Click Count (0)