|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.PlexusTestCase org.apache.maven.scm.ScmTestCase org.apache.maven.scm.provider.accurev.command.AbstractAccuRevCommandTest org.apache.maven.scm.provider.accurev.command.checkout.AccuRevCheckOutCommandTest
public class AccuRevCheckOutCommandTest
checkout a revision or branch (stream/tranid)-> make workspace. If basedir is empty and represents the top of an existing workspace, then reparent the workspace if necessary and repopulate missing file, and update If basedir is not empty or is a subdirectory of an existing workspace throw exception. Otherwise make a workspace and update Special case for release plugin - checkout a tag to an ignored and empty subdirectory of an existing workspace. Treat as an export. deactivate the workspace, export with pop -v -L then reactivate the workspace.
Field Summary |
---|
Fields inherited from class org.apache.maven.scm.provider.accurev.command.AbstractAccuRevCommandTest |
---|
accurev, basedir, info, repo, sequence |
Fields inherited from class org.apache.maven.scm.ScmTestCase |
---|
GMT_TIME_ZONE |
Fields inherited from class org.codehaus.plexus.PlexusTestCase |
---|
container |
Constructor Summary | |
---|---|
AccuRevCheckOutCommandTest()
|
Method Summary | |
---|---|
void |
testCheckout()
|
void |
testCheckoutFailure()
|
void |
testCheckoutToVersionExistingWorkspace()
|
void |
testCheckoutToVersionNewWorkspace()
|
void |
testReCheckoutExistingWorkspaceDifferentBasis()
|
void |
testReCheckoutExistingWorkspaceSameBasis()
|
void |
testReCheckoutSubdirectoryOfExistingWorkspaceThrowsException()
|
Methods inherited from class org.apache.maven.scm.provider.accurev.command.AbstractAccuRevCommandTest |
---|
getCustomConfiguration, getLogger, setUp |
Methods inherited from class org.apache.maven.scm.ScmTestCase |
---|
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, execute, getAssertionCopy, getDate, getDate, getDate, getModule, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute |
Methods inherited from class org.codehaus.plexus.PlexusTestCase |
---|
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release, tearDown |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AccuRevCheckOutCommandTest()
Method Detail |
---|
public void testCheckout() throws Exception
Exception
public void testCheckoutFailure() throws Exception
Exception
public void testReCheckoutExistingWorkspaceSameBasis() throws Exception
Exception
public void testReCheckoutExistingWorkspaceDifferentBasis() throws Exception
Exception
public void testReCheckoutSubdirectoryOfExistingWorkspaceThrowsException() throws Exception
Exception
public void testCheckoutToVersionNewWorkspace() throws Exception
Exception
public void testCheckoutToVersionExistingWorkspace() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |