org.apache.maven.it
Class MavenITmng3723ConcreteParentProjectTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.maven.it.AbstractMavenIntegrationTestCase
              extended by org.apache.maven.it.MavenITmng3723ConcreteParentProjectTest
All Implemented Interfaces:
Test

public class MavenITmng3723ConcreteParentProjectTest
extends AbstractMavenIntegrationTestCase

This is a test set for MNG-3723. Tests that the parent MavenProject instance of the current project has been transitioned into a concrete state before a mojo is executed. If this is true, then injecting ${project} into the mojo and traversing to project.getParent().getBasedir() should retrieve a File instance that is interpolated and exists (since we're going to be using a parent-child project set in the projects directory).

Author:
jdcasey

Field Summary
 
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
ALL_MAVEN_VERSIONS
 
Constructor Summary
MavenITmng3723ConcreteParentProjectTest()
           
 
Method Summary
 void testitMNG3723()
           
 
Methods inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase
matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepo
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, 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

MavenITmng3723ConcreteParentProjectTest

public MavenITmng3723ConcreteParentProjectTest()
Method Detail

testitMNG3723

public void testitMNG3723()
                   throws Exception
Throws:
Exception


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