Package org.eclipse.jgit.lib

Examples of org.eclipse.jgit.lib.TagBuilder.build()


        Constants.OBJ_TREE);
    src.setTagger(committer);
    src.setTag("a.test");
    src.setMessage("Test tag\n\nThis is a test.\n");

    RevTag p = RevTag.parse(src.build());
    assertEquals(src.getObjectId(), p.getObject());
    assertEquals(committer, p.getTaggerIdent());
    assertEquals("a.test", p.getTagName());
    assertEquals("Test tag", p.getShortMessage());
    assertEquals(src.getMessage(), p.getFullMessage());
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.