Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for runSamples (0.18 sec)

  1. src/go/doc/testdata/testing.0.golden

    	// An internal function but exported because it is cross-package; ...
    	func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark)
    
    	// 
    	func RunExamples(examples []InternalExample) (ok bool)
    
    	// 
    	func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool)
    
    	// Short reports whether the -test.short flag is set. 
    	func Short() bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  2. src/go/doc/testdata/testing.1.golden

    	// An internal function but exported because it is cross-package; ...
    	func RunBenchmarks(matchString func(pat, str string) (bool, error), benchmarks []InternalBenchmark)
    
    	// 
    	func RunExamples(examples []InternalExample) (ok bool)
    
    	// 
    	func RunTests(matchString func(pat, str string) (bool, error), tests []InternalTest) (ok bool)
    
    	// Short reports whether the -test.short flag is set. 
    	func Short() bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  3. src/go/doc/testdata/testing.go

    	flag.Parse()
    	parseCpuList()
    
    	before()
    	startAlarm()
    	testOk := RunTests(matchString, tests)
    	exampleOk := RunExamples(examples)
    	if !testOk || !exampleOk {
    		fmt.Println("FAIL")
    		os.Exit(1)
    	}
    	fmt.Println("PASS")
    	stopAlarm()
    	RunBenchmarks(matchString, benchmarks)
    	after()
    }
    
    func (t *T) report() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  4. src/testing/testing.go

    		haveExamples = len(m.examples) > 0
    		testRan, testOk := runTests(m.deps.MatchString, m.tests, deadline)
    		fuzzTargetsRan, fuzzTargetsOk := runFuzzTests(m.deps, m.fuzzTargets, deadline)
    		exampleRan, exampleOk := runExamples(m.deps.MatchString, m.examples)
    		m.stopAlarm()
    		if !testRan && !exampleRan && !fuzzTargetsRan && *matchBenchmarks == "" && *matchFuzz == "" {
    			fmt.Fprintln(os.Stderr, "testing: warning: no tests to run")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"InternalTest.Name", Field, 0},
    		{"M", Type, 4},
    		{"Main", Func, 0},
    		{"MainStart", Func, 4},
    		{"PB", Type, 3},
    		{"RegisterCover", Func, 2},
    		{"RunBenchmarks", Func, 0},
    		{"RunExamples", Func, 0},
    		{"RunTests", Func, 0},
    		{"Short", Func, 0},
    		{"T", Type, 0},
    		{"TB", Type, 2},
    		{"Testing", Func, 21},
    		{"Verbose", Func, 1},
    	},
    	"testing/fstest": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg testing, func Main(func(string, string) (bool, error), []InternalTest, []InternalBenchmark, []InternalExample)
    pkg testing, func RunBenchmarks(func(string, string) (bool, error), []InternalBenchmark)
    pkg testing, func RunExamples(func(string, string) (bool, error), []InternalExample) bool
    pkg testing, func RunTests(func(string, string) (bool, error), []InternalTest) bool
    pkg testing, func Short() bool
    pkg testing, method (*B) Error(...interface{})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top