Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Sawicki2011-10-28 21:49:58 +0000
committerKevin Sawicki2011-10-28 21:49:58 +0000
commite726705900268861d333585649fa6ca2a69a34f1 (patch)
treee6a6dea11ef578c8ce36376dfcd45f4af6b22654 /org.eclipse.egit.github.core.tests
parent821bfd26bb9cbf0dce66cab46ff9e12279bfe081 (diff)
downloadegit-github-e726705900268861d333585649fa6ca2a69a34f1.tar.gz
egit-github-e726705900268861d333585649fa6ca2a69a34f1.tar.xz
egit-github-e726705900268861d333585649fa6ca2a69a34f1.zip
Support start page parameter when searching repositories.
Change-Id: Ib0fd45bbc96dff83b453aec4f6ccd5375d03fffc Signed-off-by: Kevin Sawicki <kevin@github.com>
Diffstat (limited to 'org.eclipse.egit.github.core.tests')
-rw-r--r--org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java
index 4dd431cd..fa62743a 100644
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/RepositoryServiceTest.java
@@ -349,6 +349,20 @@ public class RepositoryServiceTest {
}
/**
+ * Search repositories starting at page
+ *
+ * @throws IOException
+ */
+ @Test
+ public void searchRepositoriesStartingAtPage() throws IOException {
+ service.searchRepositories("buffers", 50);
+ GitHubRequest request = new GitHubRequest();
+ request.setUri(Utils
+ .page("/api/v2/json/repos/search/buffers?start_page=50"));
+ verify(client).get(request);
+ }
+
+ /**
* Get languages in repository
*
* @throws IOException

Back to the top