(t *testing.T)
| 324 | } |
| 325 | |
| 326 | func TestRoutesByProvider(t *testing.T) { |
| 327 | ep := NewTestEntrypoint(t, nil) |
| 328 | |
| 329 | // Add routes with provider info |
| 330 | addRoute(t, "app1") |
| 331 | addRoute(t, "app2") |
| 332 | |
| 333 | byProvider := ep.RoutesByProvider() |
| 334 | expect.Equal(t, 1, len(byProvider)) // All routes are from same implicit provider |
| 335 | |
| 336 | routes, ok := byProvider[""] |
| 337 | expect.True(t, ok) |
| 338 | expect.Equal(t, 2, len(routes)) |
| 339 | } |
| 340 | |
| 341 | func TestNumRoutes(t *testing.T) { |
| 342 | ep := NewTestEntrypoint(t, nil) |
nothing calls this directly
no test coverage detected