Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TestKlog (0.17 sec)

  1. src/cmd/go/testdata/script/test_chatty_parallel_success_run.txt

    	close(afterSubTest)
    	<-afterSecondLog // Delay the "PASS: TestInterruptor" line until after "CONT  TestLog".
    }
    
    func TestLog(t *testing.T) {
    	t.Parallel()
    
    	t.Logf("this is the first TestLog log")
    	close(afterFirstLog)
    	<-afterSubTest
    	t.Logf("this is the second TestLog log")
    	close(afterSecondLog)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1K bytes
    - Viewed (0)
  2. src/testing/internal/testdeps/deps.go

    func (TestDeps) ImportPath() string {
    	return ImportPath
    }
    
    // testLog implements testlog.Interface, logging actions by package os.
    type testLog struct {
    	mu  sync.Mutex
    	w   *bufio.Writer
    	set bool
    }
    
    func (l *testLog) Getenv(key string) {
    	l.add("getenv", key)
    }
    
    func (l *testLog) Open(name string) {
    	l.add("open", name)
    }
    
    func (l *testLog) Stat(name string) {
    	l.add("stat", name)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 14:01:23 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/internal/testlog/exit.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package testlog
    
    import (
    	"sync"
    	_ "unsafe" // for linkname
    )
    
    // PanicOnExit0 reports whether to panic on a call to os.Exit(0).
    // This is in the testlog package because, like other definitions in
    // package testlog, it is a hook between the testing package and the
    // os package. This is used to ensure that an early call to os.Exit(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/os/stat.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os
    
    import "internal/testlog"
    
    // Stat returns a [FileInfo] describing the named file.
    // If there is an error, it will be of type [*PathError].
    func Stat(name string) (FileInfo, error) {
    	testlog.Stat(name)
    	return statNolog(name)
    }
    
    // Lstat returns a [FileInfo] describing the named file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 973 bytes
    - Viewed (0)
  5. src/internal/testlog/log.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package testlog provides a back-channel communication path
    // between tests and package os, so that cmd/go can see which
    // environment variables and files a test consults.
    package testlog
    
    import "sync/atomic"
    
    // Interface is the interface required of test loggers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 11 19:08:32 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  6. src/os/env.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // General environment variables.
    
    package os
    
    import (
    	"internal/testlog"
    	"syscall"
    )
    
    // Expand replaces ${var} or $var in the string based on the mapping function.
    // For example, [os.ExpandEnv](s) is equivalent to [os.Expand](s, [os.Getenv]).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. src/os/proc.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.
    
    // Process etc.
    
    package os
    
    import (
    	"internal/testlog"
    	"runtime"
    	"syscall"
    )
    
    // Args hold the command-line arguments, starting with the program name.
    var Args []string
    
    func init() {
    	if runtime.GOOS == "windows" {
    		// Initialized in exec_windows.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/go/internal/gccgoimporter/testdata/issue30628.gox

    v3;
    package issue30628
    pkgpath issue30628
    import os os "os"
    import sync sync "sync"
    init cpu internal..z2fcpu..import poll internal..z2fpoll..import testlog internal..z2ftestlog..import io io..import os os..import runtime runtime..import sys runtime..z2finternal..z2fsys..import sync sync..import syscall syscall..import time time..import
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 20:50:13 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  9. 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)
  10. src/go/internal/gccgoimporter/testdata/issue29198.gox

    v2;
    package server;
    pkgpath issue29198;
    import context context "context";
    import errors errors "errors";
    init context context..import fmt fmt..import poll internal_poll..import testlog internal_testlog..import io io..import os os..import reflect reflect..import runtime runtime..import sys runtime_internal_sys..import strconv strconv..import sync sync..import syscall syscall..import time time..import unicode unicode..import;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 12 23:01:16 UTC 2018
    - 6.4K bytes
    - Viewed (0)
Back to top