org.apache.maven.scm.tck.command.update
Class UpdateCommandTckTest

java.lang.Object
  extended by PlexusTestCase
      extended by org.apache.maven.scm.ScmTestCase
          extended by org.apache.maven.scm.ScmTckTestCase
              extended by org.apache.maven.scm.tck.command.update.UpdateCommandTckTest
Direct Known Subclasses:
CvsUpdateCommandTckTest, SvnUpdateCommandTckTest

public abstract class UpdateCommandTckTest
extends ScmTckTestCase

This test tests the update command.

It works like this:

  1. Check out the files to directory getWorkingCopy().
  2. Check out the files to directory getUpdatingCopy().
  3. Change the files in getWorkingCopy().
  4. Commit the files in getWorkingCopy(). Note that the provider must not use the check in command as it can be guaranteed to work as it's not yet tested.
  5. Use the update command in getUpdatingCopy() to assert that the files that was supposed to be updated actually was updated.

Version:
$Id: UpdateCommandTckTest.java 525259 2007-04-03 20:03:53Z evenisse $
Author:
Trygve Laugstøl

Field Summary
 
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
 
Constructor Summary
UpdateCommandTckTest()
           
 
Method Summary
 void testUpdateCommand()
           
 
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkOut, getScmFileNames, getScmRepository, getScmUrl, initRepo, setUp
 
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertFile, assertPath, assertResultIsSuccess, execute, getAssertionCopy, getDate, getDate, getDate, getModule, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, makeDirectory, makeFile, makeFile, makeScmRepository, setDebugExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateCommandTckTest

public UpdateCommandTckTest()
Method Detail

testUpdateCommand

public void testUpdateCommand()
                       throws Exception
Throws:
Exception


Copyright © 2003-2008 Apache Software Foundation. All Rights Reserved.