- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for testApi (0.25 sec)
-
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("/")); }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 12 12:05:57 UTC 2025 - 1.1K bytes - Viewed (0) -
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)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Jul 19 12:35:48 UTC 2025 - 1.2K bytes - Viewed (0) -
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
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 669 bytes - Viewed (0) -
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 ); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 657 bytes - Viewed (0) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py
def test_redoc_html(client: TestClient): response = client.get("/redoc") assert response.status_code == 200, response.text assert "/static/redoc.standalone.js" in response.text def test_api(client: TestClient): response = client.get("/users/john") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.2K bytes - Viewed (0) -
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) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py
def test_redoc_html(client: TestClient): response = client.get("/redoc") assert response.status_code == 200, response.text assert "https://unpkg.com/redoc@2/bundles/redoc.standalone.js" in response.text def test_api(client: TestClient): response = client.get("/users/john") assert response.status_code == 200, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.3K bytes - Viewed (0) -
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) -
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) -
docs/tr/docs/advanced/testing-websockets.md
# WebSockets'i Test Etmek WebSockets testi yapmak için `TestClient`'ı kullanabilirsiniz. Bu işlem için, `TestClient`'ı bir `with` ifadesinde kullanarak WebSocket'e bağlanabilirsiniz: {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *} /// note | Not Daha fazla detay için Starlette'in <a href="https://www.starlette.dev/staticfiles/" class="external-link" target="_blank">Websockets'i Test Etmek</a> dokümantasyonunu inceleyin.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 452 bytes - Viewed (0)