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 void
assertFilter(boolean expected, java.lang.String pattern)
Asserts that the filter being tested returns the specified result for the specified pattern.protected org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilter
createFilter(java.util.List<java.lang.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 org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilter createFilter(java.util.List<java.lang.String> patterns)
Description copied from class:AbstractStrictPatternArtifactFilterTest
Creates the strict pattern artifact filter to test for the specified patterns.- Specified by:
createFilter
in classAbstractStrictPatternArtifactFilterTest
- Parameters:
patterns
- the list of artifact patterns that the filter should match- Returns:
- the filter to test
-
assertFilter
protected void assertFilter(boolean expected, java.lang.String pattern)
Description copied from class:AbstractStrictPatternArtifactFilterTest
Asserts that the filter being tested returns the specified result for the specified pattern.- Overrides:
assertFilter
in classAbstractStrictPatternArtifactFilterTest
- Parameters:
expected
- the result expected from the filterpattern
- the pattern to test
-
-