Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 7,983 for testAny (0.18 sec)

  1. src/cmd/cover/cover_test.go

    // itself via "go test -cover".
    func TestCoverWithToolExec(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	toolexecArg := "-toolexec=" + testcover(t)
    
    	t.Run("CoverHTML", func(t *testing.T) {
    		testCoverHTML(t, toolexecArg)
    	})
    	t.Run("HtmlUnformatted", func(t *testing.T) {
    		testHtmlUnformatted(t, toolexecArg)
    	})
    	t.Run("FuncWithDuplicateLines", func(t *testing.T) {
    		testFuncWithDuplicateLines(t, toolexecArg)
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/pcrelative_test.go

    		t.Fatal(err)
    	}
    
    	cmd := testenv.Command(t,
    		testenv.GoToolPath(t), "build", "-o",
    		filepath.Join(tmpdir, "output"))
    
    	cmd.Env = append(os.Environ(),
    		"GOARCH=amd64", "GOOS=linux", "GOPATH="+filepath.Join(tmpdir, "_gopath"))
    	cmd.Dir = tmpdir
    
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("error %s output %s", err, out)
    	}
    	cmd2 := testenv.Command(t,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 23:16:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/os/exec_unix_test.go

    //go:build unix
    
    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"math"
    	. "os"
    	"runtime"
    	"syscall"
    	"testing"
    )
    
    func TestErrProcessDone(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	p, err := StartProcess(testenv.GoToolPath(t), []string{"go"}, &ProcAttr{})
    	if err != nil {
    		t.Fatalf("starting test process: %v", err)
    	}
    	p.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.testing.base.TestSuite.xml

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/swig/swig_test.go

    package swig
    
    import (
    	"cmd/internal/quoted"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"sync"
    	"testing"
    )
    
    func TestStdio(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	mustHaveSwig(t)
    	run(t, "testdata/stdio", false)
    }
    
    func TestCall(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	mustHaveSwig(t)
    	mustHaveCxx(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:38:14 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. src/net/http/http_test.go

    	}
    }
    
    // Tests that the nethttpomithttp2 build tag doesn't rot too much,
    // even if there's not a regular builder on it.
    func TestOmitHTTP2(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    	t.Parallel()
    	goTool := testenv.GoToolPath(t)
    	out, err := testenv.Command(t, goTool, "test", "-short", "-tags=nethttpomithttp2", "net/http").CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 18:18:19 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. src/testing/testing_test.go

    var testingTrueInPackageVarInit = testing.Testing()
    
    // init is part of TestTesting.
    func init() {
    	if testing.Testing() {
    		testingTrueInInit = true
    	}
    }
    
    var testingProg = `
    package main
    
    import (
    	"fmt"
    	"testing"
    )
    
    func main() {
    	fmt.Println(testing.Testing())
    }
    `
    
    func TestTesting(t *testing.T) {
    	if !testing.Testing() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/objfile_test.go

    // license that can be found in the LICENSE file.
    
    package obj
    
    import (
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"testing"
    	"unsafe"
    
    	"cmd/internal/goobj"
    	"cmd/internal/sys"
    )
    
    var dummyArch = LinkArch{Arch: sys.ArchAMD64}
    
    func TestContentHash64(t *testing.T) {
    	s1 := &LSym{P: []byte("A")}
    	s2 := &LSym{P: []byte("A\x00\x00\x00")}
    	s1.Set(AttrContentAddressable, true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:30 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. src/cmd/link/cgo_test.go

    package main
    
    import (
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strconv"
    	"testing"
    )
    
    // Issues 43830, 46295
    func TestCGOLTO(t *testing.T) {
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveGoBuild(t)
    
    	t.Parallel()
    
    	goEnv := func(arg string) string {
    		cmd := testenv.Command(t, testenv.GoToolPath(t), "env", arg)
    		cmd.Stderr = new(bytes.Buffer)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 09 22:13:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. src/cmd/link/dwarf_test.go

    	cmd.Stdin = os.Stdin
    	cmd.Stdout = os.Stdout
    	cmd.Stderr = os.Stderr
    	if err := cmd.Run(); err != nil {
    		os.Exit(1)
    	}
    	os.Exit(0)
    }
    
    func testDWARF(t *testing.T, buildmode string, expectDWARF bool, env ...string) {
    	testenv.MustHaveCGO(t)
    	testenv.MustHaveGoBuild(t)
    
    	if !platform.ExecutableHasDWARF(runtime.GOOS, runtime.GOARCH) {
    		t.Skipf("skipping on %s/%s: no DWARF symbol table in executables", runtime.GOOS, runtime.GOARCH)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top