Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,844 for test2 (0.05 sec)

  1. cmd/data-usage-cache_test.go

    				"BETWEEN_1024B_AND_1_MB":   2,
    				"BETWEEN_10_MB_AND_64_MB":  1,
    			},
    		},
    	}
    	for i, test := range tests {
    		t.Run(fmt.Sprintf("Test-%d", i), func(t *testing.T) {
    			var h sizeHistogram
    			for _, sz := range test.sizes {
    				h.add(sz)
    			}
    			got := h.toMap()
    			exp := test.want
    			// what is in exp is in got
    			for k := range exp {
    				if exp[k] != got[k] {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    		{[]string{"abcd/foo/bar/", "abcd/foo/bar/zoo"}, "abcd/foo/bar/"},
    	}
    
    	for i, test := range testCases {
    		foundPrefix := lcp(test.prefixes, true)
    		if foundPrefix != test.commonPrefix {
    			t.Fatalf("Test %d: Common prefix found: `%v`, expected: `%v`", i+1, foundPrefix, test.commonPrefix)
    		}
    	}
    }
    
    func TestGetMinioMode(t *testing.T) {
    	testMinioMode := func(expected string) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/testing.md

    **FastAPI** 提供了和 `starlette.testclient` 一样的 `fastapi.testclient`,只是为了方便开发者。但它直接来自Starlette。
    
    ///
    
    /// tip | "提示"
    
    除了发送请求之外,如果你还想测试时在FastAPI应用中调用 `async` 函数(例如异步数据库函数), 可以在高级教程中看下 [Async Tests](../advanced/async-tests.md){.internal-link target=_blank} 。
    
    ///
    
    ## 分离测试
    
    在实际应用中,你可能会把你的测试放在另一个文件里。
    
    您的**FastAPI**应用程序也可能由一些文件/模块组成等等。
    
    ### **FastAPI** app 文件
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # Pass --config=nonpip to run the same suite of tests. If you want to run just
    # one test for investigation, you don't need --config=nonpip; just run the
    # bazel test invocation as normal.
    test:nonpip_filters --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test,-v1only,-no_aarch64,-no_oss_py38,-no_oss_py39,-no_oss_py310
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jul 12 20:16:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/resources/dag.txt

    	quarkus/extensions/mutiny/deployment/pom.xml
    	quarkus/test-framework/junit5-internal/pom.xml
    quarkus/test-framework/h2/pom.xml
    	quarkus/test-framework/common/pom.xml
    quarkus/integration-tests/jpa-postgresql/pom.xml
    	quarkus/extensions/undertow/runtime/pom.xml
    	quarkus/extensions/hibernate-orm/runtime/pom.xml
    	quarkus/extensions/jdbc/jdbc-postgresql/runtime/pom.xml
    	quarkus/test-framework/junit5/pom.xml
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 224K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # Test-related settings below this point.
    test --build_tests_only --keep_going --test_output=errors --verbose_failures=true
    test --test_timeout=500,900,-1,-1
    # Give only the list of failed tests at the end of the log
    test --test_summary=short
    
    # "nonpip" tests are regular py_test tests.
    # Pass --config=nonpip to run the same suite of tests. If you want to run just
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Jul 12 20:16:57 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                    it.name != "distributions-integ-tests" && // distributions:integTest is part of Build Distributions
                    it.name != "soak" // soak tests have their own test category
            }
    
            assertFalse(projectFoldersWithFunctionalTests.isEmpty())
            projectFoldersWithFunctionalTests.forEach {
                assertTrue(projectDirsWithFunctionalTests.contains(it), "Contains functional tests: $it")
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. regression-test/README.md

    ...
    BUILD SUCCESSFUL in 1m 30s
    63 actionable tasks: 61 executed, 2 up-to-date
    
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Nov 13 07:09:56 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                "failed-report-with-leftover/build/tmp/teŝt files",
                "successful-report/build/tmp/teŝt files",
                "failed-test-with-leftover/build/tmp/teŝt files"
            )
        }
    
        @Test
        fun `build does not fail if a flaky test has leftover files`() {
            val result = run(":flaky-test-with-leftover:test", "--no-watch-fs").build()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/ElementOrderTest.java

    import com.google.common.collect.Ordering;
    import java.util.Comparator;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.JUnit4;
    
    /** Tests for ordering the elements of graphs. */
    @RunWith(JUnit4.class)
    public final class ElementOrderTest {
      // Node order tests
    
      @Test
      public void nodeOrder_none() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 8.1K bytes
    - Viewed (0)
Back to top