- Sort Score
- Result 10 results
- Languages All
Results 1601 - 1610 of 3,356 for xtest (0.03 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java
import org.apache.maven.api.model.Plugin; import org.apache.maven.api.xml.XmlNode; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; class ModelXmlTest { @Test void testXmlRoundtripWithProperties() throws Exception {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 4K bytes - Viewed (0) -
tests/test_compat.py
# class "feature" assert is_uploadfile_sequence_annotation(Union[list[str], list[UploadFile]]) def test_serialize_sequence_value_with_optional_list(): """Test that serialize_sequence_value handles optional lists correctly.""" from fastapi._compat import v2 field_info = FieldInfo(annotation=Union[list[str], None])
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSpliteratorTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@code spliterator} operations on a collection. Can't be invoked * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
tests/test_filter_pydantic_sub_model_pv2.py
if not name.endswith("A"): raise ValueError("name must end in A") return name async def get_model_c() -> ModelC: return ModelC(username="test-user", password="test-password") @app.get("/model/{name}", response_model=ModelA) async def get_model_a(name: str, model_c=Depends(get_model_c)): return { "name": name,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
* unconditional {@code setCount()} method and calls to the conditional {@code setCount()} method * when the expected present count is correct. * * @author Chris Povirk */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android-test-app/src/androidTest/kotlin/okhttp/android/testapp/IdnaTest.kt
* limitations under the License. */ package okhttp3.android import okhttp3.HttpUrl.Companion.toHttpUrl import org.junit.Assert.assertEquals import org.junit.Test class IdnaTest { @Test fun testHostnameFunction() { assertEquals("xn--n3h.net", "https://☃.net/robots.txt".toHttpUrl().host) }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Aug 03 19:38:06 UTC 2025 - 869 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial001_tutorial001_01.py
"tags": [], "tax": None, }, ] def test_create_item(client: TestClient): item_data = { "name": "Test Item", "description": "A test item", "price": 10.5, "tax": 1.5, "tags": ["test", "item"], } response = client.post("/items/", json=item_data) assert response.status_code == 200, response.text assert response.json() == item_data
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallKotlinTest.kt
import assertk.assertions.isInstanceOf import assertk.assertions.isNotSameAs import java.io.IOException import java.net.Proxy import java.security.cert.X509Certificate import java.time.Duration import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.SocketEffect.CloseSocket import mockwebserver3.junit5.StartStop import okhttp3.Headers.Companion.headersOf
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetRemoveTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests remove operations on a set. Can't be invoked directly; please * see {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author George van den Driessche */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/installer/ArtifactInstallerTest.java
protected String component() { return "installer"; } @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0)