Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZehua Liu2014-08-01 06:32:05 +0000
committerZehua Liu2014-08-04 01:07:14 +0000
commit7fc22aa1b19d5b8eb9f4bfb9c4fca76e3b634ef3 (patch)
tree1cc56bea1c3ea92637d4ac51922e3d2dc6f820af /org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github
parentba28856a2f6ed0a85004aca2c7cf977876913bfb (diff)
downloadegit-github-7fc22aa1b19d5b8eb9f4bfb9c4fca76e3b634ef3.tar.gz
egit-github-7fc22aa1b19d5b8eb9f4bfb9c4fca76e3b634ef3.tar.xz
egit-github-7fc22aa1b19d5b8eb9f4bfb9c4fca76e3b634ef3.zip
Added the review_comments field into the PullRequest class
Bug: 435580 Change-Id: I40a6d493ed8ad50dc989ab696d4a0ae4723453ac Signed-off-by: Zehua Liu <zliu@atlassian.com>
Diffstat (limited to 'org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github')
-rwxr-xr-xorg.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestTest.java
index c03f5ce8..90a2553f 100755
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/PullRequestTest.java
@@ -45,6 +45,7 @@ public class PullRequestTest {
assertEquals(0, request.getChangedFiles());
assertNull(request.getClosedAt());
assertEquals(0, request.getComments());
+ assertEquals(0, request.getReviewComments());
assertEquals(0, request.getCommits());
assertNull(request.getCreatedAt());
assertEquals(0, request.getDeletions());
@@ -85,6 +86,7 @@ public class PullRequestTest {
assertEquals(new Date(1000), request.setClosedAt(new Date(1000))
.getClosedAt());
assertEquals(30, request.setComments(30).getComments());
+ assertEquals(35, request.setReviewComments(35).getReviewComments());
assertEquals(40, request.setCommits(40).getCommits());
assertEquals(new Date(2000), request.setCreatedAt(new Date(2000))
.getCreatedAt());

Back to the top