public class VCSSVNTest extends AbstractIsisFishTest
| Modifier and Type | Field and Description |
|---|---|
static String |
FILECONTENTTAG |
static String |
FILECONTENTTRUNK |
protected static File |
localRepo |
protected static File |
localRepoTrunk |
protected static File |
remoteRepo |
protected static File |
template |
static File |
TMPDIR
Run test out of target directory for SVN to not find parent .svn with not supported svn format.
|
protected fr.ifremer.isisfish.vcs.VCSSVN |
vcs |
dirIsisBase| Constructor and Description |
|---|
VCSSVNTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Init call before each test.
|
static void |
setUpOnce() |
void |
tearDown()
Clean repo directories.
|
void |
testAdd()
Test of add method, of class VCSSVN.
|
void |
testAll()
Test of checkout method, of class VCSSVN.
|
void |
testCheckFileStatusWithConflict()
Test a checkFileStatus (witch is doing an update)
- Checkout
- commit modification
- update at revision -1
- modify one file
- update at head
|
void |
testCheckProtocol()
Verifie la connexion et si le protocole a change, switch le repository
pour utiliser le nouveau protocole.
|
void |
testCleanup()
Test cleanup.
|
void |
testGetChanglog()
Return all changelog between local file version and remote repository
file version.
|
void |
testGetDiff()
Test of getDiff method, of class VCSSVN.
|
void |
testGetFileList()
Test of getFileList method, of class VCSSVN.
|
void |
testGetFileList2()
Test of getFileList method, of class VCSSVN.
|
void |
testGetFileList3()
Test of getFileList method, of class VCSSVN.
|
void |
testGetLocalStatusMissing()
Test file local status
|
void |
testGetLocalStatusModified()
Test file local status
|
void |
testgetRemoteURL()
Test of getRemoteURL method, of class VCSSVN.
|
void |
testgetSVNManager()
Test of getSVNManager method, of class VCSSVN.
|
void |
testGetUpdatedFile()
Test of getUpdatedFile method, of class VCSSVN.
|
void |
testGetUpdatedFileEmptyResult()
Test of getUpdatedFile method, of class VCSSVN.
|
void |
testHaveNoUpdate()
Ask if there are some new or modified files on server.
|
void |
testHaveUpdate()
Ask if there are some new or modified files on server.
|
void |
testIsConnected()
Test of isConnected method, of class VCSSVN.
|
void |
testIsOnRemote()
Test of isOnRemote method, of class VCSSVN.
|
void |
testIsOnRemote2()
Test of isOnRemote method, of class VCSSVN.
|
void |
testIsOnRemote3()
Test of isOnRemote method, of class VCSSVN.
|
void |
testIsOnRemote4()
Test of isOnRemote method, of class VCSSVN.
|
void |
testIsOnRemote5()
Test of isOnRemote method, of class VCSSVN.
|
void |
testIsTag()
Test of isTag method, of class VCSSVN.
|
void |
testIsUpToDate()
Test of isUpToDate method, of class VCSSVN.
|
void |
testIsUpToDate2()
Test of isUpToDate method, of class VCSSVN.
|
void |
testIsUpToDate3()
Test of isUpToDate method, of class VCSSVN.
|
void |
testIsVersionnableFile()
Test of isVersionnableFile method, of class VCSSVN.
|
void |
testSwitchWithConflict()
Test a trunk-to-trunk switch with file in conflict
|
void |
testUpdateWithConflict()
Test an update with file in conflict
|
void |
testUpdateWithLock()
Test an update with a local locked file
|
clean, getCurrentDatabaseDirectory, getFreemarkerConfiguration, getTestDirectory, init, resetConfigpublic static final File TMPDIR
public static final String FILECONTENTTAG
public static final String FILECONTENTTRUNK
protected static File template
protected static File remoteRepo
protected static File localRepo
protected static File localRepoTrunk
protected fr.ifremer.isisfish.vcs.VCSSVN vcs
public static void setUpOnce()
public void setUp()
throws IOException,
org.tmatesoft.svn.core.SVNException
IOExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void tearDown()
public void testgetSVNManager()
public void testgetRemoteURL()
throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNExceptionpublic void testIsVersionnableFile()
public void testAll()
throws IOException,
fr.ifremer.isisfish.vcs.VCSException
IOExceptionVCSExceptionpublic void testAdd()
throws Exception
Exceptionpublic void testCheckProtocol()
throws fr.ifremer.isisfish.vcs.VCSException
VCSExceptionpublic void testCleanup()
throws fr.ifremer.isisfish.vcs.VCSException
VCSExceptionpublic void testGetChanglog()
throws fr.ifremer.isisfish.vcs.VCSException,
IOException,
org.tmatesoft.svn.core.SVNException
VCSExceptionIOExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testGetDiff()
throws fr.ifremer.isisfish.vcs.VCSException,
IOException
VCSExceptionIOExceptionpublic void testGetFileList()
throws fr.ifremer.isisfish.vcs.VCSException
VCSExceptionpublic void testGetFileList2()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testGetFileList3()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testGetUpdatedFile()
throws fr.ifremer.isisfish.vcs.VCSException,
IOException,
org.tmatesoft.svn.core.SVNException
VCSExceptionIOExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testGetUpdatedFileEmptyResult()
throws fr.ifremer.isisfish.vcs.VCSException,
IOException,
org.tmatesoft.svn.core.SVNException
VCSExceptionIOExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testHaveUpdate()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testHaveNoUpdate()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testIsConnected()
public void testIsOnRemote()
throws fr.ifremer.isisfish.vcs.VCSException
VCSExceptionpublic void testIsOnRemote2()
throws fr.ifremer.isisfish.vcs.VCSException
VCSExceptionpublic void testIsOnRemote3()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testIsOnRemote4()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testIsOnRemote5()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException,
IOException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionIOExceptionpublic void testIsTag()
throws fr.ifremer.isisfish.vcs.VCSException
VCSExceptionpublic void testIsUpToDate()
throws fr.ifremer.isisfish.vcs.VCSException
VCSExceptionpublic void testIsUpToDate2()
throws fr.ifremer.isisfish.vcs.VCSException,
IOException,
org.tmatesoft.svn.core.SVNException
VCSExceptionIOExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testIsUpToDate3()
throws fr.ifremer.isisfish.vcs.VCSException,
IOException,
org.tmatesoft.svn.core.SVNException
VCSExceptionIOExceptionorg.tmatesoft.svn.core.SVNExceptionpublic void testUpdateWithLock()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException,
IOException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionIOExceptionpublic void testUpdateWithConflict()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException,
IOException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionIOExceptionpublic void testSwitchWithConflict()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException,
IOException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionIOExceptionpublic void testCheckFileStatusWithConflict()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException,
IOException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionIOExceptionpublic void testGetLocalStatusModified()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException,
IOException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionIOExceptionpublic void testGetLocalStatusMissing()
throws fr.ifremer.isisfish.vcs.VCSException,
org.tmatesoft.svn.core.SVNException,
IOException
VCSExceptionorg.tmatesoft.svn.core.SVNExceptionIOExceptionCopyright © 1999–2019 CodeLutin. All rights reserved.