diff options
author | Kevin Sawicki | 2011-10-28 21:49:58 +0000 |
---|---|---|
committer | Kevin Sawicki | 2011-10-28 21:49:58 +0000 |
commit | e726705900268861d333585649fa6ca2a69a34f1 (patch) | |
tree | e6a6dea11ef578c8ce36376dfcd45f4af6b22654 /org.eclipse.egit.github.core.tests | |
parent | 821bfd26bb9cbf0dce66cab46ff9e12279bfe081 (diff) | |
download | egit-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.java | 14 |
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 |