String path = dPath.getPath();
- boolean b = path.indexOf( ".svn" ) >= 0;
+ boolean b = path.indexOf( "CVS" ) >= 0;
if ( b )
{
found = true;
for ( Iterator i = artifacts.iterator(); i.hasNext(); )
{
Artifact a = (Artifact) i.next();
+ assertFalse( "Check not CVS", a.getFile().getPath().indexOf( "CVS" ) >= 0 );
assertFalse( "Check not .svn", a.getFile().getPath().indexOf( ".svn" ) >= 0 );
}
}
String path = dPath.getPath();
- if ( path.indexOf( ".svn" ) >= 0 )
+ if ( path.indexOf( "CVS" ) >= 0 )
{
found = true;
assertEquals( "Check comment", "Artifact was in the specified list of exclusions", dPath.getComment() );
for ( Iterator i = artifacts.iterator(); i.hasNext(); )
{
Artifact a = (Artifact) i.next();
+ assertFalse( "Check not CVS", a.getFile().getPath().indexOf( "CVS" ) >= 0 );
assertFalse( "Check not .svn", a.getFile().getPath().indexOf( ".svn" ) >= 0 );
}
}