google-nomulus/javatests/google/registry
nickfelt 3c0b17dc6f Simplify DomainTransferRequestFlowTest superuser extension testing
This CL deduplicates these two methods in DomainTransferRequestFlowTest:
- assertHistoryEntriesContainTransferBillingEventsOrGracePeriods()
- assertHistoryEntriesDoNotContainTransferBillingEventsOrGracePeriods()

Instead, we have one method with an extra parameter dictating whether or not
we should expect a transfer billing event (yes normally, no in the case of a
superuser transfer w/ 0 period).  This is less code overall and avoids drift
between the normal vs special case assertions (if people make changes in one
but forget to do so in the other).

Also, the methods as named were a little confusing because the "Contain" vs
"DoNotContain" naming suggests that the methods are asserting opposite things,
but actually they assert some things in common (like the existence of autorenew
billing events, and that pre-transfer grace periods are cleared).

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=170540417
2017-10-04 16:16:45 -04:00
..
backup Map over Key instead of actual instances when deleting old commit logs 2017-08-29 15:40:41 -04:00
batch Move ResaveAllEppResources mapreduce from tools service to backend 2017-09-20 10:27:17 -04:00
bigquery Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:42:43 -04:00
builddefs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
config Remove unnecessary line to load configs 2017-02-27 11:07:40 -05:00
cron Add response information to TldFanoutAction 2017-04-10 13:32:41 -04:00
dns Build DNS changes with HashMap instead of Builder 2017-10-04 16:16:45 -04:00
export Migrate to new Sheets v4 api 2017-09-20 10:27:17 -04:00
flows Simplify DomainTransferRequestFlowTest superuser extension testing 2017-10-04 16:16:45 -04:00
groups Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:47:13 -04:00
keyring Add request/lock to opensource build 2017-09-12 15:51:50 -04:00
mapreduce/inputs Map over Key instead of actual instances when deleting old commit logs 2017-08-29 15:40:41 -04:00
model Fix mismatch in types of Predicates being used 2017-10-04 16:16:45 -04:00
module Move ResaveAllEppResources mapreduce from tools service to backend 2017-09-20 10:27:17 -04:00
monitoring Add a Fibonacci fitter for metrics bucketing 2017-05-23 17:22:49 -04:00
pricing Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
rdap Add RDAP support for deleted nameservers and filtering by registrar 2017-10-04 16:16:45 -04:00
rde Fix RDE import pending transfer handling 2017-10-04 16:16:45 -04:00
reporting Update activity reports to comply with agreement changes 2017-10-04 16:16:45 -04:00
request Check if lock owner is finished on lock acquisition 2017-09-20 10:27:17 -04:00
security Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
server Fix mismatch in types of Predicates being used 2017-10-04 16:16:45 -04:00
storage/drive Remove some unnecessary uses of MockitoJUnitRunner, which is discouraged 2017-04-26 10:45:45 -04:00
testing Migrate from old *Verb* classes to new *SubjectBuilder* classes 2017-09-12 15:51:58 -04:00
tldconfig/idn Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
tmch Update to latest ICANN-provided TMCH test files 2017-09-12 14:58:54 -04:00
tools Move ResaveAllEppResources mapreduce from tools service to backend 2017-09-20 10:27:17 -04:00
ui Fix foss build 2017-09-20 10:27:17 -04:00
util Fix Kokoro build 2017-09-12 15:51:50 -04:00
whois Add logging to WhoisReader 2017-09-12 15:51:50 -04:00
xjc Add mapper to import domains from RDE deposits 2017-02-06 16:46:46 -05:00
xml Update copyright year on all license headers 2017-02-02 16:27:22 -05:00