mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 17:07:15 +02:00
Refer to Datastore everywhere correctly by its capitalized form
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147479683
This commit is contained in:
parent
a8cf81bca2
commit
cdadb54acd
123 changed files with 232 additions and 235 deletions
|
@ -366,13 +366,13 @@ public class RdeImportUtilsTest extends ShardableTestCase {
|
|||
}});
|
||||
}
|
||||
|
||||
/** Confirms that a ForeignKeyIndex exists in the datastore for a given resource. */
|
||||
/** Confirms that a ForeignKeyIndex exists in Datastore for a given resource. */
|
||||
private <T extends EppResource> void assertForeignKeyIndexFor(final T resource) {
|
||||
assertThat(ForeignKeyIndex.load(resource.getClass(), resource.getForeignKey(), clock.nowUtc()))
|
||||
.isNotNull();
|
||||
}
|
||||
|
||||
/** Confirms that an EppResourceIndex entity exists in datastore for a given resource. */
|
||||
/** Confirms that an EppResourceIndex entity exists in Datastore for a given resource. */
|
||||
private static <T extends EppResource> void assertEppResourceIndexEntityFor(final T resource) {
|
||||
ImmutableList<EppResourceIndex> indices = FluentIterable
|
||||
.from(ofy().load()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue