Package com.jcabi.github

Examples of com.jcabi.github.Blob$Smart


     * @throws Exception if a problem occurs.
     */
    @Test
    public void canCreateBlob() throws Exception {
        final Blobs blobs = repo().git().blobs();
        final Blob blob = blobs.create("content1", "encoding1");
        MatcherAssert.assertThat(
            blobs.get(blob.sha()),
            Matchers.equalTo(blob)
        );
    }
View Full Code Here


     * @throws Exception if some problem inside
     */
    @Test
    public void getBlob() throws Exception {
        final Blobs blobs = repo().git().blobs();
        final Blob created =  blobs.create("content", "base64");
        MatcherAssert.assertThat(
            blobs.get(created.sha()),
            Matchers.notNullValue()
        );
    }
View Full Code Here

TOP

Related Classes of com.jcabi.github.Blob$Smart

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.