Package com.aragost.javahg

Examples of com.aragost.javahg.RepositoryConfiguration


                stderr.startsWith("*** failed to import extension javahgmissing from javahgmissing: [Errno 2]"));
    }

    @Test
    public void testStderrDuringStartupWillFullBuffer() throws IOException {
        RepositoryConfiguration conf = new RepositoryConfiguration();
        conf.setStderrBufferSize(1);
        String stderr = retrieveStartupStderr(conf);
        Assert.assertEquals("*", stderr);
    }
View Full Code Here


        return 0;
    }
   
    @Test
    public void testServerIdle() throws InterruptedException {
        RepositoryConfiguration conf = makeRepoConf();
        conf.setServerIdleTime(1);
        BaseRepository repo = Repository.create(conf, Files.createTempDir());

        Assert.assertEquals(1, repo.getServerPool().getNumIdleServers());

        Thread.sleep(2000);
View Full Code Here

TOP

Related Classes of com.aragost.javahg.RepositoryConfiguration

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.