- Sort Score
- Result 10 results
- Languages All
Results 901 - 910 of 2,775 for Rtest (0.08 sec)
-
okhttp-android/src/test/kotlin/okhttp3/android/RobolectricOkHttpClientTest.kt
* See the License for the specific language governing permissions and * limitations under the License. * */ package okhttp3.android import android.app.Application import android.content.Context import androidx.test.core.app.ApplicationProvider import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import java.net.InetAddress
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListReplaceAllTester.java
import org.junit.Ignore; /** * A generic JUnit test which tests {@link List#replaceAll}. Can't be invoked directly; please see * {@link com.google.common.collect.testing.ListTestSuiteBuilder}. * * @author Louis Wasserman */ @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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
import org.apache.maven.building.Problem.Severity; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; class DefaultProblemCollectorTest { @Test void testGetProblems() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py
def test_post_file(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") client = TestClient(app) with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} def test_post_upload_file(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java
import com.google.common.testing.SerializableTester; import java.util.Map; import org.junit.Ignore; /** * Basic serialization test for maps. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 1.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.artifact.resolver.filter; import java.util.Arrays; 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.assertTrue; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java
import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import org.codelibs.curl.Curl; import org.junit.Test; public class ContentOutputStreamTest { @Test public void inMemory() throws IOException { ContentOutputStream cos = new ContentOutputStream(10, Curl.tmpDir); cos.write(new byte[] { 0, 1, 2, 3, 4 });
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ProtocolTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import java.io.IOException import okhttp3.Protocol.Companion.get import org.junit.jupiter.api.Assertions.assertThrows import org.junit.jupiter.api.Test class ProtocolTest { @Test fun testGetKnown() { assertThat(get("http/1.0")).isEqualTo(Protocol.HTTP_1_0) assertThat(get("http/1.1")).isEqualTo(Protocol.HTTP_1_1) assertThat(get("spdy/3.1")).isEqualTo(Protocol.SPDY_3)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilderTest.java
new Runnable() { @Override public void run() { tearDown[0] = true; } }; MyTestSuiteBuilder builder = new MyTestSuiteBuilder(); Test test = builder .usingGenerator("yam") .named("yam") .withFeatures(CollectionFeature.NONE) .withSetUp(setUpRunnable) .withTearDown(tearDownRunnable)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 2.3K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001_an.py
[ ("/items", None, 200, {"User-Agent": "testclient"}), ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}), ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}), ], ) def test(path, headers, expected_status, expected_response): response = client.get(path, headers=headers) assert response.status_code == expected_status assert response.json() == expected_response
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 3.8K bytes - Viewed (0)