(t *testing.T)
| 937 | } |
| 938 | |
| 939 | func TestHandler(t *testing.T) { |
| 940 | if testing.Short() { |
| 941 | t.Skip("skipping in short mode") |
| 942 | return |
| 943 | } |
| 944 | defer SetTestHookBug121(func() {}) |
| 945 | for _, ht := range handlerTests { |
| 946 | ht.test(t) |
| 947 | } |
| 948 | } |
| 949 | |
| 950 | // TestGetPermanodeLocationAllocs helps us making sure we keep |
| 951 | // Handler.getPermanodeLocation (or equivalent), allocation-free. |
nothing calls this directly
no test coverage detected