google-nomulus/java/google/registry/model
cgoldfeder aa10792f73 Test that marshaling a domain only does one datastore fetch.
This is true even though the domain has three fields (a contact,
a host, and the registrant) whose foreign keys need to be loaded.

This CL also adds the generic ability to do these sort of tests
elsewhere in the code, by instrumenting the datastore instance
used by Objectify to store static counts of method calls.

TESTED=patched in a rollback of [] and confirmed that the
test failed because there were three reads.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=123885768
2016-06-06 13:31:16 -04:00
..
annotations Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
billing Rename BillingEvent.OneTime.cancellationTargetId 2016-05-27 12:45:19 -04:00
common Follow-up changes to TimeOfYear from [] 2016-05-27 12:56:09 -04:00
contact Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
domain Load foreign keys more efficiently for xml marshalling. 2016-06-06 13:30:53 -04:00
eppcommon Add simple registration type command extension for domain creates 2016-05-27 12:50:46 -04:00
eppinput Add domain check and update registration type extensions 2016-05-27 12:57:31 -04:00
eppoutput Add registration type response extension to info commands 2016-05-27 12:58:53 -04:00
export Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
host Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
index Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
mark Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
ofy Test that marshaling a domain only does one datastore fetch. 2016-06-06 13:31:16 -04:00
poll Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
pricing Add additional return values to PricingEngine interface 2016-06-06 12:14:51 -04:00
rde Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
registrar Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
registry Fix broken code reference to PricingUtils 2016-06-06 12:17:33 -04:00
reporting Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
server Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
smd Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
tmch Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
transfer Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
translators Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
AbstractFieldExposer.java Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
BackupGroupRoot.java Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
BUILD Prefer re2 over java.util.regex 2016-05-13 23:16:07 -04:00
Buildable.java Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
CreateAutoTimestamp.java Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
EntityClasses.java Add global-scoped (and other type-scoped) cursors 2016-05-13 23:19:34 -04:00
EppResource.java Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
EppResourceUtils.java Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
generate_field_exposer.sh Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
generate_field_exposer_registry.sh Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
ImmutableObject.java Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
Jsonifiable.java Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
JsonMapBuilder.java Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
ModelUtils.java Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
package-info.java Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
RoidSuffixes.java Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
SchemaVersion.java Bring open source build closer to passing 2016-05-14 01:29:22 -04:00
UpdateAutoTimestamp.java Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00