nswrap/ast/objc_interface_type_test.go

22 lines
355 B
Go
Raw Permalink Normal View History

2019-05-31 10:21:04 -04:00
package ast
import (
"testing"
)
func TestObjCInterfaceType(t *testing.T) {
2019-06-04 00:14:04 -04:00
nodes := map[string]testNode{
`0x7fdef0862430 'NSObject'`: testNode{&ObjCInterfaceType{
Addr: 0x7fdef0862430,
Type: "NSObject",
ChildNodes: []Node{},
2019-05-31 10:21:04 -04:00
},
0x7fdef0862430,
NewPositionFromString(""),
[]Node{},
2019-06-04 00:14:04 -04:00
},
2019-05-31 10:21:04 -04:00
}
runNodeTests(t, nodes)
}