Logo Search packages:      
Sourcecode: maven2 version File versions  Download package

org::apache::maven::artifact::resolver::DefaultArtifactCollectorTest Class Reference

Inherits org::codehaus::plexus::PlexusTestCase.

List of all members.


Detailed Description

Test the default artifact collector.

Author:
Brett Porter
Version:
Id
DefaultArtifactCollectorTest.java 592009 2007-11-05 14:24:53Z hboutemy

Definition at line 53 of file DefaultArtifactCollectorTest.java.


Public Member Functions

void disabledtestCircularDependencyIncludingCurrentProject () throws ArtifactResolutionException, InvalidVersionSpecificationException
void disabledtestCircularDependencyNotIncludingCurrentProject () throws ArtifactResolutionException, InvalidVersionSpecificationException
void disabledtestOptionalNotTransitiveButVersionIsInfluential () throws ArtifactResolutionException, InvalidVersionSpecificationException
void disabledtestResolveCorrectDependenciesWhenDifferentDependenciesOnNewest () throws ArtifactResolutionException, InvalidVersionSpecificationException
void disabledtestResolveCorrectDependenciesWhenDifferentDependenciesOnNewestVersionReplaced () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testCollectChangesVersionOfOriginatingArtifactIfInDependencyManagementHasDifferentVersion () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testCompatibleRanges () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testIncompatibleRanges () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testOptionalIncludedAtRoot () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testOptionalNotTransitive () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testProvidedScopeNotTransitive () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveCompileScopeOverProvidedScope () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveCompileScopeOverRuntimeScope () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveCompileScopeOverTestScope () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveCorrectDependenciesWhenDifferentDependenciesOnNearest () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveLocalNewestIsLocal () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveLocalOldestIsLocal () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveLocalWithNewerVersionButLesserScope () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveLocalWithNewerVersionButLesserScopeResolvedFirst () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveManagedVersion () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveNearestNewestIsNearest () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveNearestOldestIsNearest () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveNearestWithRanges () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveOrder () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveRuntimeScopeOverProvidedScope () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveRuntimeScopeOverTestScope () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testResolveWithFilter () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testScopeUpdate () throws InvalidVersionSpecificationException, ArtifactResolutionException
void testTestScopeNotTransitive () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testUnboundedRangeAboveLastRelease () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testUnboundedRangeBelowLastRelease () throws ArtifactResolutionException, InvalidVersionSpecificationException
void testUnboundedRangeWhenVersionUnavailable () throws ArtifactResolutionException, InvalidVersionSpecificationException

Protected Member Functions

void setUp () throws Exception

Private Member Functions

void checkScopeUpdate (ArtifactSpec a, ArtifactSpec b, String expectedScope, String expectedVersion) throws ArtifactResolutionException, InvalidVersionSpecificationException
void checkScopeUpdate (String farthestScope, String nearestScope, String expectedScope) throws ArtifactResolutionException, InvalidVersionSpecificationException
void checkScopeUpdateDirect (String farthestScope, String nearestScope, String expectedScope) throws ArtifactResolutionException, InvalidVersionSpecificationException
void checkScopeUpdateTransitively (String farthestScope, String nearestScope, String expectedScope) throws ArtifactResolutionException, InvalidVersionSpecificationException
ArtifactResolutionResult collect (ArtifactSpec a, Artifact managedVersion) throws ArtifactResolutionException
ArtifactResolutionResult collect (ArtifactSpec a, ArtifactFilter filter) throws ArtifactResolutionException
ArtifactResolutionResult collect (ArtifactSpec a) throws ArtifactResolutionException
ArtifactResolutionResult collect (Set artifacts, ArtifactFilter filter) throws ArtifactResolutionException
ArtifactResolutionResult collect (Set artifacts) throws ArtifactResolutionException
ArtifactSpec createArtifactSpec (String id, String version, String scope, String inheritedScope, boolean optional) throws InvalidVersionSpecificationException
ArtifactSpec createArtifactSpec (String id, String version, String scope) throws InvalidVersionSpecificationException
ArtifactSpec createArtifactSpec (String id, String version, boolean optional) throws InvalidVersionSpecificationException
ArtifactSpec createArtifactSpec (String id, String version) throws InvalidVersionSpecificationException
Artifact getArtifact (String id, Set artifacts)

Static Private Member Functions

static Set createSet (Object[] x)

Private Attributes

ArtifactCollector artifactCollector
ArtifactFactory artifactFactory
ArtifactSpec projectArtifact
Source source

Static Private Attributes

static final String GROUP_ID = "test"

Classes

class  ArtifactSpec
class  Source

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index