/** * Create a new test task. The task will operate on the backed database, and will use the proper * background executor service. * * @return Test task initialized to clean up {@value #TOP_LEVEL} and its children. */ public final DatastoreTestTask newTestTask() { return new DatastoreTestTask(datastore, dclExecutorService) .cleanup(DatastoreTestTask.simpleDelete(TOP_LEVEL)); }
public static final WriteTransactionCustomizer deleteNested( final String topName, final String nestedName) { return DatastoreTestTask.simpleDelete(path(topName, nestedName)); }