nswrap/ast/objc_protocol_test.go

22 lines
362 B
Go
Raw Normal View History

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