private ContextBuilder createInjectorBuilder() { Platform testPlatform = new TestPlatform(envHome) { @Override public long currentTimeMillis() { return 1000; } }; return new TestContextBuilder(testPlatform, RemoteOpenOverrideModule); } }
/** * Deletes a feature from the index * * @param f * @return * @throws Exception */ public boolean deleteAndAdd(Feature f) throws Exception { return deleteAndAdd(null, f); }
@Override protected void setUpInternal() throws Exception { boolean onecComitPerFeature = false; populate(onecComitPerFeature, points1, points2, points3, lines1, lines2, lines3); }
/** * Inserts the feature to the index but does not stages it to be committed */ public ObjectId insert(Feature f) throws Exception { return insert(null, f); }
/** * Inserts the Feature to the index and stages it to be committed. */ public ObjectId insertAndAdd(Feature f) throws Exception { return insertAndAdd(null, f); }
@Override protected void setUpInternal() throws Exception { super.populate(true, points1); }
public boolean delete(Feature f) throws Exception { return delete(null, f); }
public ClasspathHookTest() { reset(); }
/** * Inserts the feature to the index but does not stages it to be committed */ public ObjectId insert(Feature f) throws Exception { return insert(null, f); }
private ContextBuilder createInjectorBuilder() { Platform testPlatform = new TestPlatform(envHome) { @Override public long currentTimeMillis() { return 1000; } }; return new TestContextBuilder(testPlatform, RemoteOpenOverrideModule); } }
/** * Inserts the Feature to the index and stages it to be committed. */ public ObjectId insertAndAdd(Feature f) throws Exception { return insertAndAdd(null, f); }
/** * Deletes a feature from the index * * @param f * @return * @throws Exception */ public boolean deleteAndAdd(Feature f) throws Exception { return deleteAndAdd(null, f); }
@Override protected void setUpInternal() throws Exception { boolean onecComitPerFeature = false; populate(onecComitPerFeature, points1, points2, points3, lines1, lines2, lines3); }
@Override protected void setUpInternal() throws Exception { super.populate(true, points1); }
public boolean delete(Feature f) throws Exception { return delete(null, f); }
public void insert(GeogigTransaction transaction, Feature... features) throws Exception { for (Feature f : features) { insert(transaction, f); } }
public void insertAndAdd(Feature... features) throws Exception { insertAndAdd(null, features); }
public void insert(GeogigTransaction transaction, Feature... features) throws Exception { for (Feature f : features) { insert(transaction, f); } }
public void insertAndAdd(Feature... features) throws Exception { insertAndAdd(null, features); }
public void insert(Feature... features) throws Exception { insert(null, features); }