Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for testapp (0.05 seconds)

  1. android-test-app/src/main/AndroidManifest.xml

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools" package="okhttp.android.testapp">
    
      <uses-permission android:name="android.permission.INTERNET" />
    
      <application
        android:allowBackup="true"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:name=".TestApplication"
      >
        <activity
          android:name=".MainActivity"
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 992 bytes
    - Click Count (0)
  2. maven-tests/src/test/java/com/squareup/okhttp3/maventest/AppTest.java

    import org.junit.Test;
    
    import java.io.IOException;
    
    /**
     * Unit test for simple App.
     */
    public class AppTest {
      private final MockWebServer mockWebServer = new MockWebServer();
    
      @Test
      public void testApp() throws IOException {
        mockWebServer.enqueue(new MockResponse(200, Headers.of(), "Hello, Maven!"));
        mockWebServer.start();
    
        new SampleHttpClient().makeCall(mockWebServer.url("/"));
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jul 12 12:05:57 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. android-test-app/build.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    plugins {
      id("com.android.application")
      id("kotlin-android")
    }
    
    android {
      compileSdk = 36
    
      namespace = "okhttp.android.testapp"
    
      testBuildType = "release"
    
      defaultConfig {
        minSdk = 21
        targetSdk = 36
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jul 19 12:35:48 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity2.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
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 669 bytes
    - Click Count (0)
  5. impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/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 );
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 657 bytes
    - Click Count (0)
  6. 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()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  7. 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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Aug 19 08:10:39 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. 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 );
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 14:10:21 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. docs_src/settings/app02_an_py39/test_main.py

    client = TestClient(app)
    
    
    def get_settings_override():
        return Settings(admin_email="******@****.***")
    
    
    app.dependency_overrides[get_settings] = get_settings_override
    
    
    def test_app():
        response = client.get("/info")
        data = response.json()
        assert data == {
            "app_name": "Awesome API",
            "admin_email": "******@****.***",
            "items_per_user": 50,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 515 bytes
    - Click Count (0)
  10. tests/test_openapi_servers.py

            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    def foo():
        return {"message": "Hello World"}
    
    
    client = TestClient(app)
    
    
    def test_app():
        response = client.get("/foo")
        assert response.status_code == 200, response.text
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
Back to Top