Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for cc_test (0.15 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/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)
  3. src/cmd/dist/test.go

    				// TODO(#56629): Why does this fail on netbsd-arm?
    				cgoTest("static", "testtls", "external", "static", staticCheck)
    			}
    			cgoTest("external", "testnocgo", "external", "", staticCheck)
    			if goos != "android" {
    				cgoTest("static", "testnocgo", "external", "static", staticCheck)
    				cgoTest("static", "test", "external", "static", staticCheck)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cri_stats_provider_test.go

    	}
    	p.PodSandboxStatus.Id = strings.ReplaceAll(string(uuid.NewUUID()), "-", "")
    	return p
    }
    
    func makeFakeContainer(sandbox *critest.FakePodSandbox, name string, attempt uint32, terminated bool) *critest.FakeContainer {
    	sandboxID := sandbox.PodSandboxStatus.Id
    	c := &critest.FakeContainer{
    		SandboxID: sandboxID,
    		ContainerStatus: runtimeapi.ContainerStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. src/text/template/exec_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	var b bytes.Buffer
    	err = tmpl.Execute(&b, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    type cmpTest struct {
    	expr  string
    	truth string
    	ok    bool
    }
    
    var cmpTests = []cmpTest{
    	{"eq true true", "true", true},
    	{"eq true false", "false", true},
    	{"eq 1+2i 1+2i", "true", true},
    	{"eq 1+2i 1+3i", "false", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  6. src/html/template/exec_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	var b bytes.Buffer
    	err = tmpl.Execute(&b, 0)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    type cmpTest struct {
    	expr  string
    	truth string
    	ok    bool
    }
    
    var cmpTests = []cmpTest{
    	{"eq true true", "true", true},
    	{"eq true false", "false", true},
    	{"eq 1+2i 1+2i", "true", true},
    	{"eq 1+2i 1+3i", "false", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/test/test.go

    the file pattern "*_test.go".
    These additional files can contain test functions, benchmark functions, fuzz
    tests and example functions. See 'go help testfunc' for more.
    Each listed package causes the execution of a separate test binary.
    Files whose names begin with "_" (including "_test.go") or "." are ignored.
    
    Test files that declare a package with the suffix "_test" will be compiled as a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top