Search in sources :

Example 1 with CoreServerFixture

use of org.commonjava.indy.test.fixture.core.CoreServerFixture in project indy by Commonjava.

the class AbstractIndyFunctionalTest method newServerFixture.

protected final CoreServerFixture newServerFixture() throws BootException, IOException {
    final CoreServerFixture fixture = new CoreServerFixture();
    logger.info("Setting up configuration using indy.home == '{}'", fixture.getBootOptions().getHomeDir());
    etcDir = new File(fixture.getBootOptions().getHomeDir(), "etc/indy");
    dataDir = new File(fixture.getBootOptions().getHomeDir(), "var/lib/indy/data");
    storageDir = new File(fixture.getBootOptions().getHomeDir(), "var/lib/indy/storage");
    initBaseTestConfig(fixture);
    initTestConfig(fixture);
    initTestData(fixture);
    return fixture;
}
Also used : CoreServerFixture(org.commonjava.indy.test.fixture.core.CoreServerFixture) File(java.io.File)

Aggregations

File (java.io.File)1 CoreServerFixture (org.commonjava.indy.test.fixture.core.CoreServerFixture)1