From 7b0ef53fbd0b530de16bb0107fe1e223f9dc8214 Mon Sep 17 00:00:00 2001 From: irengrig Date: Tue, 3 Apr 2012 13:34:58 +0400 Subject: [PATCH] SVN: fix committed tests according to new correct repository lists presentation --- .../org/jetbrains/idea/svn/SvnCommittedViewTest.java | 4 +--- .../org/jetbrains/idea/svn16/SvnCommittedViewTest.java | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnCommittedViewTest.java b/plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnCommittedViewTest.java index 58426aed3005..1a73d09f54bf 100644 --- a/plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnCommittedViewTest.java +++ b/plugins/svn4idea/testSource/org/jetbrains/idea/svn/SvnCommittedViewTest.java @@ -141,8 +141,7 @@ public class SvnCommittedViewTest extends SvnTestCase { final List changeListList = committedChangesProvider.getCommittedChanges(committedChangesProvider.createDefaultSettings(), new SvnRepositoryLocation(myRepoUrl), 0); - checkList(changeListList, 2, new Data[] {new Data(absPath(d1), FileStatus.MODIFIED, "- moved from .." + File.separatorChar + "d1"), - new Data(oldPath, FileStatus.DELETED, null)}); + checkList(changeListList, 2, new Data[] {new Data(absPath(d1), FileStatus.MODIFIED, "- moved from .." + File.separatorChar + "d1")}); } @Test @@ -175,7 +174,6 @@ public class SvnCommittedViewTest extends SvnTestCase { committedChangesProvider.getCommittedChanges(committedChangesProvider.createDefaultSettings(), new SvnRepositoryLocation(myRepoUrl), 0); checkList(changeListList, 2, new Data[] {new Data(absPath(d1), FileStatus.MODIFIED, "- moved from .." + File.separatorChar + "d1"), - new Data(oldPath, FileStatus.DELETED, null), new Data(absPath(f11), FileStatus.MODIFIED, "- moved from " + oldF11Path)}); } diff --git a/plugins/svn4idea/testSource/org/jetbrains/idea/svn16/SvnCommittedViewTest.java b/plugins/svn4idea/testSource/org/jetbrains/idea/svn16/SvnCommittedViewTest.java index f6fb8dbd5458..f5693b2f3f7b 100644 --- a/plugins/svn4idea/testSource/org/jetbrains/idea/svn16/SvnCommittedViewTest.java +++ b/plugins/svn4idea/testSource/org/jetbrains/idea/svn16/SvnCommittedViewTest.java @@ -141,8 +141,7 @@ public class SvnCommittedViewTest extends SvnTestCase { final List changeListList = committedChangesProvider.getCommittedChanges(committedChangesProvider.createDefaultSettings(), new SvnRepositoryLocation(myRepoUrl), 0); - checkList(changeListList, 2, new Data[] {new Data(absPath(d1), FileStatus.MODIFIED, "- moved from .." + File.separatorChar + "d1"), - new Data(oldPath, FileStatus.DELETED, null)}); + checkList(changeListList, 2, new Data[] {new Data(absPath(d1), FileStatus.MODIFIED, "- moved from .." + File.separatorChar + "d1")}); } @Test @@ -175,7 +174,6 @@ public class SvnCommittedViewTest extends SvnTestCase { committedChangesProvider.getCommittedChanges(committedChangesProvider.createDefaultSettings(), new SvnRepositoryLocation(myRepoUrl), 0); checkList(changeListList, 2, new Data[] {new Data(absPath(d1), FileStatus.MODIFIED, "- moved from .." + File.separatorChar + "d1"), - new Data(oldPath, FileStatus.DELETED, null), new Data(absPath(f11), FileStatus.MODIFIED, "- moved from " + oldF11Path)}); }