google-nomulus/java/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 Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
braintree Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
config Add configurable escrow file import GCS bucket 2016-06-06 13:31:10 -04:00
cron Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
dns Change second-level domain name to fully-qualified domain name 2016-05-27 12:42:33 -04:00
eclipse Integrate: Eclipse file generation script 2016-05-16 18:39:45 -04:00
env Get rid of deprecated rde-staging queue 2016-05-13 23:25:54 -04:00
export Delete the useless MapreduceAction interface 2016-05-18 13:09:40 -04:00
flows Remove deprecated method from FlowRunner 2016-06-06 13:31:16 -04:00
gcs Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
groups Migrate @Provides(type=SET_VALUES) to @ElementsIntoSet 2016-05-13 23:19:48 -04:00
idn Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
keyring/api Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
loadtest Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
mapreduce Add scaffolding of deeplinking verification [] 2016-06-06 12:11:59 -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 Remove unused and misused methods from EppResourceUtils and DomainBase. 2016-05-16 18:39:23 -04:00
request Allow @RequestScope on methods 2016-06-06 13:30:44 -04:00
security Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
storage/drive Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
tldconfig/idn Prefer re2 over java.util.regex 2016-05-13 23:16:07 -04:00
tmch Make javadoc <p> style guide compliant 2016-05-18 13:09:01 -04:00
tools Add additional return values to PricingEngine interface 2016-06-06 12:14:51 -04:00
ui Change second-level domain name to fully-qualified domain name 2016-05-27 12:42:33 -04:00
util Add additional return values to PricingEngine interface 2016-06-06 12:14:51 -04:00
whois Remove unused and misused methods from EppResourceUtils and DomainBase. 2016-05-16 18:39:23 -04:00
xjc Fix paths in a few places 2016-05-17 13:52:27 -04:00
xml Add regtype EPP extension XSD 2016-05-27 12:46:40 -04:00
BUILD Make new source tree visible from internal release files 2016-05-13 23:16:01 -04:00
repositories.bzl Migrate Domain Registry to Closure Rules 0.1.0 2016-05-17 13:53:41 -04:00