org.apache.maven.shared.artifact.filter
Class StrictPatternExcludesArtifactFilterTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilterTest
              extended by org.apache.maven.shared.artifact.filter.StrictPatternExcludesArtifactFilterTest
All Implemented Interfaces:
Test

public class StrictPatternExcludesArtifactFilterTest
extends AbstractStrictPatternArtifactFilterTest

Tests StrictPatternExcludesArtifactFilter.

Version:
$Id: StrictPatternExcludesArtifactFilterTest.java 661727 2008-05-30 14:21:49Z bentmann $
Author:
Mark Hobson
See Also:
StrictPatternExcludesArtifactFilter

Field Summary
 
Fields inherited from class org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilterTest
artifact
 
Constructor Summary
StrictPatternExcludesArtifactFilterTest()
           
 
Method Summary
protected  void assertFilter(boolean expected, 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(List 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
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StrictPatternExcludesArtifactFilterTest

public StrictPatternExcludesArtifactFilterTest()
Method Detail

createFilter

protected org.apache.maven.shared.artifact.filter.AbstractStrictPatternArtifactFilter createFilter(List patterns)
Description copied from class: AbstractStrictPatternArtifactFilterTest
Creates the strict pattern artifact filter to test for the specified patterns.

Specified by:
createFilter in class AbstractStrictPatternArtifactFilterTest
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: AbstractStrictPatternArtifactFilterTest
Asserts that the filter being tested returns the specified result for the specified pattern.

Overrides:
assertFilter in class AbstractStrictPatternArtifactFilterTest
Parameters:
expected - the result expected from the filter
pattern - the pattern to test


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.