nswrap/ast/objc_protocol_test.go

23 lines
367 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{
2019-05-31 10:21:04 -04:00
`0x10c26d630 'NSColorPickingDefault'`:
2019-06-04 00:14:04 -04:00
testNode{&ObjCProtocol{
2019-05-31 10:21:04 -04:00
Addr: 0x10c26d630,
Name: "NSColorPickingDefault",
ChildNodes: []Node{},
},
2019-06-04 00:14:04 -04:00
0x10c26d630,
NewPositionFromString(""),
[]Node{},
},
2019-05-31 10:21:04 -04:00
}
runNodeTests(t, nodes)
}