- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 5,543 for THAT (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
val c1 = factory.newConnection(pool, routeA1, 50L) // Running at time 50, the pool returns that nothing can be evicted until time 150. assertThat(pool.closeConnections(50L)).isEqualTo(100L) assertThat(pool.connectionCount()).isEqualTo(1) assertThat(c1.socket().isClosed).isFalse() // Running at time 60, the pool returns that nothing can be evicted until time 150. assertThat(pool.closeConnections(60L)).isEqualTo(90L)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
private EmptyGenerator emptyGenerator; @Test public void test_generate() { // Initialize without container emptyGenerator = new EmptyGenerator(); // Test that generate always returns false File outputFile = new File("test.jpg"); assertFalse(emptyGenerator.generate("thumbnailId", outputFile)); assertFalse(emptyGenerator.generate(null, outputFile));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
*/ package org.apache.maven.model.building; import org.apache.maven.model.Model; /** * Describes a problem that was encountered during model building. A problem can either be an exception that was thrown * or a simple string message. In addition, a problem carries a hint about its source, e.g. the POM file that exhibits * the problem. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java
wrapper = new CIFSContextCredentialWrapper(mockDelegate, mockCredentials); } @Test @DisplayName("Should construct with delegate and credentials") void testConstructor() { // Verify that the constructor correctly sets the delegate (inherited from CIFSContextWrapper) // and the credentials. The delegate is tested implicitly by calling super's methods.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java
UpgradeContext context = createMockContext(); help.execute(context); // Verify that logger.info was called multiple times // We can't easily verify the exact content without capturing the logger output, // but we can verify that the method executes without errors Mockito.verify(context.logger, Mockito.atLeastOnce()).info(Mockito.anyString()); } @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Aug 29 12:46:51 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java
// Test default constructor AggregateLogJob job = new AggregateLogJob(); assertNotNull(job); } @Test public void test_execute_success() { // Setup mock SearchLogHelper that succeeds SearchLogHelper mockSearchLogHelper = new SearchLogHelper() { @Override public void storeSearchLog() { // Successful execution - no exception thrown }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 12.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
} /** * Configures this {@code Builder} to order entries by value according to the specified * comparator. * * <p>The sort order is stable, that is, if two entries have values that compare as equivalent, * the entry that was inserted first will be first in the built map's iteration order. * * @throws IllegalStateException if this method was already called * @since 19.0 */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
architecture/standards/0006-use-of-provider-apis-in-gradle.md
new properties on a task, extension or domain object that use plain getters and setters. It is also not acceptable to add setters that take a Provider. Note that when adding a lazy property to an existing class, you need to check if instances of the class are instantiated via ObjectFactory. Most classes are instantiated this way, but it's possible that a class without any lazy properties was never updated to use it. A tell-tale sign that an object is not instantiated via the ObjectFactory...
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/TestingCacheLoaders.java
} return result; } }; } /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */ static <K, V> ConstantLoader<K, V> constantLoader(@Nullable V constant) { return new ConstantLoader<>(constant); } /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */ static IncrementingLoader incrementingLoader() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 13:13:59 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/en/docs/advanced/dataclasses.md
In this case, it's a list of `Item` dataclasses. 6. Here we are returning a dictionary that contains `items` which is a list of dataclasses. FastAPI is still capable of <dfn title="converting the data to a format that can be transmitted">serializing</dfn> the data to JSON. 7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4K bytes - Click Count (0)