Fix includes unit tests.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162889 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-07-27 11:24:04 +00:00
parent b0c0d6c5fc
commit b584f103e1
1 changed files with 10 additions and 1 deletions

View File

@ -611,7 +611,16 @@ public class MBoot
if ( reader.getUnitTests() != null )
{
includes = reader.getUnitTests().getIncludes();
if ( reader.getUnitTests().getIncludes().size() != 0 )
{
includes = reader.getUnitTests().getIncludes();
}
else
{
includes = new ArrayList();
includes.add( "**/*Test.java" );
}
excludes = reader.getUnitTests().getExcludes();
}