Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. compat/maven-embedder/src/examples/simple-project/src/test/java/org/apache/maven/embedder/AppTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    /**
     * Unit test for simple App.
     */
    public class AppTest {
    
        /**
         * Rigourous Test :-)
         */
        @Test
        public void testApp() {
            assertTrue(true);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  2. android-test-app/build.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    import okhttp3.buildsupport.testJavaVersion
    
    
    plugins {
      id("okhttp.base-conventions")
      id("com.android.application")
    }
    
    android {
      compileSdk = 36
    
      namespace = "okhttp.android.testapp"
    
      // Release APKs can't be tested currently with AGP
      testBuildType = "debug"
    
      defaultConfig {
        minSdk = 21
        targetSdk = 36
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 06:56:34 GMT 2026
    - 1.2K bytes
    - Click Count (0)
  3. cmd/sts-handlers_test.go

    func (s *TestSuiteIAM) SetUpOpenIDs(c *check, testApps []OpenIDClientAppParams, rolePolicies []string) error {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 103.4K bytes
    - Click Count (1)
  4. docs_src/settings/app02_py310/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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 515 bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

          return super.setValue(value);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      static class TestMap<K, V> extends SynchronizedMapTest.TestMap<K, V>
          implements NavigableMap<K, V> {
    
        public TestMap(NavigableMap<K, V> delegate, Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
        protected NavigableMap<K, V> delegate() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. 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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. docs_src/settings/app02_an_py310/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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 515 bytes
    - Click Count (0)
  8. okhttp-coroutines/build.gradle.kts

      api(libs.square.okio)
      api(libs.kotlin.stdlib)
    
      testImplementation(libs.kotlin.test.annotations)
      testImplementation(libs.kotlin.test.common)
      testImplementation(libs.kotlin.test.junit)
      testApi(libs.assertk)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.kotlinx.coroutines.test)
      testImplementation(projects.mockwebserver3Junit5)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 792 bytes
    - Click Count (0)
  9. docs/pt/docs/features.md

    ### Testado { #tested }
    
    * 100% <dfn title="A quantidade de código que é testada automaticamente">de cobertura de testes</dfn>.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/async-tests.md

    # Testes Assíncronos { #async-tests }
    
    Você já viu como testar as suas aplicações **FastAPI** utilizando o `TestClient` que é fornecido. Até agora, você viu apenas como escrever testes síncronos, sem utilizar funções `async`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 4.3K bytes
    - Click Count (0)
Back to Top