Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Sohn2018-03-10 00:37:39 +0000
committerMatthias Sohn2018-03-16 23:55:55 +0000
commit44e57f5a2041abfe7591069c3032a7e869adfda4 (patch)
tree8b156ce11bb0f3eecbe0771368a05724a11b3059 /org.eclipse.egit.github.core.tests/src/org/eclipse
parentcb53b5f66682410b2ba7e71222d4669f46c12cd7 (diff)
downloadegit-github-44e57f5a2041abfe7591069c3032a7e869adfda4.tar.gz
egit-github-44e57f5a2041abfe7591069c3032a7e869adfda4.tar.xz
egit-github-44e57f5a2041abfe7591069c3032a7e869adfda4.zip
Remove deprecated User#getGravatarId and #setGravatarId
Change-Id: I13f82ce01166752fe18eb5fdf8a3168e743d8249 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.egit.github.core.tests/src/org/eclipse')
-rw-r--r--org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java2
-rw-r--r--org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/UserTest.java2
2 files changed, 0 insertions, 4 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java
index 775a86f0..88aea4ed 100644
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/UserTest.java
@@ -41,7 +41,6 @@ public class UserTest {
assertNull(user.getEmail());
assertEquals(0, user.getFollowers());
assertEquals(0, user.getFollowing());
- assertNull(user.getGravatarId());
assertNull(user.getHtmlUrl());
assertEquals(0, user.getId());
assertNull(user.getLocation());
@@ -75,7 +74,6 @@ public class UserTest {
assertEquals("e@mai.l", user.setEmail("e@mai.l").getEmail());
assertEquals(1, user.setFollowers(1).getFollowers());
assertEquals(2, user.setFollowing(2).getFollowing());
- assertEquals("gid", user.setGravatarId("gid").getGravatarId());
assertEquals("html", user.setHtmlUrl("html").getHtmlUrl());
assertEquals(90, user.setId(90).getId());
assertEquals("earth", user.setLocation("earth").getLocation());
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/UserTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/UserTest.java
index d74bb28c..d02bb49c 100644
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/UserTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/live/UserTest.java
@@ -40,7 +40,6 @@ public class UserTest extends LiveTest {
User user = service.getUser();
assertNotNull(user);
assertEquals(client.getUser(), user.getLogin());
- assertNotNull(user.getGravatarId());
assertNotNull(user.getAvatarUrl());
assertNotNull(user.getCreatedAt());
assertNotNull(user.getPlan());
@@ -59,7 +58,6 @@ public class UserTest extends LiveTest {
User user = service.getUser(client.getUser());
assertNotNull(user);
assertEquals(client.getUser(), user.getLogin());
- assertNotNull(user.getGravatarId());
assertNotNull(user.getAvatarUrl());
assertNotNull(user.getCreatedAt());
}

Back to the top