mirror of https://github.com/apache/maven.git
Merge pull request #387 from infosupport/MNG-7002-include-unit-test-for-pl-including-children
[MNG-7002] Added a test scenario for including child modules when using the --pl switch.
This commit is contained in:
commit
6034102535
|
@ -121,6 +121,9 @@ public class DefaultGraphBuilderTest
|
|||
scenario( "Selected project" )
|
||||
.selectedProjects( MODULE_B )
|
||||
.expectResult( MODULE_B ),
|
||||
scenario( "Selected project (including child modules)" )
|
||||
.selectedProjects( MODULE_C )
|
||||
.expectResult( MODULE_C, MODULE_C_1, MODULE_C_2 ),
|
||||
scenario( "Excluded project" )
|
||||
.excludedProjects( MODULE_B )
|
||||
.expectResult( PARENT_MODULE, MODULE_C, MODULE_C_1, MODULE_A, MODULE_C_2, INDEPENDENT_MODULE ),
|
||||
|
|
Loading…
Reference in New Issue