Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,118 for asset1 (0.07 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    
    import java.io.IOException;
    import java.security.cert.Certificate;
    import java.security.cert.X509Certificate;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    
    /**
     * Simple test adaptable to show a failure in older versions of OkHttp
     * or Android SDKs.
     */
    @RunWith(AndroidJUnit4.class)
    public class IssueReproductionTest {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jul 26 06:37:08 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/BouncyCastleTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import mockwebserver3.MockWebServer
    import okhttp3.TestUtil.assumeNetwork
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/WholeOperationTimeoutTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNotNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.io.InterruptedIOException
    import java.net.HttpURLConnection
    import java.time.Duration
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/idn/IdnaMappingTableTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isGreaterThan
    import assertk.assertions.isLessThan
    import kotlin.test.assertEquals
    import kotlin.test.assertFailsWith
    import okio.Buffer
    import okio.FileSystem
    import okio.Path.Companion.toPath
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/CurlTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl;
    
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.util.logging.Level;
    import java.util.logging.Logger;
    
    import org.junit.Test;
    
    public class CurlTest {
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. tests/test_additional_responses_default_validationerror.py

    
    @app.get("/a/{id}")
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/a/{id}": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. tests/test_dependency_class.py

        ],
    )
    def test_class_dependency(route, value):
        response = client.get(route, params={"value": value})
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Aug 09 10:54:05 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

    import static org.hamcrest.CoreMatchers.nullValue;
    import static org.hamcrest.CoreMatchers.sameInstance;
    import static org.junit.Assert.assertArrayEquals;
    import static org.junit.Assert.assertFalse;
    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Array;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. tests/test_additional_responses_response_class.py

    async def b():
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/a": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.idn
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.isEqualTo
    import okhttp3.internal.idn.MappedRange.InlineDelta
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top