Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Aniszczyk2010-08-19 02:01:58 +0000
committerChris Aniszczyk2010-08-19 02:01:58 +0000
commit4786efe5c5e6aad165f11b2dd72b7dc7f3758e94 (patch)
tree31195017ec24f2020c8974ef3eb04499fdebefe9 /org.eclipse.egit.ui.test
parentb818365bd47b0c491b9bff7a8cf648153cc7ad83 (diff)
downloadegit-4786efe5c5e6aad165f11b2dd72b7dc7f3758e94.tar.gz
egit-4786efe5c5e6aad165f11b2dd72b7dc7f3758e94.tar.xz
egit-4786efe5c5e6aad165f11b2dd72b7dc7f3758e94.zip
Keep up with Tag API changes
The Tag API from JGit was changed to remove duplication. Change-Id: I562198f7a6c21b659e78339ef8c4d9d2bff248ab Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.egit.ui.test')
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java3
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/CommitActionTest.java3
-rw-r--r--org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/TagActionTest.java3
3 files changed, 6 insertions, 3 deletions
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java
index 3c694cf208..7e8da44e37 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/BranchAndResetActionTest.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Mathias Kinzler (SAP AG) - initial implementation
+ * Chris Aniszczyk <caniszczyk@gmail.com> - tag API changes
*******************************************************************************/
package org.eclipse.egit.ui.test.team.actions;
@@ -66,7 +67,7 @@ public class BranchAndResetActionTest extends LocalRepositoryTestCase {
Tag tag = new Tag(repo);
tag.setTag("SomeTag");
- tag.setAuthor(new PersonIdent(TestUtil.TESTAUTHOR));
+ tag.setTagger(new PersonIdent(TestUtil.TESTAUTHOR));
tag.setMessage("I'm just a little tag");
tag.setObjId(repo.resolve(repo.getFullBranch()));
TagOperation top = new TagOperation(repo, tag, false);
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/CommitActionTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/CommitActionTest.java
index 5f0117fa19..1f593d0404 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/CommitActionTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/CommitActionTest.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Mathias Kinzler (SAP AG) - initial implementation
+ * Chris Aniszczyk <caniszczyk@gmail.com> - tag API changes
*******************************************************************************/
package org.eclipse.egit.ui.test.team.actions;
@@ -55,7 +56,7 @@ public class CommitActionTest extends LocalRepositoryTestCase {
Tag tag = new Tag(repo);
tag.setTag("SomeTag");
- tag.setAuthor(new PersonIdent(TestUtil.TESTAUTHOR));
+ tag.setTagger(new PersonIdent(TestUtil.TESTAUTHOR));
tag.setMessage("I'm just a little tag");
tag.setObjId(repo.resolve(repo.getFullBranch()));
TagOperation top = new TagOperation(repo, tag, false);
diff --git a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/TagActionTest.java b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/TagActionTest.java
index e6c0dbe184..58259edadb 100644
--- a/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/TagActionTest.java
+++ b/org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/test/team/actions/TagActionTest.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Mathias Kinzler (SAP AG) - initial implementation
+ * Chris Aniszczyk <caniszczyk@gmail.com> - tag API changes
*******************************************************************************/
package org.eclipse.egit.ui.test.team.actions;
@@ -56,7 +57,7 @@ public class TagActionTest extends LocalRepositoryTestCase {
Tag tag = new Tag(repo);
tag.setTag("SomeTag");
- tag.setAuthor(new PersonIdent(TestUtil.TESTAUTHOR));
+ tag.setTagger(new PersonIdent(TestUtil.TESTAUTHOR));
tag.setMessage("I'm just a little tag");
tag.setObjId(repo.resolve(repo.getFullBranch()));
TagOperation top = new TagOperation(repo, tag, false);

Back to the top