Class StrictPatternExcludesArtifactFilterTest
- java.lang.Object
-
- org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilterTest
-
- org.apache.maven.shared.artifact.filter.StrictPatternExcludesArtifactFilterTest
-
public class StrictPatternExcludesArtifactFilterTest extends AbstractStrictPatternArtifactFilterTest
TestsStrictPatternExcludesArtifactFilter.- Author:
- Mark Hobson
- See Also:
StrictPatternExcludesArtifactFilter
-
-
Field Summary
-
Fields inherited from class org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilterTest
artifact
-
-
Constructor Summary
Constructors Constructor Description StrictPatternExcludesArtifactFilterTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidassertFilter(boolean expected, String pattern)Asserts that the filter being tested returns the specified result for the specified pattern.protected AbstractStrictPatternArtifactFiltercreateFilter(List<String> patterns)Creates the strict pattern artifact filter to test for the specified patterns.-
Methods inherited from class org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilterTest
assertExcluded, assertIncluded, createArtifact, setUp, testArtifactIdContainsWildcardExcluded, testArtifactIdContainsWildcardIncluded, testArtifactIdEndsWithPartialWildcardIncluded, testArtifactIdEndsWithWildcardExcluded, testArtifactIdEndsWithWildcardIncluded, testArtifactIdExcluded, testArtifactIdImplicitWildcardIncluded, testArtifactIdIncluded, testArtifactIdStartsWithPartialWildcardIncluded, testArtifactIdStartsWithWildcardExcluded, testArtifactIdStartsWithWildcardIncluded, testArtifactIdWildcardIncluded, testComplex, testExactExcluded, testExactIncluded, testGroupIdContainsWildcardExcluded, testGroupIdContainsWildcardIncluded, testGroupIdEndsWithPartialWildcardIncluded, testGroupIdEndsWithWildcardExcluded, testGroupIdEndsWithWildcardIncluded, testGroupIdExcluded, testGroupIdImplicitWildcardIncluded, testGroupIdIncluded, testGroupIdStartsWithPartialWildcardIncluded, testGroupIdStartsWithWildcardExcluded, testGroupIdStartsWithWildcardIncluded, testGroupIdWildcardIncluded, testRangeVersion, testSnapshotVersion, testTypeContainsWildcardExcluded, testTypeContainsWildcardIncluded, testTypeEndsWithPartialWildcardIncluded, testTypeEndsWithWildcardExcluded, testTypeEndsWithWildcardIncluded, testTypeExcluded, testTypeImplicitWildcardIncluded, testTypeIncluded, testTypeStartsWithPartialWildcardIncluded, testTypeStartsWithWildcardExcluded, testTypeStartsWithWildcardIncluded, testTypeWildcardIncluded, testVersionContainsWildcardExcluded, testVersionContainsWildcardIncluded, testVersionEndsWithPartialWildcardIncluded, testVersionEndsWithWildcardExcluded, testVersionEndsWithWildcardIncluded, testVersionExcluded, testVersionImplicitWildcardIncluded, testVersionIncluded, testVersionStartsWithPartialWildcardIncluded, testVersionStartsWithWildcardExcluded, testVersionStartsWithWildcardIncluded, testVersionWildcardIncluded, testWildcardsWithRangeVersion
-
-
-
-
Method Detail
-
createFilter
protected AbstractStrictPatternArtifactFilter createFilter(List<String> patterns)
Description copied from class:AbstractStrictPatternArtifactFilterTestCreates the strict pattern artifact filter to test for the specified patterns.- Specified by:
createFilterin classAbstractStrictPatternArtifactFilterTest- Parameters:
patterns- the list of artifact patterns that the filter should match- Returns:
- the filter to test
-
assertFilter
protected void assertFilter(boolean expected, String pattern)Description copied from class:AbstractStrictPatternArtifactFilterTestAsserts that the filter being tested returns the specified result for the specified pattern.- Overrides:
assertFilterin classAbstractStrictPatternArtifactFilterTest- Parameters:
expected- the result expected from the filterpattern- the pattern to test
-
-