Package com.jcabi.github

Examples of com.jcabi.github.Gitignores


     * MkGitignores can fetch single gitignore template.
     * @throws Exception if some problem inside
     */
    @Test
    public void canFetchSingleRawTemplate() throws Exception {
        final Gitignores gitignores = new MkGithub().gitignores();
        MatcherAssert.assertThat(
            gitignores.template("Java"),
            Matchers.startsWith("*.class")
        );
    }
View Full Code Here


     * MkGitignores can iterate over templates.
     * @throws Exception if something goes wrong.
     */
    @Test
    public void canIterateOverTemplates() throws Exception {
        final Gitignores gitignores = new MkGithub().gitignores();
        MatcherAssert.assertThat(
            gitignores.iterate(),
            Matchers.not(Matchers.emptyIterable())
        );
    }
View Full Code Here

TOP

Related Classes of com.jcabi.github.Gitignores

Copyright © 2018 www.massapicom. 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.