Class GitChangeLogCommandTckTest


public abstract class GitChangeLogCommandTckTest extends ChangeLogCommandTckTest
  • Field Details

  • Constructor Details

    • GitChangeLogCommandTckTest

      public GitChangeLogCommandTckTest()
  • Method Details

    • initRepo

      public void initRepo() throws Exception

      Initialize repository at the ScmTckTestCase.getScmUrl() location with the files in ScmTckTestCase.getScmFileNames()

      The setup is also asserting on the existence of these files.
      This should only be used by this class (thus do not call this method from derived classes)

      Note: 'svnadmin' should be a system command.
      Specified by:
      initRepo in class ScmTckTestCase
      Throws:
      Exception - if any
    • checkOut

      protected CheckOutScmResult checkOut(File workingDirectory, ScmRepository repository) throws Exception
      Description copied from class: ScmTckTestCase
      Convenience method to check out files from the repository.
      Overrides:
      checkOut in class ScmTckTestCase
      Throws:
      Exception
    • testChangeLogCommandFromHeadAncestorAndHead

      public void testChangeLogCommandFromHeadAncestorAndHead() throws Exception
      Throws:
      Exception
    • testChangeLogCommandFromHeadToHead

      public void testChangeLogCommandFromHeadToHead() throws Exception
      Throws:
      Exception
    • testChangeLogCommandFromUndefinedToHead

      public void testChangeLogCommandFromUndefinedToHead() throws Exception
      Throws:
      Exception
    • testChangeLogCommandFromVersionToUndefined

      public void testChangeLogCommandFromVersionToUndefined() throws Exception
      Throws:
      Exception
    • testChangeLogCommandFromVoneToVtwo

      public void testChangeLogCommandFromVoneToVtwo() throws Exception
      Throws:
      Exception
    • testChangeLogCommandWithStartEndInBadOrder

      public void testChangeLogCommandWithStartEndInBadOrder() throws Exception
      Throws:
      Exception
    • testChangeLogCommandFromHeadToStartOfRepository

      public void testChangeLogCommandFromHeadToStartOfRepository() throws Exception
      Throws:
      Exception
    • testChangeLogCommandFromVersionToStartOfRepository

      public void testChangeLogCommandFromVersionToStartOfRepository() throws Exception
      Throws:
      Exception
    • sorted

      private List<String> sorted(List<String> input)