- Sort Score
- Result 10 results
- Languages All
Results 1201 - 1210 of 2,326 for test0 (0.04 sec)
-
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
.isInstanceOf<SSLSocketImpl>() } } @Test fun testSupportedProtocols() { val factory = SSLSocketFactoryImpl() val s = factory.createSocket() as SSLSocketImpl assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList()) } @Test @Disabled fun testMozilla() { assumeNetwork()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
internal/event/targetlist_test.go
expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr { result := testCase.targetList.List() if len(result) != len(testCase.expectedResult) { t.Fatalf("test %v: data: expected: %v, got: %v", i+1, testCase.expectedResult, result) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Dec 05 10:16:33 UTC 2023 - 6.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/LoomTest.kt
} @Test fun testRequest() { server.enqueue(MockResponse()) val request = Request(server.url("/")) client.newCall(request).execute().use { assertThat(it.code).isEqualTo(200) } } @Test fun testIfSupported() { assertThat(platform.isLoom()).isTrue() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; /** * @author higa */ public class BeanMapTest { /** * @see org.junit.rules.ExpectedException */ @Rule public ExpectedException exception = ExpectedException.none(); /** * @throws Exception */ @Test public void testGet() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial002_py310.py
( "/items", {"strange_header": "FastAPI test"}, 200, {"strange_header": "FastAPI test"}, ), ( "/items", {"strange-header": "Not really underscore"}, 200, {"strange_header": None}, ), ], ) def test(path, headers, expected_status, expected_response, client: TestClient):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4.2K bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/depmgmt/root-distance-explicit.xml
<modelVersion>4.1.0</modelVersion> <groupId>test</groupId> <artifactId>test</artifactId> <version>0.1-SNAPSHOT</version> <dependencyManagement> <dependencies> <dependency> <groupId>test</groupId> <artifactId>other</artifactId> <version>0.1-SNAPSHOT</version>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
}, logger = logger, ) /** Runs all tasks that are ready. Used by the test thread only. */ fun runTasks() { advanceUntil(nanoTime) } /** Advance the simulated clock, then runs tasks that are ready. Used by the test thread only. */ fun advanceUntil(newTime: Long) { taskRunner.assertThreadDoesntHoldLock() taskRunner.lock.withLock {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
super(threadName); this.lockLikeObject = checkNotNull(lockLikeObject); start(); } // Thread.stop() is okay because all threads started by a test are dying at the end of the test, // so there is no object state put at risk by stopping the threads abruptly. In some cases a test // may put a thread into an uninterruptible operation intentionally, so there is no other way to // clean up these threads. @SuppressWarnings("deprecation")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.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)