type escalationTest … func TestCoversExactMatch(t *testing.T) { … } func TestCoversSubresourceWildcard(t *testing.T) { … } func TestCoversMultipleRulesCoveringSingleRule(t *testing.T) { … } func TestCoversMultipleAPIGroupsCoveringSingleRule(t *testing.T) { … } func TestCoversSingleAPIGroupsCoveringMultiple(t *testing.T) { … } func TestCoversMultipleRulesMissingSingleVerbResourceCombination(t *testing.T) { … } func TestCoversAPIGroupStarCoveringMultiple(t *testing.T) { … } func TestCoversEnumerationNotCoveringAPIGroupStar(t *testing.T) { … } func TestCoversAPIGroupStarCoveringStar(t *testing.T) { … } func TestCoversVerbStarCoveringMultiple(t *testing.T) { … } func TestCoversEnumerationNotCoveringVerbStar(t *testing.T) { … } func TestCoversVerbStarCoveringStar(t *testing.T) { … } func TestCoversResourceStarCoveringMultiple(t *testing.T) { … } func TestCoversEnumerationNotCoveringResourceStar(t *testing.T) { … } func TestCoversResourceStarCoveringStar(t *testing.T) { … } func TestCoversResourceNameEmptyCoveringMultiple(t *testing.T) { … } func TestCoversEnumerationNotCoveringResourceNameEmpty(t *testing.T) { … } func TestCoversNonResourceURLs(t *testing.T) { … } func TestCoversNonResourceURLsStar(t *testing.T) { … } func TestCoversNonResourceURLsStarAfterPrefixDoesntCover(t *testing.T) { … } func TestCoversNonResourceURLsStarAfterPrefix(t *testing.T) { … } func TestCoversNonResourceURLsWithOtherFields(t *testing.T) { … } func TestCoversNonResourceURLsWithOtherFieldsFailure(t *testing.T) { … } func (test escalationTest) test(t *testing.T) { … } func rulesMatch(expectedRules, actualRules []rbacv1.PolicyRule) bool { … } func TestNonResourceURLCovers(t *testing.T) { … }