Class StatusCommandTckTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.scm.ScmTestCase
org.apache.maven.scm.ScmTckTestCase
org.apache.maven.scm.tck.command.status.StatusCommandTckTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
CvsStatusCommandTckTest, GitStatusCommandTckTest, SvnStatusCommandTckTest

public abstract class StatusCommandTckTest extends ScmTckTestCase
This test tests the status 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.
  • Constructor Details

    • StatusCommandTckTest

      public StatusCommandTckTest()
  • Method Details