use of org.locationtech.geogig.repository.Hints in project GeoGig by boundlessgeo.
the class JEGraphDatabaseV2StressTest method createDatabase.
@Override
protected GraphDatabase createDatabase(TestPlatform platform) {
File root = platform.pwd();
Preconditions.checkState(new File(root, ".geogig").exists());
envProvider = new EnvironmentBuilder(platform);
ConfigDatabase configDB = new IniFileConfigDatabase(platform);
return new JEGraphDatabase_v0_1(configDB, envProvider, new Hints());
}
use of org.locationtech.geogig.repository.Hints in project GeoGig by boundlessgeo.
the class JEGraphDatabaseV2Test method createDatabase.
@Override
protected GraphDatabase createDatabase(Platform platform) throws Exception {
File root = platform.pwd();
Preconditions.checkState(new File(root, ".geogig").exists());
envProvider = new EnvironmentBuilder(platform);
ConfigDatabase configDB = new IniFileConfigDatabase(platform);
return new JEGraphDatabase_v0_2(configDB, envProvider, new Hints());
}
use of org.locationtech.geogig.repository.Hints in project GeoGig by boundlessgeo.
the class JEObjectDatabaseTest method setUp.
@Before
public void setUp() {
File root = folder.getRoot();
folder.newFolder(".geogig");
File home = folder.newFolder("home");
platform = new TestPlatform(root);
platform.setUserHome(home);
hints = new Hints();
envProvider = new EnvironmentBuilder(platform);
}
Aggregations