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

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

public abstract class PatternArtifactFilterTCK
extends TestCase


Constructor Summary
PatternArtifactFilterTCK()
           
 
Method Summary
protected abstract  ArtifactFilter createFilter(List patterns)
           
protected abstract  ArtifactFilter createFilter(List patterns, boolean actTransitively)
           
protected abstract  boolean isInclusionExpected()
           
 void testIncludeWhenPatternMatchesDepTrailWithTransitivityUsingNonColonWildcard()
           
 void testShouldIncludeDirectlyMatchedArtifactByDependencyConflictId()
           
 void testShouldIncludeDirectlyMatchedArtifactByGroupIdArtifactId()
           
 void testShouldIncludeTransitiveDependencyWhenWildcardMatchesButDoesntMatchParent()
           
 void testShouldIncludeWhenPatternMatchesDependencyTrailAndTransitivityIsEnabled()
           
 void testShouldIncludeWhenWildcardCoversPartOfGroupIdAndEverythingElse()
           
 void testShouldIncludeWhenWildcardMatchesInsideSequence()
           
 void testShouldIncludeWhenWildcardMatchesMiddleOfArtifactId()
           
 void testShouldIncludeWhenWildcardMatchesOutsideSequence()
           
 void testShouldNotIncludeWhenArtifactIdDiffers()
           
 void testShouldNotIncludeWhenBothIdElementsDiffer()
           
 void testShouldNotIncludeWhenGroupIdDiffers()
           
 void testShouldNotIncludeWhenNegativeMatch()
           
 void testShouldTriggerBothPatternsWithNonColonWildcards()
           
 void testShouldTriggerBothPatternsWithWildcards()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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

PatternArtifactFilterTCK

public PatternArtifactFilterTCK()
Method Detail

createFilter

protected abstract ArtifactFilter createFilter(List patterns)

createFilter

protected abstract ArtifactFilter createFilter(List patterns,
                                               boolean actTransitively)

isInclusionExpected

protected abstract boolean isInclusionExpected()

testShouldTriggerBothPatternsWithWildcards

public void testShouldTriggerBothPatternsWithWildcards()

testShouldTriggerBothPatternsWithNonColonWildcards

public void testShouldTriggerBothPatternsWithNonColonWildcards()

testShouldIncludeDirectlyMatchedArtifactByGroupIdArtifactId

public void testShouldIncludeDirectlyMatchedArtifactByGroupIdArtifactId()

testShouldIncludeDirectlyMatchedArtifactByDependencyConflictId

public void testShouldIncludeDirectlyMatchedArtifactByDependencyConflictId()

testShouldNotIncludeWhenGroupIdDiffers

public void testShouldNotIncludeWhenGroupIdDiffers()

testShouldNotIncludeWhenArtifactIdDiffers

public void testShouldNotIncludeWhenArtifactIdDiffers()

testShouldNotIncludeWhenBothIdElementsDiffer

public void testShouldNotIncludeWhenBothIdElementsDiffer()

testShouldIncludeWhenPatternMatchesDependencyTrailAndTransitivityIsEnabled

public void testShouldIncludeWhenPatternMatchesDependencyTrailAndTransitivityIsEnabled()

testIncludeWhenPatternMatchesDepTrailWithTransitivityUsingNonColonWildcard

public void testIncludeWhenPatternMatchesDepTrailWithTransitivityUsingNonColonWildcard()

testShouldNotIncludeWhenNegativeMatch

public void testShouldNotIncludeWhenNegativeMatch()

testShouldIncludeWhenWildcardMatchesInsideSequence

public void testShouldIncludeWhenWildcardMatchesInsideSequence()

testShouldIncludeWhenWildcardMatchesOutsideSequence

public void testShouldIncludeWhenWildcardMatchesOutsideSequence()

testShouldIncludeWhenWildcardMatchesMiddleOfArtifactId

public void testShouldIncludeWhenWildcardMatchesMiddleOfArtifactId()

testShouldIncludeWhenWildcardCoversPartOfGroupIdAndEverythingElse

public void testShouldIncludeWhenWildcardCoversPartOfGroupIdAndEverythingElse()

testShouldIncludeTransitiveDependencyWhenWildcardMatchesButDoesntMatchParent

public void testShouldIncludeTransitiveDependencyWhenWildcardMatchesButDoesntMatchParent()


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