Package com.jcabi.github

Examples of com.jcabi.github.Repos.create()


     * @throws Exception If some problem inside
     */
    @Test
    public void works() throws Exception {
        final Repos repos = new MkRepos(new MkStorage.InFile(), "jeff");
        final Repo repo = repos.create(
            Json.createObjectBuilder().add("name", "test").build()
        );
        MatcherAssert.assertThat(
            repo.coordinates(),
            Matchers.hasToString("jeff/test")
View Full Code Here


     * @throws Exception - if anything goes wrong.
     */
    @Test
    public void returnsMkMilestones() throws Exception {
        final Repos repos = new MkRepos(new MkStorage.InFile(), "jeff");
        final Repo repo = repos.create(
            Json.createObjectBuilder().add("name", "test1").build()
        );
        final Milestones milestones = repo.milestones();
        MatcherAssert.assertThat(milestones, Matchers.notNullValue());
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.