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, resetConfig
public 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
IOException
org.tmatesoft.svn.core.SVNException
public void tearDown()
public void testgetSVNManager()
public void testgetRemoteURL() throws org.tmatesoft.svn.core.SVNException
org.tmatesoft.svn.core.SVNException
public void testIsVersionnableFile()
public void testAll() throws IOException, fr.ifremer.isisfish.vcs.VCSException
IOException
VCSException
public void testAdd() throws Exception
Exception
public void testCheckProtocol() throws fr.ifremer.isisfish.vcs.VCSException
VCSException
public void testCleanup() throws fr.ifremer.isisfish.vcs.VCSException
VCSException
public void testGetChanglog() throws fr.ifremer.isisfish.vcs.VCSException, IOException, org.tmatesoft.svn.core.SVNException
VCSException
IOException
org.tmatesoft.svn.core.SVNException
public void testGetDiff() throws fr.ifremer.isisfish.vcs.VCSException, IOException
VCSException
IOException
public void testGetFileList() throws fr.ifremer.isisfish.vcs.VCSException
VCSException
public void testGetFileList2() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException
VCSException
org.tmatesoft.svn.core.SVNException
public void testGetFileList3() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException
VCSException
org.tmatesoft.svn.core.SVNException
public void testGetUpdatedFile() throws fr.ifremer.isisfish.vcs.VCSException, IOException, org.tmatesoft.svn.core.SVNException
VCSException
IOException
org.tmatesoft.svn.core.SVNException
public void testGetUpdatedFileEmptyResult() throws fr.ifremer.isisfish.vcs.VCSException, IOException, org.tmatesoft.svn.core.SVNException
VCSException
IOException
org.tmatesoft.svn.core.SVNException
public void testHaveUpdate() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException
VCSException
org.tmatesoft.svn.core.SVNException
public void testHaveNoUpdate() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException
VCSException
org.tmatesoft.svn.core.SVNException
public void testIsConnected()
public void testIsOnRemote() throws fr.ifremer.isisfish.vcs.VCSException
VCSException
public void testIsOnRemote2() throws fr.ifremer.isisfish.vcs.VCSException
VCSException
public void testIsOnRemote3() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException
VCSException
org.tmatesoft.svn.core.SVNException
public void testIsOnRemote4() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException
VCSException
org.tmatesoft.svn.core.SVNException
public void testIsOnRemote5() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException, IOException
VCSException
org.tmatesoft.svn.core.SVNException
IOException
public void testIsTag() throws fr.ifremer.isisfish.vcs.VCSException
VCSException
public void testIsUpToDate() throws fr.ifremer.isisfish.vcs.VCSException
VCSException
public void testIsUpToDate2() throws fr.ifremer.isisfish.vcs.VCSException, IOException, org.tmatesoft.svn.core.SVNException
VCSException
IOException
org.tmatesoft.svn.core.SVNException
public void testIsUpToDate3() throws fr.ifremer.isisfish.vcs.VCSException, IOException, org.tmatesoft.svn.core.SVNException
VCSException
IOException
org.tmatesoft.svn.core.SVNException
public void testUpdateWithLock() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException, IOException
VCSException
org.tmatesoft.svn.core.SVNException
IOException
public void testUpdateWithConflict() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException, IOException
VCSException
org.tmatesoft.svn.core.SVNException
IOException
public void testSwitchWithConflict() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException, IOException
VCSException
org.tmatesoft.svn.core.SVNException
IOException
public void testCheckFileStatusWithConflict() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException, IOException
VCSException
org.tmatesoft.svn.core.SVNException
IOException
public void testGetLocalStatusModified() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException, IOException
VCSException
org.tmatesoft.svn.core.SVNException
IOException
public void testGetLocalStatusMissing() throws fr.ifremer.isisfish.vcs.VCSException, org.tmatesoft.svn.core.SVNException, IOException
VCSException
org.tmatesoft.svn.core.SVNException
IOException
Copyright © 1999–2019 CodeLutin. All rights reserved.