Class StrictPatternExcludesArtifactFilterTest
java.lang.Object
org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilterTest
org.apache.maven.shared.artifact.filter.StrictPatternExcludesArtifactFilterTest
public class StrictPatternExcludesArtifactFilterTest
extends AbstractStrictPatternArtifactFilterTest
Tests
StrictPatternExcludesArtifactFilter
.- Author:
- Mark Hobson
- See Also:
-
Field Summary
Fields inherited from class org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilterTest
artifact
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertFilter
(boolean expected, String pattern) Asserts that the filter being tested returns the specified result for the specified pattern.protected AbstractStrictPatternArtifactFilter
createFilter
(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
-
Constructor Details
-
StrictPatternExcludesArtifactFilterTest
public StrictPatternExcludesArtifactFilterTest()
-
-
Method Details
-
createFilter
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
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
-