org.apache.maven.plugins.enforcer
Class TestRequireNoRepositories

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.plugins.enforcer.TestRequireNoRepositories
All Implemented Interfaces:
Test

public class TestRequireNoRepositories
extends org.codehaus.plexus.PlexusTestCase

Test the "require no repositories" rule.

Author:
Brett Porter

Field Summary
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
TestRequireNoRepositories()
           
 
Method Summary
 void setUp()
           
 void testAllBannedNoRepositories()
           
 void testAllBannedWithAllowedPluginRepositories()
           
 void testAllBannedWithAllowedRepositories()
           
 void testAllBannedWithRepositories()
           
 void testId()
          Test id.
 void testPluginReposAllowedWithSnapshotPluginRepositories()
           
 void testPluginReposNotAllowedWithSnapshotRepositories()
           
 void testPluginReposNotBannedNoRepositories()
           
 void testPluginReposNotBannedWithPluginRepositories()
           
 void testPluginReposNotBannedWithRepositories()
           
 void testReposAllowedWithSnapshotRepositories()
           
 void testReposNotAllowedWithSnapshotRepositories()
           
 void testReposNotBannedNoRepositories()
           
 void testReposNotBannedWithPluginRepositories()
           
 void testReposNotBannedWithRepositories()
           
 
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

TestRequireNoRepositories

public TestRequireNoRepositories()
Method Detail

setUp

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

testAllBannedNoRepositories

public void testAllBannedNoRepositories()
                                 throws EnforcerRuleException
Throws:
EnforcerRuleException

testAllBannedWithRepositories

public void testAllBannedWithRepositories()
                                   throws EnforcerRuleException
Throws:
EnforcerRuleException

testAllBannedWithAllowedRepositories

public void testAllBannedWithAllowedRepositories()
                                          throws EnforcerRuleException
Throws:
EnforcerRuleException

testAllBannedWithAllowedPluginRepositories

public void testAllBannedWithAllowedPluginRepositories()
                                                throws EnforcerRuleException
Throws:
EnforcerRuleException

testReposNotBannedNoRepositories

public void testReposNotBannedNoRepositories()
                                      throws EnforcerRuleException
Throws:
EnforcerRuleException

testReposNotBannedWithRepositories

public void testReposNotBannedWithRepositories()
                                        throws EnforcerRuleException
Throws:
EnforcerRuleException

testReposNotBannedWithPluginRepositories

public void testReposNotBannedWithPluginRepositories()
                                              throws EnforcerRuleException
Throws:
EnforcerRuleException

testPluginReposNotBannedNoRepositories

public void testPluginReposNotBannedNoRepositories()
                                            throws EnforcerRuleException
Throws:
EnforcerRuleException

testPluginReposNotBannedWithRepositories

public void testPluginReposNotBannedWithRepositories()
                                              throws EnforcerRuleException
Throws:
EnforcerRuleException

testPluginReposNotBannedWithPluginRepositories

public void testPluginReposNotBannedWithPluginRepositories()
                                                    throws EnforcerRuleException
Throws:
EnforcerRuleException

testReposNotAllowedWithSnapshotRepositories

public void testReposNotAllowedWithSnapshotRepositories()
                                                 throws EnforcerRuleException
Throws:
EnforcerRuleException

testReposAllowedWithSnapshotRepositories

public void testReposAllowedWithSnapshotRepositories()
                                              throws EnforcerRuleException
Throws:
EnforcerRuleException

testPluginReposNotAllowedWithSnapshotRepositories

public void testPluginReposNotAllowedWithSnapshotRepositories()
                                                       throws EnforcerRuleException
Throws:
EnforcerRuleException

testPluginReposAllowedWithSnapshotPluginRepositories

public void testPluginReposAllowedWithSnapshotPluginRepositories()
                                                          throws EnforcerRuleException
Throws:
EnforcerRuleException

testId

public void testId()
Test id.



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