public class DefaultMojoScannerTest extends junit.framework.TestCase
| Constructor and Description |
|---|
DefaultMojoScannerTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkResult(PluginDescriptor pluginDescriptor,
Collection<String> expectedGoals)
Checks if the
PluginDescriptor contains exactly the MojoDescriptors with the
supplied goal names. |
protected void |
setUp() |
void |
testAllExtractorsThroughNull() |
void |
testNoExtractorsThroughEmptySet() |
void |
testSpecifiedExtractors() |
void |
testUnknownExtractor() |
void |
testUnspecifiedExtractors() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, 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, failSamepublic DefaultMojoScannerTest()
protected void setUp() throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void testUnspecifiedExtractors() throws Exception
Exceptionpublic void testSpecifiedExtractors() throws Exception
Exceptionpublic void testAllExtractorsThroughNull() throws Exception
Exceptionpublic void testNoExtractorsThroughEmptySet() throws Exception
Exceptionpublic void testUnknownExtractor() throws Exception
Exceptionprotected void checkResult(PluginDescriptor pluginDescriptor, Collection<String> expectedGoals)
PluginDescriptor contains exactly the MojoDescriptors with the
supplied goal names.pluginDescriptor - The PluginDescriptor to check.expectedGoals - The goal names of the MojoDescriptors.Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.