Class AbstractVcsGetContentTestHelper
- java.lang.Object
-
- jetbrains.buildServer.buildTriggers.vcs.AbstractVcsGetContentTestHelper
-
- Direct Known Subclasses:
VcsGetContentTestHelper
public abstract class AbstractVcsGetContentTestHelper extends Object
Created 12.12.13 17:56- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected VcsFileContentProvider
myGetContent
protected VcsRoot
myRoot
protected File
myTestDataDirectory
-
Constructor Summary
Constructors Constructor Description AbstractVcsGetContentTestHelper(String testDataDirectoryName, VcsRoot root, VcsFileContentProvider support)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
checkFileContent(String versBefore, String versAfter, String fileRelativePath, String fileNameInChange)
protected abstract List<ModificationData>
getModificationDatas(String versBefore, String versAfter, VcsRoot root, CheckoutRules rules)
-
-
-
Field Detail
-
myTestDataDirectory
protected final File myTestDataDirectory
-
myRoot
protected final VcsRoot myRoot
-
myGetContent
protected final VcsFileContentProvider myGetContent
-
-
Constructor Detail
-
AbstractVcsGetContentTestHelper
public AbstractVcsGetContentTestHelper(String testDataDirectoryName, VcsRoot root, VcsFileContentProvider support)
-
-
Method Detail
-
checkFileContent
public void checkFileContent(String versBefore, String versAfter, String fileRelativePath, String fileNameInChange) throws VcsException, IOException
- Throws:
VcsException
IOException
-
getModificationDatas
protected abstract List<ModificationData> getModificationDatas(String versBefore, String versAfter, VcsRoot root, CheckoutRules rules) throws VcsException
- Throws:
VcsException
-
-