Package com.aragost.javahg.Changeset

Examples of com.aragost.javahg.Changeset.Extra


    @Test
    public void testExtra() throws IOException {
        BaseRepository repo = getTestRepository();
        createChangeset();
        Changeset cs = CommitCommand.on(repo).message("a").user("user").closeBranch().execute();
        Extra extra = cs.getExtra();
        Map<String, String> map = extra.stringValuedMap();
        Assert.assertEquals(2, map.size());
        Assert.assertEquals("default", map.get("branch"));
        Assert.assertEquals("1", map.get("close"));

        String branchName = "blåbærgrød;=\t\\";
View Full Code Here

TOP

Related Classes of com.aragost.javahg.Changeset.Extra

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.