google-nomulus/javatests/google/registry/flows
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
..
async Add metrics for async batch operation processing 2017-06-05 18:17:09 -04:00
contact Notify registrars of async contact/host deletions 2017-04-26 10:33:55 -04:00
custom Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
domain Simplify DomainTransferRequestFlowTest superuser extension testing 2017-10-04 16:16:45 -04:00
host Add better testing of domain and host creation using multi-part TLDs 2017-08-29 15:47:50 -04:00
poll Fix typo in DomainTransferResponse.Builder method namename 2017-10-04 16:16:45 -04:00
session Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
testdata Add better testing of domain and host creation using multi-part TLDs 2017-08-29 15:47:50 -04:00
BUILD Swap all uses of Lock to LockHandler 2017-09-12 15:51:50 -04:00
CheckApiActionTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
EppCommitLogsTest.java Un-Ignore a test in DomainApplicationCreateFlowTest 2017-05-03 10:44:56 -04:00
EppConsoleActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppControllerTest.java Log EppExceptions in EppController at INFO (vs FlowRunner at WARNING) 2017-05-03 11:04:51 -04:00
EppLifecycleContactTest.java Add more EPP metric lifecycle tests 2017-05-03 10:58:51 -04:00
EppLifecycleDomainApplicationTest.java Add more EPP metric lifecycle tests 2017-05-03 10:58:51 -04:00
EppLifecycleDomainTest.java Add better testing of domain and host creation using multi-part TLDs 2017-08-29 15:47:50 -04:00
EppLifecycleHostTest.java Add better testing of domain and host creation using multi-part TLDs 2017-08-29 15:47:50 -04:00
EppLifecycleLoginTest.java Add flow-level EPP metric tests 2017-05-03 10:51:12 -04:00
EppLoggedOutTest.java Finish YAMLification of last necessary config values 2017-02-03 12:37:38 -05:00
EppLoginAdminUserTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppLoginTlsTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
EppLoginUserTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
EppTestCase.java Un-Ignore a test in DomainApplicationCreateFlowTest 2017-05-03 10:44:56 -04:00
EppTestComponent.java Swap all uses of Lock to LockHandler 2017-09-12 15:51:50 -04:00
EppTlsActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppToolActionTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppXmlTransformerTest.java Add and adjust EppInput accessors for more useful properties 2017-04-26 10:51:47 -04:00
EppXxeAttackTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ExtensionManagerTest.java Add support for a domain transfer request superuser EPP extension 2017-09-12 15:51:50 -04:00
FlowReporterTest.java Log EppExceptions in EppController at INFO (vs FlowRunner at WARNING) 2017-05-03 11:04:51 -04:00
FlowRunnerTest.java Log EppExceptions in EppController at INFO (vs FlowRunner at WARNING) 2017-05-03 11:04:51 -04:00
FlowTestCase.java Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
ResourceCheckFlowTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResourceFlowTestCase.java Remove all vestiges of memcache 2017-06-14 10:28:24 -04:00
TlsCredentialsTest.java Fix X-GFE header search bug 2017-08-29 16:57:47 -04:00