go test -run Test_App_HandlersCount
(t *testing.T)
| 2649 | |
| 2650 | // go test -run Test_App_HandlersCount |
| 2651 | func Test_App_HandlersCount(t *testing.T) { |
| 2652 | t.Parallel() |
| 2653 | app := New() |
| 2654 | |
| 2655 | app.Use("/path0", testEmptyHandler) |
| 2656 | app.Get("/path2", testEmptyHandler) |
| 2657 | app.Post("/path3", testEmptyHandler) |
| 2658 | |
| 2659 | app.startupProcess() |
| 2660 | |
| 2661 | count := app.HandlersCount() |
| 2662 | require.Equal(t, uint32(4), count) |
| 2663 | } |
| 2664 | |
| 2665 | // go test -run Test_App_ReadTimeout |
| 2666 | func Test_App_ReadTimeout(t *testing.T) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…