Examples of GitFacade


Examples of io.hawt.git.GitFacade

    @Test
    public void testNotificationsOnNewMBeans() throws Exception {
        long value1 = treeWatcher.getCounter();

        // now lets register a new mbean
        GitFacade git = new GitFacade();
        git.setCloneRemoteRepoOnStartup(false);
        git.init();

        long value2 = treeWatcher.getCounter();
        assertCounterGreater(value1, value2);
        git.destroy();

        long value3 = treeWatcher.getCounter();
        assertCounterGreater(value2, value3);
    }
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.