- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 4,419 for getI (0.02 seconds)
-
src/test/java/jcifs/DfsReferralDataTest.java
void testGetPath() { // Given String path = "/test/path"; when(mockReferralData.getPath()).thenReturn(path); // When String result = mockReferralData.getPath(); // Then assertEquals(path, result); verify(mockReferralData).getPath(); } @Test @DisplayName("Should get expiration") void testGetExpiration() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
assertEquals(4, problems.messages.size()); assertContains(problems.messages.get(0), "'mirrors.mirror.id' must not be 'local'"); assertContains(problems.messages.get(1), "'mirrors.mirror.url' for local is missing"); assertContains(problems.messages.get(2), "'mirrors.mirror.mirrorOf' for local is missing"); assertContains(problems.messages.get(3), "'mirrors.mirror.id' must not contain any of these characters"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsElevateWordBhv.java
result.setBoost(DfTypeUtil.toFloat(source.get("boost"))); result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy"))); result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime"))); result.setPermissions(toStringArray(source.get("permissions"))); result.setReading(DfTypeUtil.toString(source.get("reading")));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
0, unhashables.e0(), 2, "hey you", 0, unhashables.e1()); assertEquals(2, multimap.get(0).size()); assertTrue(multimap.get(0).contains(unhashables.e0())); assertTrue(multimap.get(0).contains(unhashables.e1())); assertTrue(multimap.get(2).contains("hey you")); } public void testEquals() { new EqualsTester()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/config/exentity/ScheduledJobTest.java
params.put(Constants.JOB_LOG_ID, "test-log-id-abc"); scheduledJob.start(params); assertTrue(launchNowCalled.get()); assertNotNull(capturedOption.get()); assertEquals("test-log-id-abc", capturedOption.get().getParameterMap().get(Constants.JOB_LOG_ID)); } @Test public void test_startWithEmptyParams_callsLaunchNowWithoutParams() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 15.8K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/UnresolvableModelException.java
this.artifactId = artifactId; this.version = version; } /** * Gets the group id of the unresolvable model. * * @return The group id of the unresolvable model, can be empty but never {@code null}. */ public String getGroupId() { return groupId; } /** * Gets the artifact id of the unresolvable model. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
* same result. */ enum CollectStrategy { /** Get one accumulator and accumulate the elements into it sequentially. */ SEQUENTIAL { @Override final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> A result(Collector<T, A, R> collector, Iterable<T> inputs) { A accum = collector.supplier().get(); for (T input : inputs) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/SingleThreadAbstractFutureBenchmark.java
for (int i = 0; i < reps; i++) { Facade<Integer> localFuture = impl.newFacade(); list.add(localFuture); localFuture.set(i); } for (int i = 0; i < reps; i++) { r += list.get(i).get(); } return r; } @Benchmark public long timeComplete_Failure(int reps) throws Exception { long r = 0; List<Facade<Integer>> list = new ArrayList<>(reps);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 3.7K bytes - Click Count (0) -
tests/test_schema_ref_pydantic_v2.py
model_config = ConfigDict(validate_by_alias=True, serialize_by_alias=True) @app.get("/", response_model=ModelWithRef) async def read_root() -> Any: return {"$ref": "some-ref"} client = TestClient(app) return client def test_get(client: TestClient): response = client.get("/") assert response.json() == {"$ref": "some-ref"} def test_openapi_schema(client: TestClient):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 2.1K bytes - Click Count (0) -
tests/test_stream_bare_type.py
name: str app = FastAPI() @app.get("/items/stream-bare-async") async def stream_bare_async() -> AsyncIterable: yield {"name": "foo"} @app.get("/items/stream-bare-sync") def stream_bare_sync() -> Iterable: yield {"name": "bar"} client = TestClient(app) def test_stream_bare_async_iterable(): response = client.get("/items/stream-bare-async") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 1.1K bytes - Click Count (0)