- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for testLogs (0.26 sec)
-
src/test/java/org/codelibs/core/log/LoggerTest.java
* @throws Exception */ @Test public void testFatal() throws Exception { logger.fatal("fatal"); } /** * @throws Exception */ @Test public void testLog() throws Exception { logger.log("ILOGTEST0001"); } /** * @throws Exception */ @Test public void testLogWithArgs() throws Exception {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.8K bytes - Viewed (0) -
cluster/images/etcd/migrate/integration_test.go
t.Run(m.title, func(t *testing.T) { start := mustParseEtcdVersionPair(m.startVersion) end := mustParseEtcdVersionPair(m.endVersion) testCfgs := clusterConfig(t, m.title, m.memberCount, m.protocol, m.clientListenUrls) servers := []*EtcdMigrateServer{} for _, cfg := range testCfgs { client, err := NewEtcdMigrateClient(cfg) if err != nil { t.Fatalf("Failed to create client: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 28 07:33:23 UTC 2022 - 11.4K bytes - Viewed (0) -
src/runtime/metrics/description_test.go
} fmt.Fprintf(&b, "%s\n", d.Name) fmt.Fprintf(&b, "%s", wrap("\t", d.Description, 80-2*8)) } return b.String() } var generate = flag.Bool("generate", false, "update doc.go for go generate") func TestDocs(t *testing.T) { want := formatDesc(t) src, err := os.ReadFile("doc.go") if err != nil { t.Fatal(err) } fset := token.NewFileSet() f, err := parser.ParseFile(fset, "doc.go", src, parser.ParseComments)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 20 22:54:22 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
} err = errorCheck(string(output), false, fullshort...) if err != nil { t.Errorf("error check failed: %s", err) } } // TestTags verifies that the -tags argument controls which files to check. func TestTags(t *testing.T) { t.Parallel() for tag, wantFile := range map[string]int{ "testtag": 1, // file1 "x testtag y": 1, "othertag": 2, } {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
pkg/log/logr_test.go
} func mustMatchLength(t *testing.T, l int, items []string) { t.Helper() if len(items) != l { t.Fatalf("expected %v items, got %v: %v", l, len(items), items) } } func TestLogr(t *testing.T) { t.Run("newlines not duplicated", func(t *testing.T) { lines := runLogrTest(t, func(l logr.Logger) { l.Info("msg\n") }) mustMatchLength(t, 1, lines) mustRegexMatchString(t, lines[0], "msg")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.1K bytes - Viewed (0) -
src/os/file.go
func Chdir(dir string) error { if e := syscall.Chdir(dir); e != nil { testlog.Open(dir) // observe likely non-existent directory return &PathError{Op: "chdir", Path: dir, Err: e} } if runtime.GOOS == "windows" { getwdCache.Lock() getwdCache.dir = dir getwdCache.Unlock() } if log := testlog.Logger(); log != nil { wd, err := Getwd() if err == nil { log.Chdir(wd) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:37 UTC 2024 - 25.4K bytes - Viewed (0) -
src/os/exec.go
// Copyright 2009 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. package os import ( "errors" "internal/testlog" "runtime" "sync" "sync/atomic" "syscall" "time" ) // ErrProcessDone indicates a [Process] has finished. var ErrProcessDone = errors.New("os: process already finished") type processMode uint8 const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
GOROOTsrc = filepath.Join(goroot, "src") } installedGOOS = runtime.GOOS installedGOARCH = runtime.GOARCH if isTestGo { if testOS := os.Getenv("TESTGO_GOHOSTOS"); testOS != "" { installedGOOS = testOS } if testArch := os.Getenv("TESTGO_GOHOSTARCH"); testArch != "" { installedGOARCH = testArch } } if runtime.Compiler != "gccgo" { if goroot == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/README.md
directory. All the targets required to build the new ops are created by the following target: ```BUILD load("//tensorflow/compiler/mlir/tfr:build_defs.bzl", "gen_op_libraries") gen_op_libraries( name = "test_ops", src = "define_op_template.py", deps = [ "//third_party/py/tensorflow", ], ) ``` More composite op definitions and usages are here included in the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 29 18:32:13 UTC 2022 - 6.2K bytes - Viewed (0)