public class DefaultMojoScannerTest extends Object
| 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. |
void |
setUp() |
void |
testAllExtractorsThroughNull() |
void |
testNoExtractorsThroughEmptySet() |
void |
testSpecifiedExtractors() |
void |
testUnknownExtractor() |
void |
testUnspecifiedExtractors() |
public DefaultMojoScannerTest()
public void setUp()
public 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–2022 The Apache Software Foundation. All rights reserved.