Skip to content

Commit

Permalink
SCM-706 updated the test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-ivanov committed Apr 15, 2015
1 parent 8b8db48 commit 3f2e345
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@
* under the License.
*/

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.net.URI;
import java.util.List;

import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import org.apache.maven.scm.ScmFile;
import org.apache.maven.scm.ScmFileStatus;
import org.apache.maven.scm.log.DefaultLog;
import org.codehaus.plexus.PlexusTestCase;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.net.URI;
import java.util.List;

/**
* @author <a href="mailto:[email protected]">Mark Struberg</a>
*/
Expand Down Expand Up @@ -263,8 +263,8 @@ public void testConsumeRenamedFile()

assertNotNull( changedFiles );
assertEquals( 2, changedFiles.size() );
assertEquals( "OldCapfile", changedFiles.get(0).getPath() );
assertEquals( "NewCapFile", changedFiles.get(1).getPath() );
testScmFile( changedFiles.get( 0 ), "OldCapfile", ScmFileStatus.RENAMED_FROM );
testScmFile( changedFiles.get( 1 ), "NewCapFile", ScmFileStatus.RENAMED_TO );
FileUtils.deleteDirectory( dir );
}

Expand Down

0 comments on commit 3f2e345

Please sign in to comment.