Class ResourcePatternFilterTest

java.lang.Object
org.apache.kafka.common.acl.ResourcePatternFilterTest

public class ResourcePatternFilterTest extends Object
  • Constructor Details

    • ResourcePatternFilterTest

      public ResourcePatternFilterTest()
  • Method Details

    • shouldBeUnknownIfResourceTypeUnknown

      @Test public void shouldBeUnknownIfResourceTypeUnknown()
    • shouldBeUnknownIfPatternTypeUnknown

      @Test public void shouldBeUnknownIfPatternTypeUnknown()
    • shouldNotMatchIfDifferentResourceType

      @Test public void shouldNotMatchIfDifferentResourceType()
    • shouldNotMatchIfDifferentName

      @Test public void shouldNotMatchIfDifferentName()
    • shouldNotMatchIfDifferentNameCase

      @Test public void shouldNotMatchIfDifferentNameCase()
    • shouldNotMatchIfDifferentPatternType

      @Test public void shouldNotMatchIfDifferentPatternType()
    • prefixFilterShouldNotMatchLiteralResourcePattern

      @Test public void prefixFilterShouldNotMatchLiteralResourcePattern()
    • shouldMatchWhereResourceTypeIsAny

      @Test public void shouldMatchWhereResourceTypeIsAny()
    • shouldMatchWhereResourceNameIsAny

      @Test public void shouldMatchWhereResourceNameIsAny()
    • shouldMatchWherePatternTypeIsAny

      @Test public void shouldMatchWherePatternTypeIsAny()
    • shouldMatchWherePatternTypeIsMatch

      @Test public void shouldMatchWherePatternTypeIsMatch()
    • shouldMatchLiteralIfExactMatch

      @Test public void shouldMatchLiteralIfExactMatch()
    • shouldMatchLiteralIfNameMatchesAndFilterIsOnPatternTypeAny

      @Test public void shouldMatchLiteralIfNameMatchesAndFilterIsOnPatternTypeAny()
    • shouldMatchLiteralIfNameMatchesAndFilterIsOnPatternTypeMatch

      @Test public void shouldMatchLiteralIfNameMatchesAndFilterIsOnPatternTypeMatch()
    • shouldNotMatchLiteralIfNamePrefixed

      @Test public void shouldNotMatchLiteralIfNamePrefixed()
    • shouldMatchLiteralWildcardIfExactMatch

      @Test public void shouldMatchLiteralWildcardIfExactMatch()
    • shouldNotMatchLiteralWildcardAgainstOtherName

      @Test public void shouldNotMatchLiteralWildcardAgainstOtherName()
    • shouldNotMatchLiteralWildcardTheWayAround

      @Test public void shouldNotMatchLiteralWildcardTheWayAround()
    • shouldNotMatchLiteralWildcardIfFilterHasPatternTypeOfAny

      @Test public void shouldNotMatchLiteralWildcardIfFilterHasPatternTypeOfAny()
    • shouldMatchLiteralWildcardIfFilterHasPatternTypeOfMatch

      @Test public void shouldMatchLiteralWildcardIfFilterHasPatternTypeOfMatch()
    • shouldMatchPrefixedIfExactMatch

      @Test public void shouldMatchPrefixedIfExactMatch()
    • shouldNotMatchIfBothPrefixedAndFilterIsPrefixOfResource

      @Test public void shouldNotMatchIfBothPrefixedAndFilterIsPrefixOfResource()
    • shouldNotMatchIfBothPrefixedAndResourceIsPrefixOfFilter

      @Test public void shouldNotMatchIfBothPrefixedAndResourceIsPrefixOfFilter()
    • shouldNotMatchPrefixedIfNamePrefixedAnyFilterTypeIsAny

      @Test public void shouldNotMatchPrefixedIfNamePrefixedAnyFilterTypeIsAny()
    • shouldMatchPrefixedIfNamePrefixedAnyFilterTypeIsMatch

      @Test public void shouldMatchPrefixedIfNamePrefixedAnyFilterTypeIsMatch()
    • testAllTenantLiteral

      @Test public void testAllTenantLiteral()
    • testAllTenantPrefixed

      @Test public void testAllTenantPrefixed()
    • testAllTenantAny

      @Test public void testAllTenantAny()
    • testOnlyTenantMatch

      @Test public void testOnlyTenantMatch()