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 MojoDescriptor s 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
Exception
public void testSpecifiedExtractors() throws Exception
Exception
public void testAllExtractorsThroughNull() throws Exception
Exception
public void testNoExtractorsThroughEmptySet() throws Exception
Exception
public void testUnknownExtractor() throws Exception
Exception
protected void checkResult(PluginDescriptor pluginDescriptor, Collection<String> expectedGoals)
PluginDescriptor
contains exactly the MojoDescriptor
s with the
supplied goal names.pluginDescriptor
- The PluginDescriptor
to check.expectedGoals
- The goal names of the MojoDescriptor
s.Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.