Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 327 for testFn (0.17 sec)

  1. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/groovy/src/test/java/org/gradle/testng/Test2.java

        public void test1() {
            System.out.println("Test2.test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("Test2.test2()");
        }
    
        @AfterClass
        public void afterClass() {
            System.out.println("Test2.afterClass()");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 736 bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/testng/TestNGJdkNavigationIntegrationTest/shouldNotNavigateToJdkClasses/src/test/java/org/gradle/Test1.java

    package org.gradle;
    
    import org.testng.annotations.Test;
    
    import static org.testng.Assert.assertEquals;
    
    public class Test1 extends AbstractTest {
    
        @Test
        public void shouldPass() {
            assertEquals(1, value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 229 bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/testing-websockets.md

    为此,要在 `with` 语句中使用 `TestClient` 连接 WebSocket。
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note "笔记"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:12:29 UTC 2024
    - 418 bytes
    - Viewed (0)
  4. src/time/internal_test.go

    	defer t.Stop()
    
    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    	// in later tests may hang).
    	<-After(25 * Millisecond)
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/maven/MavenResolveTestFixture.groovy

     * from the integration test's local maven repository.
     *
     * <p>Intended to verify that POMs published by Gradle can be consumed by Maven. Tests should
     * publish artifacts to {@link AbstractIntegrationSpec#mavenRepo} and then use the resolve exposed
     * by this fixture to run tests against those published artifacts.</p>
     */
    @SelfType(AbstractIntegrationSpec.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/img/testing-pyramid.png

    testing-pyramid.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 18:40:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/testing-dependencies.md

    # Testing Dependencies with Overrides
    
    ## Overriding dependencies during testing
    
    There are some scenarios where you might want to override a dependency during testing.
    
    You don't want the original dependency to run (nor any of the sub-dependencies it might have).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/testing-database.md

    ```
    
    ## 覆盖依赖项
    
    接下来,创建覆盖依赖项,并为应用添加覆盖内容。
    
    ```Python hl_lines="19-24  27"
    {!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!}
    ```
    
    !!! tip "提示"
    
        `overrider_get_db()` 与 `get_db` 的代码几乎完全一样,只是 `overrider_get_db` 中使用测试数据库的 `TestingSessionLocal`。
    
    ## 测试应用
    
    然后,就可以正常测试了。
    
    ```Python hl_lines="32-47"
    {!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Jan 28 18:09:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/testing-dependencies.md

    jaystone776 <******@****.***> 1711838753 +0800
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 22:45:53 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. 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:
    
    ```Python hl_lines="27-31"
    {!../../../docs_src/app_testing/tutorial002.py!}
    ```
    
    !!! note "Not"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 27 16:21:03 UTC 2024
    - 471 bytes
    - Viewed (0)
Back to top