org.apache.maven.project.validation
Class DefaultModelValidatorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.project.AbstractMavenProjectTestCase
                  extended by org.apache.maven.project.validation.DefaultModelValidatorTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultModelValidatorTest
extends AbstractMavenProjectTestCase

Version:
$Id: DefaultModelValidatorTest.java 585268 2007-10-16 21:43:07Z hboutemy $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from class org.apache.maven.project.AbstractMavenProjectTestCase
projectBuilder
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
DefaultModelValidatorTest()
           
 
Method Summary
 void testInvalidAggregatorPackaging()
           
 void testInvalidIds()
           
 void testMissingAll()
           
 void testMissingArtifactId()
           
 void testMissingDependencyArtifactId()
           
 void testMissingDependencyGroupId()
           
 void testMissingDependencyManagementArtifactId()
           
 void testMissingDependencyManagementGroupId()
           
 void testMissingDependencyVersion()
           
 void testMissingGroupId()
           
 void testMissingModelVersion()
           
 void testMissingPluginArtifactId()
           
 void testMissingRepositoryId()
           
 void testMissingResourceDirectory()
           
 void testMissingType()
           
 void testMissingVersion()
           
 
Methods inherited from class org.apache.maven.project.AbstractMavenProjectTestCase
getFileForClasspathResource, getLocalRepository, getLocalRepositoryPath, getProject, getProjectWithDependencies, setUp
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultModelValidatorTest

public DefaultModelValidatorTest()
Method Detail

testMissingModelVersion

public void testMissingModelVersion()
                             throws Exception
Throws:
Exception

testMissingArtifactId

public void testMissingArtifactId()
                           throws Exception
Throws:
Exception

testMissingGroupId

public void testMissingGroupId()
                        throws Exception
Throws:
Exception

testInvalidIds

public void testInvalidIds()
                    throws Exception
Throws:
Exception

testMissingType

public void testMissingType()
                     throws Exception
Throws:
Exception

testMissingVersion

public void testMissingVersion()
                        throws Exception
Throws:
Exception

testInvalidAggregatorPackaging

public void testInvalidAggregatorPackaging()
                                    throws Exception
Throws:
Exception

testMissingDependencyArtifactId

public void testMissingDependencyArtifactId()
                                     throws Exception
Throws:
Exception

testMissingDependencyGroupId

public void testMissingDependencyGroupId()
                                  throws Exception
Throws:
Exception

testMissingDependencyVersion

public void testMissingDependencyVersion()
                                  throws Exception
Throws:
Exception

testMissingDependencyManagementArtifactId

public void testMissingDependencyManagementArtifactId()
                                               throws Exception
Throws:
Exception

testMissingDependencyManagementGroupId

public void testMissingDependencyManagementGroupId()
                                            throws Exception
Throws:
Exception

testMissingAll

public void testMissingAll()
                    throws Exception
Throws:
Exception

testMissingPluginArtifactId

public void testMissingPluginArtifactId()
                                 throws Exception
Throws:
Exception

testMissingRepositoryId

public void testMissingRepositoryId()
                             throws Exception
Throws:
Exception

testMissingResourceDirectory

public void testMissingResourceDirectory()
                                  throws Exception
Throws:
Exception


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