Examples of repo()


Examples of com.jcabi.github.Content.repo()

        final Contents contents = repo.contents();
        final Content content = contents.create(
            jsonContent("repo.txt", "for repo", "json repo")
        );
        MatcherAssert.assertThat(
            content.repo(),
            Matchers.is(repo)
        );
    }

    /**
 
View Full Code Here

Examples of com.jcabi.github.Issue.repo()

     */
    @Test
    public void listsReadOnlyLabels() throws Exception {
        final Issue issue = this.issue();
        final String tag = "test-tag";
        issue.repo().labels().create(tag, "c0c0c0");
        issue.labels().add(Collections.singletonList(tag));
        MatcherAssert.assertThat(
            new Issue.Smart(issue).roLabels().iterate(),
            Matchers.<Label>hasItem(
                new CustomMatcher<Label>("label just created") {
View Full Code Here

Examples of com.jcabi.github.References.repo()

     */
    @Test
    public void returnsRepo() throws Exception {
        final References refs = this.repo().git().references();
        MatcherAssert.assertThat(
            refs.repo(),
            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.