google-nomulus/javatests/google/registry
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
..
backup Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
bigquery Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
config Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
cron Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
dns Make dnsupdate go back to using dnsjava 2.x 2016-05-16 18:40:31 -04:00
export Typo in comment 2016-05-16 18:40:40 -04:00
flows Load foreign keys more efficiently for xml marshalling. 2016-06-06 13:30:53 -04:00
groups Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
mapreduce/inputs Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
model Test that marshaling a domain only does one datastore fetch. 2016-06-06 13:31:16 -04:00
module Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
monitoring/whitebox Don't throw entity integrity errors for renamed hosts 2016-05-16 18:40:19 -04:00
pricing Add additional return values to PricingEngine interface 2016-06-06 12:14:51 -04:00
rdap Registrant of a domain can never be null 2016-05-18 13:10:18 -04:00
rde Registrant of a domain can never be null 2016-05-18 13:10:18 -04:00
request Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
security Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
server Migrate Domain Registry to Closure Rules 0.1.0 2016-05-17 13:53:41 -04:00
storage/drive Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
testing Add additional return values to PricingEngine interface 2016-06-06 12:14:51 -04:00
tldconfig/idn Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
tmch Registrant of a domain can never be null 2016-05-18 13:10:18 -04:00
tools Add gTech commands for dealing with DotAppRegistrarInfo 2016-06-06 12:13:25 -04:00
ui Change second-level domain name to fully-qualified domain name 2016-05-27 12:42:33 -04:00
util Remove python scripts from third_party/.../util 2016-05-13 23:18:35 -04:00
whois Typo in comment 2016-05-16 18:40:40 -04:00
xjc Prefer re2 over java.util.regex 2016-05-13 23:16:07 -04:00
xml Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00