Add @VirtualEntity checking to Ofy's deleteWithoutBackup()

This was an oversight I noticed ages ago, so resurrecting some old local changes I had to correct it.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=146812322
This commit is contained in:
nickfelt 2017-02-07 11:41:05 -08:00 committed by Ben McIlwain
parent d2bc569b4b
commit 5d4a88e5ce
7 changed files with 78 additions and 12 deletions

View file

@ -29,7 +29,6 @@ import com.google.appengine.tools.cloudstorage.GcsService;
import com.google.appengine.tools.cloudstorage.GcsServiceFactory;
import com.google.common.collect.ImmutableMap;
import com.googlecode.objectify.Key;
import com.googlecode.objectify.ObjectifyService;
import google.registry.model.ImmutableObject;
import google.registry.model.ofy.CommitLogBucket;
import google.registry.model.ofy.CommitLogCheckpoint;
@ -65,7 +64,6 @@ public class ExportCommitLogDiffActionTest {
@Before
public void before() {
ObjectifyService.register(TestObject.class);
task.gcsService = gcsService;
task.gcsBucket = "gcs bucket";
task.batchSize = 5;