commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: svn commit: r1200701 - /commons/proper/io/trunk/pom.xml
Date Fri, 11 Nov 2011 02:41:00 GMT
Shouldn't the test data be in a resources folder?

Gary

On Thu, Nov 10, 2011 at 9:39 PM, <sebb@apache.org> wrote:

> Author: sebb
> Date: Fri Nov 11 02:39:20 2011
> New Revision: 1200701
>
> URL: http://svn.apache.org/viewvc?rev=1200701&view=rev
> Log:
> Surefire blindly treats all matching files as potential test classes
> Ensure only .class files are selected
>
> Modified:
>    commons/proper/io/trunk/pom.xml
>
> Modified: commons/proper/io/trunk/pom.xml
> URL:
> http://svn.apache.org/viewvc/commons/proper/io/trunk/pom.xml?rev=1200701&r1=1200700&r2=1200701&view=diff
>
> ==============================================================================
> --- commons/proper/io/trunk/pom.xml (original)
> +++ commons/proper/io/trunk/pom.xml Fri Nov 11 02:39:20 2011
> @@ -262,7 +262,8 @@
>               <!-- limit memory size see IO-161 -->
>               <argLine>-Xmx25M</argLine>
>             <includes>
> -              <include>**/*Test*</include>
> +              <!-- Only include test classes, not test data -->
> +              <include>**/*Test*.class</include>
>             </includes>
>             <excludes>
>               <exclude>**/*AbstractTestCase*</exclude>
>
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@apache.org
JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0
Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message