org.apache.maven.plugin.dependency
Class TestTreeMojo

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugin.testing.AbstractMojoTestCase
                  extended by org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase
                      extended by org.apache.maven.plugin.dependency.TestTreeMojo
All Implemented Interfaces:
Test

public class TestTreeMojo
extends AbstractDependencyMojoTestCase

Tests TreeMojo.

Since:
2.0
Version:
$Id: TestTreeMojo.java 1365269 2012-07-24 20:24:01Z hboutemy $
Author:
Mark Hobson

Field Summary
 
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase
stubFactory, testDir
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir
 
Constructor Summary
TestTreeMojo()
           
 
Method Summary
 void _testTreeDotSerializing()
          Test the DOT format serialization
 void _testTreeGraphMLSerializing()
          Test the GraphML format serialization
 void _testTreeTestEnvironment()
          Tests the proper discovery and configuration of the mojo.
 void _testTreeTGFSerializing()
          Test the TGF format serialization
protected  void setUp()
           
 void testVoid()
           
 
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojoTestCase
setUp, tearDown
 
Methods inherited from class org.apache.maven.plugin.testing.AbstractMojoTestCase
configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
 
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

TestTreeMojo

public TestTreeMojo()
Method Detail

setUp

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

testVoid

public void testVoid()

_testTreeTestEnvironment

public void _testTreeTestEnvironment()
                              throws Exception
Tests the proper discovery and configuration of the mojo.

Throws:
Exception

_testTreeDotSerializing

public void _testTreeDotSerializing()
                             throws Exception
Test the DOT format serialization

Throws:
Exception

_testTreeGraphMLSerializing

public void _testTreeGraphMLSerializing()
                                 throws Exception
Test the GraphML format serialization

Throws:
Exception

_testTreeTGFSerializing

public void _testTreeTGFSerializing()
                             throws Exception
Test the TGF format serialization

Throws:
Exception


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