org.apache.maven.shared.dependency.analyzer
Class DefaultProjectDependencyAnalyzerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.shared.dependency.analyzer.DefaultProjectDependencyAnalyzerTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultProjectDependencyAnalyzerTest
extends org.codehaus.plexus.PlexusTestCase

Tests DefaultProjectDependencyAnalyzer.

Version:
$Id: DefaultProjectDependencyAnalyzerTest.java 1400630 2012-10-21 12:36:51Z hboutemy $
Author:
Mark Hobson
See Also:
DefaultProjectDependencyAnalyzer

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultProjectDependencyAnalyzerTest()
           
 
Method Summary
protected  void setUp()
           
 void testJarWithCompileDependency()
           
 void testJarWithNoDependencies()
           
 void testJarWithTestDependency()
           
 void testJarWithXmlTransitiveDependency()
           
 void testPom()
           
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

DefaultProjectDependencyAnalyzerTest

public DefaultProjectDependencyAnalyzerTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.codehaus.plexus.PlexusTestCase
Throws:
Exception

testPom

public void testPom()
             throws TestToolsException,
                    ProjectDependencyAnalyzerException
Throws:
TestToolsException
ProjectDependencyAnalyzerException

testJarWithNoDependencies

public void testJarWithNoDependencies()
                               throws TestToolsException,
                                      ProjectDependencyAnalyzerException
Throws:
TestToolsException
ProjectDependencyAnalyzerException

testJarWithCompileDependency

public void testJarWithCompileDependency()
                                  throws TestToolsException,
                                         ProjectDependencyAnalyzerException
Throws:
TestToolsException
ProjectDependencyAnalyzerException

testJarWithTestDependency

public void testJarWithTestDependency()
                               throws TestToolsException,
                                      ProjectDependencyAnalyzerException
Throws:
TestToolsException
ProjectDependencyAnalyzerException

testJarWithXmlTransitiveDependency

public void testJarWithXmlTransitiveDependency()
                                        throws TestToolsException,
                                               ProjectDependencyAnalyzerException
Throws:
TestToolsException
ProjectDependencyAnalyzerException


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