- Sort Score
- Num 10 results
- Language All
Results 3041 - 3050 of 3,506 for user (0.02 seconds)
-
docs/en/docs/advanced/async-tests.md
Even if your **FastAPI** application uses normal `def` functions instead of `async def`, it is still an `async` application underneath. The `TestClient` does some magic inside to call the asynchronous FastAPI application in your normal `def` test functions, using standard pytest. But that magic doesn't work anymore when we're using it inside asynchronous functions. By running our tests asynchronously, we can no longer use the `TestClient` inside our test functions.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.8K bytes - Click Count (0) -
tests/chainable_api_test.go
// Model m := &struct{ ID int }{} tx := db.Model(m) if tx.Statement.Model != m { t.Fatalf("Model not set, got %v", tx.Statement.Model) } // Table tx = tx.Table("users") if tx.Statement.Table != "users" { t.Fatalf("Table not set, got %v", tx.Statement.Table) } if tx.Statement.TableExpr == nil { t.Fatalf("TableExpr expected to be set") } // Distinct + SelectCreated: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Jan 31 08:39:40 GMT 2026 - 3.9K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchCrawlerConfig.java
*/ package org.codelibs.fess.crawler.util; /** * Configuration class for OpenSearch crawler settings. * This class provides configuration for index names, shards, and replicas * for the queue, data, and filter indices used by the crawler. */ public class OpenSearchCrawlerConfig { /** * Constructs a new OpenSearchCrawlerConfig. */ public OpenSearchCrawlerConfig() { // Default constructor }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 5.4K bytes - Click Count (10) -
src/main/java/org/codelibs/fess/suggest/SuggesterBuilder.java
import org.codelibs.fess.suggest.util.SuggestUtil; import org.opensearch.transport.client.Client; /** * Builder class for creating instances of {@link Suggester}. * This class allows for the configuration of various components used by the {@link Suggester}. */ public class SuggesterBuilder { /** * Constructs a new {@link SuggesterBuilder}. */ public SuggesterBuilder() { // nothing }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java
} } @Test public void test_findOnMainSchema_alwaysReturnsNull() { // Since the implementation always returns null (no DBFlute classification used), // test that it consistently returns null for any input assertNull(invokeMethod(provider, "findOnMainSchema", "TestClassification")); assertNull(invokeMethod(provider, "findOnMainSchema", ""));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/FacetResponseTest.java
assertEquals(emptyString, decoded); } @Test public void test_facet_prefix_usage() { // Test that facet prefixes can be used correctly String fieldName = "category"; String encodedFieldName = BaseEncoding.base64().encode(fieldName.getBytes(StandardCharsets.UTF_8));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 6.7K bytes - Click Count (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts
// This is yet another reason we need configuration factory methods. // workaround for https://github.com/gradle/gradle/issues/12459 // note: constraints can't be used here because they end up in gradle module metadata val attributesFactory = gradle.serviceOf<AttributesFactory>() configurations.all { if (isCanBeResolved && !isCanBeConsumed) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 18:27:10 GMT 2026 - 5.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java
public final class CustomCipherSuites { private final OkHttpClient client; public CustomCipherSuites() throws GeneralSecurityException { // Configure cipher suites to demonstrate how to customize which cipher suites will be used for // an OkHttp request. In order to be selected a cipher suite must be included in both OkHttp's // connection spec and in the SSLSocket's enabled cipher suites array. Most applications shouldCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Mar 14 21:57:42 GMT 2019 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
assertThat(expected).hasMessageThat().contains("testCheckNoOverflow_failure(0, 0)"); } public void testNulls() { /* * Don't bother testing. All non-primitive parameters are used only to construct error messages. * We never want to pass null for them, so we haven't annotated them to say that null is * allowed. But at the same time, it seems wasteful to bother inserting the checkNotNull calls
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ReflectionFreeAssertThrows.java
e -> e instanceof InvocationTargetException, StackOverflowError.class, e -> e instanceof StackOverflowError); } }; // used under GWT, etc., since the override of this method does not exist there ImmutableMap<Class<? extends Throwable>, Predicate<Throwable>> exceptions() { return ImmutableMap.of(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.9K bytes - Click Count (0)