org.apache.maven.model.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.model.validation.DefaultModelValidatorTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultModelValidatorTest
extends PlexusTestCase

Version:
$Id: DefaultModelValidatorTest.java 1054743 2011-01-03 20:45:41Z bentmann $
Author:
Trygve Laugstøl

Constructor Summary
DefaultModelValidatorTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testBadDependencyExclusionId()
           
 void testBadDependencyScope()
           
 void testBadDependencyVersion()
           
 void testBadImportScopeClassifier()
           
 void testBadImportScopeType()
           
 void testBadModelVersion()
           
 void testBadPluginDependencyScope()
           
 void testBadPluginDependencyVersion()
           
 void testBadPluginVersion()
           
 void testBadRepositoryId()
           
 void testBadSnapshotVersion()
           
 void testBadVersion()
           
 void testDistributionManagementStatus()
           
 void testDuplicateModule()
           
 void testDuplicatePlugin()
           
 void testDuplicatePluginExecution()
           
 void testDuplicateProfileId()
           
 void testEmptyModule()
           
 void testEmptyPluginVersion()
           
 void testHardCodedSystemPath()
           
 void testIncompleteParent()
           
 void testInvalidAggregatorPackaging()
           
 void testInvalidIds()
           
 void testMissingAll()
           
 void testMissingArtifactId()
           
 void testMissingDependencyArtifactId()
           
 void testMissingDependencyExclusionId()
           
 void testMissingDependencyGroupId()
           
 void testMissingDependencyManagementArtifactId()
           
 void testMissingDependencyManagementGroupId()
           
 void testMissingDependencyVersion()
           
 void testMissingGroupId()
           
 void testMissingModelVersion()
           
 void testMissingPluginArtifactId()
           
 void testMissingPluginDependencyArtifactId()
           
 void testMissingPluginDependencyGroupId()
           
 void testMissingPluginDependencyVersion()
           
 void testMissingRepositoryId()
           
 void testMissingResourceDirectory()
           
 void testMissingType()
           
 void testMissingVersion()
           
 void testReservedRepositoryId()
           
 void testSystemPathRefersToProjectBasedir()
           
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer
 
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

DefaultModelValidatorTest

public DefaultModelValidatorTest()
Method Detail

setUp

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

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class PlexusTestCase
Throws:
Exception

testMissingModelVersion

public void testMissingModelVersion()
                             throws Exception
Throws:
Exception

testBadModelVersion

public void testBadModelVersion()
                         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

testEmptyPluginVersion

public void testEmptyPluginVersion()
                            throws Exception
Throws:
Exception

testMissingRepositoryId

public void testMissingRepositoryId()
                             throws Exception
Throws:
Exception

testMissingResourceDirectory

public void testMissingResourceDirectory()
                                  throws Exception
Throws:
Exception

testBadPluginDependencyScope

public void testBadPluginDependencyScope()
                                  throws Exception
Throws:
Exception

testBadDependencyScope

public void testBadDependencyScope()
                            throws Exception
Throws:
Exception

testBadDependencyVersion

public void testBadDependencyVersion()
                              throws Exception
Throws:
Exception

testDuplicateModule

public void testDuplicateModule()
                         throws Exception
Throws:
Exception

testDuplicateProfileId

public void testDuplicateProfileId()
                            throws Exception
Throws:
Exception

testBadPluginVersion

public void testBadPluginVersion()
                          throws Exception
Throws:
Exception

testDistributionManagementStatus

public void testDistributionManagementStatus()
                                      throws Exception
Throws:
Exception

testIncompleteParent

public void testIncompleteParent()
                          throws Exception
Throws:
Exception

testHardCodedSystemPath

public void testHardCodedSystemPath()
                             throws Exception
Throws:
Exception

testEmptyModule

public void testEmptyModule()
                     throws Exception
Throws:
Exception

testDuplicatePlugin

public void testDuplicatePlugin()
                         throws Exception
Throws:
Exception

testDuplicatePluginExecution

public void testDuplicatePluginExecution()
                                  throws Exception
Throws:
Exception

testReservedRepositoryId

public void testReservedRepositoryId()
                              throws Exception
Throws:
Exception

testMissingPluginDependencyGroupId

public void testMissingPluginDependencyGroupId()
                                        throws Exception
Throws:
Exception

testMissingPluginDependencyArtifactId

public void testMissingPluginDependencyArtifactId()
                                           throws Exception
Throws:
Exception

testMissingPluginDependencyVersion

public void testMissingPluginDependencyVersion()
                                        throws Exception
Throws:
Exception

testBadPluginDependencyVersion

public void testBadPluginDependencyVersion()
                                    throws Exception
Throws:
Exception

testBadVersion

public void testBadVersion()
                    throws Exception
Throws:
Exception

testBadSnapshotVersion

public void testBadSnapshotVersion()
                            throws Exception
Throws:
Exception

testBadRepositoryId

public void testBadRepositoryId()
                         throws Exception
Throws:
Exception

testBadDependencyExclusionId

public void testBadDependencyExclusionId()
                                  throws Exception
Throws:
Exception

testMissingDependencyExclusionId

public void testMissingDependencyExclusionId()
                                      throws Exception
Throws:
Exception

testBadImportScopeType

public void testBadImportScopeType()
                            throws Exception
Throws:
Exception

testBadImportScopeClassifier

public void testBadImportScopeClassifier()
                                  throws Exception
Throws:
Exception

testSystemPathRefersToProjectBasedir

public void testSystemPathRefersToProjectBasedir()
                                          throws Exception
Throws:
Exception


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