(t *testing.T, bases ...DataType)
| 135 | } |
| 136 | |
| 137 | func withResultBases(t *testing.T, bases ...DataType) func(*MethodExpr) { |
| 138 | t.Helper() |
| 139 | return func(m *MethodExpr) { |
| 140 | if m.Result == nil { |
| 141 | m.Result = &AttributeExpr{Type: &Object{}} |
| 142 | } |
| 143 | m.Result.Bases = bases |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | func makeInterceptor(t *testing.T, opts ...func(*InterceptorExpr)) *InterceptorExpr { |
| 148 | t.Helper() |
no outgoing calls
no test coverage detected