Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 54 for test_api (0.03 sec)

  1. tests/test_default_response_class_router.py

    )
    
    
    client = TestClient(app)
    
    json_type = "application/json"
    text_type = "text/plain; charset=utf-8"
    html_type = "text/html; charset=utf-8"
    override_type = "application/x-override"
    
    
    def test_app():
        with client:
            response = client.get("/")
        assert response.json() == {"msg": "Hello World"}
        assert response.headers["content-type"] == json_type
    
    
    def test_app_override():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5K bytes
    - Viewed (0)
  2. android-test-app/src/main/kotlin/okhttp/android/testapp/TestApplication.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp.android.testapp
    
    import android.annotation.SuppressLint
    import android.app.Application
    import android.os.Build
    import okhttp3.OkHttp
    
    class TestApplication : Application() {
      override fun onCreate() {
        super.onCreate()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. tests/test_default_response_class.py

    
    client = TestClient(app)
    
    orjson_type = "application/x-orjson"
    text_type = "text/plain; charset=utf-8"
    html_type = "text/html; charset=utf-8"
    override_type = "application/x-override"
    
    
    def test_app():
        with client:
            response = client.get("/")
        assert response.json() == {"msg": "Hello World"}
        assert response.headers["content-type"] == orjson_type
    
    
    def test_app_override():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  4. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp.android.testapp
    
    import android.os.Bundle
    import androidx.activity.ComponentActivity
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java

         * @return the suite of tests being tested
         */
        public static Test suite()
        {
            return new TestSuite( AppTest.class );
        }
    
        /**
         * Rigorous Test :-)
         */
        public void testApp()
        {
            assertTrue( true );
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 14:10:21 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  6. src/main/resources/app.xml

    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<include path="convention.xml"/>
    	<include path="lastaflute.xml"/>
    	<include path="lasta_job.xml"/>
    
    	<include path="fess.xml"/>
    	<include path="fess_api.xml"/>
    	<include path="fess_cors.xml"/>
    	<include path="fess_dict.xml"/>
    	<include path="fess_job.xml"/>
    	<include path="fess_ldap.xml"/>
    	<include path="fess_query.xml"/>
    	<include path="fess_rankfusion.xml"/>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 19 02:22:47 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /** Tests for {@code CollectSpliterators}. */
    @GwtCompatible
    @NullMarked
    public class CollectSpliteratorsTest extends TestCase {
      public void testMap() {
        SpliteratorTester.of(
                () ->
                    CollectSpliterators.map(
                        Arrays.spliterator(new String[] {"a", "b", "c", "d", "e"}), Ascii::toUpperCase))
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. tests/test_additional_responses_router.py

            "5XX": {"model": ResponseModel},
            "default": {"model": ResponseModel},
        },
    )
    async def d():
        return "d"
    
    
    app.include_router(router)
    
    
    client = TestClient(app)
    
    
    def test_a():
        response = client.get("/a")
        assert response.status_code == 200, response.text
        assert response.json() == "a"
    
    
    def test_b():
        response = client.get("/b")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. src/main/resources/fess_indices/fess/id/stopwords.txt

    suatu
    sesudah
    sesudahnya
    sudah
    sudahkah
    sudahlah
    supaya
    tadi
    tadinya
    tak
    tanpa
    setelah
    telah
    tentang
    tentu
    tentulah
    tentunya
    tertentu
    seterusnya
    tapi
    tetapi
    setiap
    tiap
    setidaknya
    tidak
    tidakkah
    tidaklah
    toh
    waduh
    wah
    wahai
    sewaktu
    walau
    walaupun
    wong
    yaitu
    yakni
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 19 06:31:02 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.getElementClassOfCollection(), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testMap() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc hoge = beanDesc.getFieldDesc("map");
            assertThat(hoge.getKeyClassOfMap(), is(sameClass(String.class)));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top