org.apache.maven.artifact
Class DefaultArtifactTest

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

public class DefaultArtifactTest
extends TestCase


Constructor Summary
DefaultArtifactTest()
           
 
Method Summary
protected  void setUp()
           
 void testComparisonByVersion()
           
 void testGetDependencyConflictId()
           
 void testGetDependencyConflictIdNullClassifier()
           
 void testGetDependencyConflictIdNullGroupId()
           
 void testGetDependencyConflictIdNullScope()
           
 void testGetVersionReturnsResolvedVersionOnSnapshot()
           
 void testNonResolvedVersionRangeConsistentlyYieldsNullVersions()
           
 void testToString()
           
 void testToStringNullClassifier()
           
 void testToStringNullGroupId()
           
 void testToStringNullScope()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultArtifactTest

public DefaultArtifactTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class TestCase
Throws:
Exception

testGetVersionReturnsResolvedVersionOnSnapshot

public void testGetVersionReturnsResolvedVersionOnSnapshot()

testGetDependencyConflictId

public void testGetDependencyConflictId()

testGetDependencyConflictIdNullGroupId

public void testGetDependencyConflictIdNullGroupId()

testGetDependencyConflictIdNullClassifier

public void testGetDependencyConflictIdNullClassifier()

testGetDependencyConflictIdNullScope

public void testGetDependencyConflictIdNullScope()

testToString

public void testToString()

testToStringNullGroupId

public void testToStringNullGroupId()

testToStringNullClassifier

public void testToStringNullClassifier()

testToStringNullScope

public void testToStringNullScope()

testComparisonByVersion

public void testComparisonByVersion()

testNonResolvedVersionRangeConsistentlyYieldsNullVersions

public void testNonResolvedVersionRangeConsistentlyYieldsNullVersions()
                                                               throws Exception
Throws:
Exception


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.