kubernetes/staging/src/k8s.io/kube-aggregator/pkg/controllers/openapi/aggregator/aggregator_test.go

func TestBasicPathsMerged(t *testing.T) {}

func TestAddUpdateAPIService(t *testing.T) {}

// Tests that an APIService that registers OpenAPI will only have the OpenAPI
// for its specific group version served registered.
// See https://github.com/kubernetes/kubernetes/pull/123570 for full context.
func TestAPIServiceOpenAPIServiceMismatch(t *testing.T) {}

func TestAddRemoveAPIService(t *testing.T) {}

func TestUpdateAPIService(t *testing.T) {}

func TestFailingAPIServiceSkippedAggregation(t *testing.T) {}

func TestAPIServiceFailSuccessTransition(t *testing.T) {}

func TestFailingAPIServiceDoesNotBlockAdd(t *testing.T) {}

type openAPIHandler

func (o *openAPIHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {}

func fetchOpenAPI(mux *http.ServeMux) (*spec.Swagger, error) {}

func buildAndRegisterSpecAggregator(delegationHandlers []http.Handler, mux common.PathHandler) *specAggregator {}

func expectPath(t *testing.T, swagger *spec.Swagger, path string) {}

func expectNoPath(t *testing.T, swagger *spec.Swagger, path string) {}