/**
* The ancestor of all hg4idea test cases.
*/
-public abstract class AbstractHgTestCase extends AbstractVcsTestCase {
+public abstract class HgAbstractTestCase extends AbstractVcsTestCase {
public static final String HG_EXECUTABLE_PATH = "IDEA_TEST_HG_EXECUTABLE_PATH";
/**
* Tests adding files to the Mercurial repository.
*/
-public class HgAddTestCase extends AbstractHgTestCase {
+public class HgAddTestCase extends HgAbstractTestCase {
/**
* 1. Create a file in the file system.
import java.io.File;
-public class HgCopyTestCase extends AbstractHgTestCase {
+public class HgCopyTestCase extends HgAbstractTestCase {
@Test
public void testCopyUnmodifiedFile() throws Exception {
import java.io.File;
-public class HgDeleteTestCase extends AbstractHgTestCase {
+public class HgDeleteTestCase extends HgAbstractTestCase {
@Test
public void testDeleteUnmodifiedFile() throws Exception {
import static org.testng.Assert.assertTrue;
-public class HgFromClonedTestCase extends AbstractHgTestCase {
+public class HgFromClonedTestCase extends HgAbstractTestCase {
protected File remoteRepo;
protected File projectRepo;
/**
* HgHistoryTestCase tests retrieving file history and specific revisions.
*/
-public class HgHistoryTestCase extends AbstractHgTestCase {
+public class HgHistoryTestCase extends HgAbstractTestCase {
/**
* 1. Make two versions of a file (create, add, commit, modify, commit).
import static org.testng.Assert.assertEquals;
-public class HgLogTestCase extends AbstractHgTestCase {
+public class HgLogTestCase extends HgAbstractTestCase {
@Test
public void testCommitMessagesWithMultipleLines() throws Exception {
import java.io.File;
-public class HgMoveTestCase extends AbstractHgTestCase {
+public class HgMoveTestCase extends HgAbstractTestCase {
@Test
public void testMoveNewFile() throws Exception {
import java.io.File;
-public class HgRenameTestCase extends AbstractHgTestCase {
+public class HgRenameTestCase extends HgAbstractTestCase {
@Test
public void testRenameUnmodifiedFile() throws Exception {
import org.testng.annotations.Test;
import org.zmlx.hg4idea.command.HgResolveCommand;
-public class HgResolveConflictTestCase extends AbstractHgTestCase {
+public class HgResolveConflictTestCase extends HgAbstractTestCase {
public static final String BASE = "one\n" +
"conflicting\n" +
import static org.testng.Assert.assertEquals;
-public class HgRevertTestCase extends AbstractHgTestCase {
+public class HgRevertTestCase extends HgAbstractTestCase {
@Test
public void testRevertToCurrentRevision() throws Exception {
fillFile(myProjectRepo, new String[]{"file.txt"}, "initial contents");