Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Cilia2018-08-02 07:02:46 +0000
committerThomas Wolf2018-12-14 21:02:54 +0000
commit109003eb3a5275ffb4278036bcb85b190cb91f62 (patch)
tree184fa30eca0062b73decf69fbf221bdc28d63cd1 /org.eclipse.egit.github.core.tests
parentbd6e12bad6eced1d82cf3395755ce19082ad685e (diff)
downloadegit-github-109003eb3a5275ffb4278036bcb85b190cb91f62.tar.gz
egit-github-109003eb3a5275ffb4278036bcb85b190cb91f62.tar.xz
egit-github-109003eb3a5275ffb4278036bcb85b190cb91f62.zip
Implement list tags API for repository
Change-Id: Ia205fc224deed6f1c36aa6fef1b350669de28bff Signed-off-by: Frédéric Cilia <frederic.cilia@hardis.fr>
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/DataServiceTest.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/DataServiceTest.java b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/DataServiceTest.java
index 03bbdd79..d2f5ccab 100644
--- a/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/DataServiceTest.java
+++ b/org.eclipse.egit.github.core.tests/src/org/eclipse/egit/github/core/tests/DataServiceTest.java
@@ -410,6 +410,19 @@ public class DataServiceTest {
}
/**
+ * List tags
+ *
+ * @throws IOException
+ */
+ @Test
+ public void listTags() throws IOException {
+ service.listTags(repo);
+ GitHubRequest request = new GitHubRequest();
+ request.setUri(Utils.page("/repos/o/n/git/refs/tags"));
+ verify(client).get(request);
+ }
+
+ /**
* Create tag with null tag
*
* @throws IOException

Back to the top