Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TestStdLib (0.49 sec)

  1. src/cmd/compile/internal/syntax/parser_test.go

    )
    
    func TestParse(t *testing.T) {
    	ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0)
    }
    
    func TestVerify(t *testing.T) {
    	ast, err := ParseFile(*src_, func(err error) { t.Error(err) }, nil, 0)
    	if err != nil {
    		return // error already reported
    	}
    	verifyPrint(t, *src_, ast)
    }
    
    func TestStdLib(t *testing.T) {
    	if testing.Short() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 16:30:19 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/stdlib_test.go

    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	. "cmd/compile/internal/types2"
    )
    
    var stdLibImporter = defaultImporter()
    
    func TestStdlib(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    
    	testenv.MustHaveGoBuild(t)
    
    	// Collect non-test files.
    	dirFiles := make(map[string][]string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/go/types/stdlib_test.go

    //
    // Use the same importer for all std lib tests to
    // avoid repeated importing of the same packages.
    var stdLibImporter = importer.ForCompiler(token.NewFileSet(), "source", nil)
    
    func TestStdlib(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    
    	testenv.MustHaveGoBuild(t)
    
    	// Collect non-test files.
    	dirFiles := make(map[string][]string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top