- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 57 for testChain (0.46 sec)
-
src/cmd/cover/cover.go
if pkgconfig.EmitMetaFile != "" { p.emitMetaFile(pkgconfig.EmitMetaFile) } // Something went wrong if regonly/testmain mode is in effect and // we have instrumented functions. if counterStmt == nil && len(p.counterLengths) != 0 { panic("internal error: seen functions with regonly/testmain") } // Emit package name. fmt.Fprintf(w, "\npackage %s\n\n", pkgconfig.PkgName) // Emit package ID var.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
pkg/test/framework/components/echo/echotest/filters_test.go
}}, } all = echo.Instances{a1, a2, b1, b2, c1, c2, a1Ns2, a2Ns2, vm1, vm2, headless1, headless2, naked1, naked2, external1, external2} ) func TestMain(m *testing.M) { framework.NewSuite(m).EnvironmentFactory(resource.NilEnvironmentFactory).Run() } func TestDeployments(t *testing.T) { if diff := cmp.Diff( all.Services().NamespacedNames(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 13.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/version_test.go
*/ package util import ( "fmt" "os" "path" "strings" "testing" "time" "github.com/pkg/errors" "k8s.io/kubernetes/cmd/kubeadm/app/constants" ) func TestMain(m *testing.M) { KubernetesReleaseVersion = kubernetesReleaseVersionTest os.Exit(m.Run()) } func kubernetesReleaseVersionTest(version string) (string, error) { fetcher := func(string, time.Duration) (string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 26 03:30:51 UTC 2024 - 15K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
Then it would be very easy to provide a different settings object during testing by creating a dependency override for `get_settings`: ```Python hl_lines="9-10 13 21" {!../../../docs_src/settings/app02/test_main.py!} ``` In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object. Then we can test that it is used.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 15.7K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
"path" "path/filepath" "runtime" "strings" "testing" "time" "go/ast" "go/build" "go/importer" "go/parser" "go/token" "go/types" . "go/internal/gcimporter" ) func TestMain(m *testing.M) { build.Default.GOROOT = testenv.GOROOT(nil) os.Exit(m.Run()) } // compile runs the compiler on filename, with dirname as the working directory, // and writes the output file to outdirname.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
} err = syscall.Fchmodat(_AT_FDCWD, "symlink1", 0444, _AT_SYMLINK_NOFOLLOW) if err != syscall.EOPNOTSUPP { t.Fatalf("Fchmodat: unexpected error: %v, expected EOPNOTSUPP", err) } } func TestMain(m *testing.M) { if os.Getenv("GO_DEATHSIG_PARENT") == "1" { deathSignalParent() } else if os.Getenv("GO_DEATHSIG_CHILD") == "1" { deathSignalChild() } else if os.Getenv("GO_SYSCALL_NOERROR") == "1" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
src/os/exec/exec_test.go
haveUnexpectedFDs = true return } } } // TestMain allows the test binary to impersonate many other binaries, // some of which may manipulate os.Stdin, os.Stdout, and/or os.Stderr // (and thus cannot run as an ordinary Test function, since the testing // package monkey-patches those variables before running tests). func TestMain(m *testing.M) { flag.Parse() pid := os.Getpid()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
src/runtime/crash_test.go
"os/exec" "path/filepath" "regexp" "runtime" "runtime/trace" "strings" "sync" "testing" "time" ) var toRemove []string const entrypointVar = "RUNTIME_TEST_ENTRYPOINT" func TestMain(m *testing.M) { switch entrypoint := os.Getenv(entrypointVar); entrypoint { case "crash": crash() panic("unreachable") default: log.Fatalf("invalid %s: %q", entrypointVar, entrypoint) case "":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 19:46:10 UTC 2024 - 27K bytes - Viewed (0) -
cmd/test-utils_test.go
"github.com/minio/minio/internal/crypto" "github.com/minio/minio/internal/hash" "github.com/minio/minio/internal/logger" "github.com/minio/mux" "github.com/minio/pkg/v3/policy" ) // TestMain to set up global env. func TestMain(m *testing.M) { flag.Parse() // set to 'true' when testing is invoked globalIsTesting = true globalIsCICD = globalIsTesting globalActiveCred = auth.Credentials{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/genericapiserver_graceful_termination_test.go
"k8s.io/apiserver/pkg/server/dynamiccertificates" "k8s.io/klog/v2" "k8s.io/klog/v2/ktesting" "github.com/google/go-cmp/cmp" "golang.org/x/net/http2" ) func TestMain(m *testing.M) { klog.InitFlags(nil) os.Exit(m.Run()) } // doer sends a request to the server type doer func(client *http.Client, gci func(httptrace.GotConnInfo), path string, timeout time.Duration) result
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 38.3K bytes - Viewed (0)