print( "Actual files: " );
for ( Iterator it = actualCheckedOutFiles.iterator(); it.hasNext(); )
{
ChangeFile scmFile = (ChangeFile) it.next();
print( " " + scmFile.getName() );
}
assertEquals(
"The expected and actual lists of checked out actualCheckedOutFiles doesn't have the same length.",
expectedCheckedOutFiles.length, actualCheckedOutFiles.size() );
}
for ( int i = 0; i < expectedCheckedOutFiles.length; i++ )
{
String expectedCheckedOutFile = expectedCheckedOutFiles[i];
ChangeFile actualCheckedOutFile = (ChangeFile) actualCheckedOutFiles.get( i );
assertEquals( "File #" + i + " doesn't match the expected path.", expectedCheckedOutFile,
actualCheckedOutFile.getName() );
}
}