mirror of https://github.com/apache/maven.git
o adding Test*.java to the default regexes for inclusion.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290866 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ef26e75576
commit
4aaabdbece
|
@ -191,7 +191,7 @@ public class SurefirePlugin
|
||||||
// Have to wrap in an ArrayList as surefire expects an ArrayList instead of a List for some reason
|
// Have to wrap in an ArrayList as surefire expects an ArrayList instead of a List for some reason
|
||||||
if ( includes == null || includes.size() == 0 )
|
if ( includes == null || includes.size() == 0 )
|
||||||
{
|
{
|
||||||
includes = new ArrayList( Arrays.asList( new String[] { "**/*Test.java", "**/*TestCase.java" } ) );
|
includes = new ArrayList( Arrays.asList( new String[] { "**/Test*.java", "**/*Test.java", "**/*TestCase.java" } ) );
|
||||||
}
|
}
|
||||||
if ( excludes == null || excludes.size() == 0 )
|
if ( excludes == null || excludes.size() == 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue