google-nomulus/javatests/google/registry/rde
mcilwain d536cef20f Make Registrar load methods return Optionals instead of Nullables
This makes the code more understandable from callsites, and also forces
users of this function to deal with the situation where the registrar
with a given client ID might not be present (it was previously silently
NPEing from some of the callsites).

This also adds a test helper method loadRegistrar(clientId) that retains
the old functionality for terseness in tests. It also fixes some instances
of using the load method with the wrong cachedness -- some uses in high-
traffic situations (WHOIS) that should have caching, but also low-traffic
reporting that don't benefit from caching so might as well always be
current.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=162990468
2017-08-01 16:58:59 -04:00
..
imports Perform some minor test cleanup 2017-08-01 16:20:49 -04:00
testdata Document StatusValue better and add per-resource restrictions 2017-02-02 16:46:02 -05:00
BouncyCastleTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BrdaCopyActionTest.java Refactor RdeKeyringModule into FakeKeyringModule 2017-03-21 14:53:25 -04:00
BUILD Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
ContactResourceToXjcConverterTest.java Refactor out creation of server TRIDs so they can be tested 2017-04-13 10:55:47 -04:00
DomainResourceToXjcConverterTest.java Refactor out creation of server TRIDs so they can be tested 2017-04-13 10:55:47 -04:00
EscrowTaskRunnerTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GhostrydeGpgIntegrationTest.java Refactor RdeKeyringModule into FakeKeyringModule 2017-03-21 14:53:25 -04:00
GhostrydeTest.java Refactor RdeKeyringModule into FakeKeyringModule 2017-03-21 14:53:25 -04:00
HostResourceToXjcConverterTest.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
PendingDepositCheckerTest.java Re-enable some PendingDepositChecker Tests 2017-08-01 16:37:13 -04:00
RdeFixtures.java Refactor out creation of server TRIDs so they can be tested 2017-04-13 10:55:47 -04:00
RdeMarshallerTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
RdeReportActionTest.java Refactor RdeKeyringModule into FakeKeyringModule 2017-03-21 14:53:25 -04:00
RdeStagingActionTest.java Re-enable some PendingDepositChecker Tests 2017-08-01 16:37:13 -04:00
RdeTestData.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeTestSuite.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RdeUploadActionTest.java Remove outdated comment in RdeUploadActionTest 2017-06-06 10:57:56 -04:00
RegistrarToXjcConverterTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RydeGpgIntegrationTest.java Refactor RdeKeyringModule into FakeKeyringModule 2017-03-21 14:53:25 -04:00