org.apache.maven.tools.plugin.scanner
Class DefaultMojoScannerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.maven.tools.plugin.scanner.DefaultMojoScannerTest
- All Implemented Interfaces:
- Test
public class DefaultMojoScannerTest
- extends TestCase
- Author:
- jdcasey
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 |
DefaultMojoScannerTest
public DefaultMojoScannerTest()
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class TestCase
- Throws:
Exception
testUnspecifiedExtractors
public void testUnspecifiedExtractors()
throws Exception
- Throws:
Exception
testSpecifiedExtractors
public void testSpecifiedExtractors()
throws Exception
- Throws:
Exception
testAllExtractorsThroughNull
public void testAllExtractorsThroughNull()
throws Exception
- Throws:
Exception
testNoExtractorsThroughEmptySet
public void testNoExtractorsThroughEmptySet()
throws Exception
- Throws:
Exception
testUnknownExtractor
public void testUnknownExtractor()
throws Exception
- Throws:
Exception
checkResult
protected void checkResult(PluginDescriptor pluginDescriptor,
Collection<String> expectedGoals)
- Checks if the
PluginDescriptor
contains exactly the MojoDescriptor
s with the
supplied goal names.
- Parameters:
pluginDescriptor
- The PluginDescriptor
to check.expectedGoals
- The goal names of the MojoDescriptor
s.
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.