- Sort Score
- Num 10 results
- Language All
Results 1821 - 1830 of 2,277 for Tests (0.03 seconds)
-
tests/benchmarks/test_general_performance.py
import pytest from fastapi import Depends, FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel if "--codspeed" not in sys.argv: pytest.skip( "Benchmark tests are skipped by default; run with --codspeed.", allow_module_level=True, ) LARGE_ITEMS: list[dict[str, Any]] = [ { "id": i, "name": f"item-{i}", "values": list(range(25)),Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 20:40:26 GMT 2025 - 11.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Superclass for tests for {@link Maps#transformValues} overloads. * * @author Isaac Shum */ @GwtCompatible @NullMarked abstract class AbstractMapsTransformValuesTest extends MapInterfaceTest<String, String> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 9.5K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
return ObjectInputFilter.Status.ALLOWED; } } // Reject everything else return ObjectInputFilter.Status.REJECTED; }; /** * Tests if the object can be serialized. * * @param obj the object to be serialized (must not be {@literal null}) * @return the deserialized object */ public static Object serialize(final Object obj) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import org.mockito.junit.jupiter.MockitoSettings; import org.mockito.quality.Strictness; /** * Tests for SmbTree interface. * This test class covers all methods of the SmbTree interface using Mockito for mocking. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
} private void checkLogged(Throwable t) { assertThat(popLoggedThrowable()).isSameInstanceAs(t); } /* * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use * builder.build() and then cast? */ private static <K, V> LocalCache<K, V> makeLocalCache(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 114.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
} private void checkLogged(Throwable t) { assertThat(popLoggedThrowable()).isSameInstanceAs(t); } /* * TODO(cpovirk): Can we replace makeLocalCache with a call to builder.build()? Some tests may * need access to LocalCache APIs, but maybe we can at least make makeLocalCache use * builder.build() and then cast? */ private static <K, V> LocalCache<K, V> makeLocalCache(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 116.4K bytes - Click Count (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
* @return Whether the part is valid */ private static boolean validatePart(String part, boolean isFinalPart) { // These tests could be collapsed into one big boolean expression, but // they have been left as independent tests for clarity. if (part.length() < 1 || part.length() > MAX_DOMAIN_PART_LENGTH) { return false; } /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 21:21:59 GMT 2026 - 26.2K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt
AmazonCorrettoCryptoProvider.install() AmazonCorrettoCryptoProvider.INSTANCE.assertHealthy() } Platform.resetForTests() System.err.println("Running Tests with ${Platform.get().javaClass.simpleName}") } @JvmStatic fun getPlatformSystemProperty(): String? { var property: String? = System.getProperty(PROPERTY_NAME)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 15.5K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for Smb2Constants * Tests all SMB2 protocol constants and their expected values */ @DisplayName("Smb2Constants Test Suite") class Smb2ConstantsTest { @Test @DisplayName("Should have private constructor to prevent instantiation")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
docs/ja/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
## 公式ガイド { #official-guide } Pydantic には v1 から v2 への公式の [移行ガイド](https://docs.pydantic.dev/latest/migration/) があります。 変更点、検証がより正確で厳密になった点、注意事項などが含まれます。 何が変わったかをよりよく理解するために参照してください。 ## テスト { #tests } アプリに対する[テスト](../tutorial/testing.md)を用意し、継続的インテグレーション(CI)で実行するようにしてください。 これにより、アップグレード後も期待どおり動作していることを確認できます。 ## `bump-pydantic` { #bump-pydantic }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 6.2K bytes - Click Count (0)