Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for p3_test (0.12 sec)

  1. src/cmd/go/go_test.go

    		func TestTest(t *testing.T) {
    		}`
    	tg.tempFile("src/p1/p1_test.go", strings.Replace(testSrc, "package_test", "p1_test", 1))
    	tg.tempFile("src/p2/p2_test.go", strings.Replace(testSrc, "package_test", "p2_test", 1))
    	tg.tempFile("src/p3/p3_test.go", strings.Replace(testSrc, "package_test", "p3_test", 1))
    	tg.tempFile("src/p4/p4_test.go", strings.Replace(testSrc, "package_test", "p4_test", 1))
    	tg.setenv("GOPATH", tg.path("."))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_vet.txt

    [short] skip
    
    # Test file
    ! go test p1_test.go
    stderr 'Logf format %d'
    go test -vet=off
    stdout '^ok'
    
    # Non-test file
    ! go test p1.go
    stderr 'Printf format %d'
    go test -x -vet=shift p1.go
    stderr '[\\/]vet.*-shift'
    stdout '\[no test files\]'
    go test -vet=off p1.go
    ! stderr '[\\/]vet.*-shift'
    stdout '\[no test files\]'
    
    # ensure all runs non-default vet
    ! go test -vet=all ./vetall/...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 27 20:14:44 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  3. src/io/fs/fs_test.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.
    
    package fs_test
    
    import (
    	. "io/fs"
    	"testing"
    )
    
    var isValidPathTests = []struct {
    	name string
    	ok   bool
    }{
    	{".", true},
    	{"x", true},
    	{"x/y", true},
    
    	{"", false},
    	{"..", false},
    	{"/", false},
    	{"x/", false},
    	{"/x", false},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 11 01:10:28 UTC 2021
    - 847 bytes
    - Viewed (0)
  4. src/internal/cpu/cpu_test.go

    // Copyright 2017 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 cpu_test
    
    import (
    	. "internal/cpu"
    	"internal/godebug"
    	"internal/testenv"
    	"os"
    	"os/exec"
    	"testing"
    )
    
    func MustHaveDebugOptionsSupport(t *testing.T) {
    	if !DebugOptions {
    		t.Skipf("skipping test: cpu feature options not supported by OS")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cover_dep_loop.txt

    stdout 'coverage: 100.0% of statements' # expect 100.0% coverage
    
    -- go.mod --
    module coverdep2
    
    go 1.16
    -- p1/p.go --
    package p1
    
    func F() int { return 1 }
    -- p1/p_test.go --
    package p1_test
    
    import (
    	"coverdep2/p2"
    	"testing"
    )
    
    func Test(t *testing.T) {
    	p2.F()
    }
    -- p2/p2.go --
    package p2
    
    import "coverdep2/p1"
    
    func F() {
    	p1.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 550 bytes
    - Viewed (0)
  6. src/net/http/fs_test.go

    	// ServeFile, test it:
    	test(Dir("/etc/hosts"), "")
    	test(Dir("/etc/hosts"), "/")
    	test(Dir("/etc/hosts"), "../")
    }
    
    func TestEmptyDirOpenCWD(t *testing.T) {
    	test := func(d Dir) {
    		name := "fs_test.go"
    		f, err := d.Open(name)
    		if err != nil {
    			t.Fatalf("open of %s: %v", name, err)
    		}
    		defer f.Close()
    	}
    	test(Dir(""))
    	test(Dir("."))
    	test(Dir("./"))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  7. test/typeparam/issue48185a.dir/p_test.go

    Matthew Dempsky <******@****.***> 1648073371 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 277 bytes
    - Viewed (0)
  8. test/fixedbugs/issue11053.dir/p_test.go

    Matthew Dempsky <******@****.***> 1648073371 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 828 bytes
    - Viewed (0)
  9. src/crypto/rsa/pss_test.go

    Alan Donovan <******@****.***> 1716475656 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. src/crypto/tls/prf_test.go

    Filippo Valsorda <******@****.***> 1566941265 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 27 22:24:05 UTC 2019
    - 5.7K bytes
    - Viewed (0)
Back to top