(name string)
| 58 | } |
| 59 | |
| 60 | func (t *TestApp) registerEventCall(name string) { |
| 61 | t.mux.Lock() |
| 62 | defer t.mux.Unlock() |
| 63 | |
| 64 | if t.EventCalls == nil { |
| 65 | t.EventCalls = make(map[string]int) |
| 66 | } |
| 67 | |
| 68 | t.EventCalls[name]++ |
| 69 | } |
| 70 | |
| 71 | // NewTestApp creates and initializes a test application instance. |
| 72 | // |
no outgoing calls
no test coverage detected