- Sort Score
- Result 10 results
- Languages All
Results 921 - 930 of 3,938 for toObject (0.05 sec)
-
android/guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java
assertEquals(1, Iterators.size(registry.getSubscribers(new Object()))); assertEquals(1, Iterators.size(registry.getSubscribers(1))); registry.register(new IntegerSubscriber()); assertEquals(3, Iterators.size(registry.getSubscribers(""))); assertEquals(1, Iterators.size(registry.getSubscribers(new Object()))); assertEquals(2, Iterators.size(registry.getSubscribers(1))); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 5.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
Set<Integer> x = set(1, 2); Set<String> y = set("3", "4"); List<Object> exp1 = list((Object) 1, "3"); List<Object> exp2 = list((Object) 1, "4"); List<Object> exp3 = list((Object) 2, "3"); List<Object> exp4 = list((Object) 2, "4"); assertThat(Sets.<Object>cartesianProduct(x, y)) .containsExactly(exp1, exp2, exp3, exp4) .inOrder(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 48.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/RelatedQueryTests.java
} @Override protected Map<String, Object> createTestParam(int id) { final Map<String, Object> requestBody = new HashMap<>(); final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); requestBody.put("queries", "query" + id); return requestBody; } @Override protected Map<String, Object> getUpdateMap() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/it/admin/dict/SynonymTests.java
} @Override protected Map<String, Object> createTestParam(int id) { final Map<String, Object> requestBody = new HashMap<>(); final String keyProp = NAME_PREFIX + id; requestBody.put(KEY_PROPERTY, keyProp); requestBody.put("outputs", "output"); return requestBody; } @Override protected Map<String, Object> getUpdateMap() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordingCallback.kt
) { responses.add(RecordedResponse(call.request(), null, null, null, e)) (this as Object).notifyAll() } @Synchronized override fun onResponse( call: Call, response: Response, ) { val body = response.body.string() responses.add(RecordedResponse(call.request(), response, null, body, null)) (this as Object).notifyAll() } /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model/test_filter_pydantic_sub_model_pv1.py
"required": ["username"], "type": "object", "properties": {"username": {"title": "Username", "type": "string"}}, }, "ValidationError": { "title": "ValidationError", "required": ["loc", "msg", "type"], "type": "object", "properties": { "loc": {
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.5K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
Then it would be very easy to provide a different settings object during testing by creating a dependency override for `get_settings`: ```Python hl_lines="9-10 13 21" {!../../docs_src/settings/app02/test_main.py!} ``` In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object. Then we can test that it is used.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 12.9K bytes - Viewed (0) -
cmd/erasure-metadata_test.go
mkTest(16, 4, 8), // Exact simple majority consensus mkTest(16, 4, 9), // non-tiered object require read quorum of EcM nonTieredTest(15, 3, 12), // non-tiered object with fewer than EcM in consensus nonTieredTest(15, 3, 11), // non-tiered object require read quorum of EcM nonTieredTest(16, 4, 12), // non-tiered object with fewer than EcM in consensus nonTieredTest(16, 4, 11), } for i, test := range tests {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jul 25 21:02:50 UTC 2024 - 13.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
assertEquals(2 * values.size(), alternatingKeysAndValues.length); for (int i = 0; i < map.size(); i++) { Object expectedKey = alternatingKeysAndValues[2 * i]; Object expectedValue = alternatingKeysAndValues[2 * i + 1]; Entry<Object, Object> expectedEntry = immutableEntry(expectedKey, expectedValue); assertEquals(expectedEntry, entries.get(i)); assertEquals(expectedKey, keys.get(i));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 7.7K bytes - Viewed (0) -
common-protos/k8s.io/api/events/v1beta1/generated.proto
// it acts on some changes in a ReplicaSet object. // +optional optional k8s.io.api.core.v1.ObjectReference regarding = 8; // related is the optional secondary object for more complex actions. E.g. when regarding object triggers // a creation or deletion of related object. // +optional optional k8s.io.api.core.v1.ObjectReference related = 9;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 5.2K bytes - Viewed (0)