- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 556 for testFn (0.2 sec)
-
src/cmd/go/testdata/script/build_cwd_newline.txt
stdout '^ok$' # 'go test' combines the test's stdout into stderr go test -v . ! stdout panic ! stderr panic stdout '^ok$' # 'go test' combines the test's stdout into stderr [cgo] go tool cgo main.go [cgo] grep '//line .*'${/}'link'${/}'main\.go:1:1' _obj/main.cgo1.go [cgo] ! grep 'uh-oh' _obj/main.cgo1.go -- $WORK/go.mod -- module example go 1.19 -- $WORK/main.go -- package main import "C"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 3.4K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/testing/testing.go
return obj } // SyncAll simulates the controller periodic sync of volumes and claim. It // simply adds all these objects to the internal queue of updates. This method // should be used when the test manually calls syncClaim/syncVolume. Test that // use real controller loop (ctrl.Run()) will get periodic sync automatically. func (r *VolumeReactor) SyncAll() { r.lock.Lock() defer r.lock.Unlock() for _, c := range r.claims {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 20.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/testing/tester.go
} func (t *Tester) ClusterScope() *Tester { t.tester = t.tester.ClusterScope() return t } func (t *Tester) Namer(namer func(int) string) *Tester { t.tester = t.tester.Namer(namer) return t } func (t *Tester) AllowCreateOnUpdate() *Tester { t.tester = t.tester.AllowCreateOnUpdate() return t } func (t *Tester) GeneratesName() *Tester { t.tester = t.tester.GeneratesName() return t }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 16:50:16 UTC 2019 - 4.8K bytes - Viewed (0) -
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: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 6K bytes - Viewed (0) -
docs/de/docs/advanced/settings.md
* Durch die Verwendung einer Abhängigkeit können Sie das Testen vereinfachen. * Sie können `.env`-Dateien damit verwenden.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:17:14 UTC 2024 - 17.8K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/test_ns.xml
Shinsuke Sugaya <******@****.***> 1444529815 +0900
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 707 bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testing.go
// Copyright 2020 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements testing support. package syntax import ( "io" "regexp" ) // CommentsDo parses the given source and calls the provided handler for each // comment or error. If the text provided to handler starts with a '/' it is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:53:18 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/Testing.kt
Paul Merlin <******@****.***> 1690890212 +0200
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.3K bytes - Viewed (0) -
pkg/kube/krt/testing.go
// 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 krt // Dump is a *testing* helper to dump the state of a collection, if possible, into logs. func Dump[O any](c Collection[O]) { c.(internalCollection[O]).dump() } type TestingDummyContext struct{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 1.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestRun.h
* * 24-May-2006 Added callbacks for suite start and complete events. * Added tracking/reported of elapsed time. (JDS) */ /** @file * Test run management functions (user interface). * The TestRun module implements functions supporting the running * of tests elements (suites and tests). This includes functions for
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 22K bytes - Viewed (0)