Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestImportedTypes (0.12 sec)

  1. src/go/internal/srcimporter/srcimporter_test.go

    	{"math.Sin", "func Sin(x float64) float64"},
    	{"math/big.Int", "type Int struct{neg bool; abs nat}"},
    	{"golang.org/x/text/unicode/norm.MaxSegmentSize", "const MaxSegmentSize untyped int"},
    }
    
    func TestImportedTypes(t *testing.T) {
    	if !testenv.HasSrc() {
    		t.Skip("no source code available")
    	}
    
    	for _, test := range importedObjectTests {
    		i := strings.LastIndex(test.name, ".")
    		if i < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/gcimporter_test.go

    	{"go/ast.Node", "type Node interface{End() go/token.Pos; Pos() go/token.Pos}"},
    	{"go/types.Type", "type Type interface{String() string; Underlying() Type}"},
    }
    
    func TestImportedTypes(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	// This package only handles gc export data.
    	if runtime.Compiler != "gc" {
    		t.Skipf("gc-built packages not available (compiler = %s)", runtime.Compiler)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top