public class AllProfilesMojoTest
extends org.apache.maven.plugin.testing.AbstractMojoTestCase
Constructor and Description |
---|
AllProfilesMojoTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp() |
void |
testNoProfiles()
Tests the case when no profiles are present for the projects.
|
void |
testProfileFromParentPom()
Tests the case when active profiles are present in the parent POM.
|
void |
testProfileFromPom()
Tests the case when profiles are present in the POM and in a parent POM.
|
void |
testProfileFromSettings()
Tests the case when profiles are present in the settings.
|
addGuiceModules, configureMojo, configureMojo, extractPluginConfiguration, extractPluginConfiguration, getContainer, getPluginDescriptorLocation, getPluginDescriptorPath, getPublicDescriptorStream, getVariablesAndValuesFromObject, getVariablesAndValuesFromObject, getVariableValueFromObject, lookupConfiguredMojo, lookupConfiguredMojo, lookupEmptyMojo, lookupEmptyMojo, lookupMojo, lookupMojo, lookupMojo, newMavenSession, newMojoExecution, setupContainer, setupContainerConfiguration, setVariableValueToObject
customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfigurationName, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, tearDown, teardownContainer
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected void setUp() throws Exception
setUp
in class org.apache.maven.plugin.testing.AbstractMojoTestCase
Exception
public void testNoProfiles() throws Exception
Exception
- in case of errors.public void testProfileFromPom() throws Exception
Exception
- in case of errors.public void testProfileFromParentPom() throws Exception
Exception
- in case of errors.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.