Examples of stringValuedMap()


Examples of com.aragost.javahg.Changeset.Extra.stringValuedMap()

    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
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.