google-nomulus/javatests/google/registry/tools
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
..
params Add billing account map to Registrar entity 2017-03-27 13:10:29 -04:00
server Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
testdata Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
AllocateDomainCommandTest.java Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
AuthModuleTest.java Implement login/logout commands 2017-03-07 13:45:11 -05:00
BUILD Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
CommandTestCase.java Add a "loadtest" command to nomulus tool 2017-03-27 13:16:35 -04:00
CreateAnchorTenantCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateContactCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateCreditBalanceCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
CreateCreditCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
CreateDomainCommandTest.java Refactor CreateDomainCommand and add UpdateDomainCommand 2017-07-10 11:22:39 -04:00
CreateHostCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateLrpTokensCommandTest.java Add assertTldsExist(Iterable<String>) to check multiple TLDs at once 2017-04-10 13:44:52 -04:00
CreateOrUpdatePremiumListCommandTestCase.java Replace more deprecated uses of Files methods 2017-02-02 17:08:12 -05:00
CreateOrUpdateReservedListCommandTestCase.java Replace more deprecated uses of Files methods 2017-02-02 17:08:12 -05:00
CreatePremiumListCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateRegistrarCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
CreateRegistrarGroupsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CreateReservedListCommandTest.java Replace deprecated Truth hasMessage() method with hasMessageThat() 2017-04-26 10:35:23 -04:00
CreateTldCommandTest.java Remove deprecated singular DNS writer field and update tooling 2017-08-01 16:50:49 -04:00
DefaultRequestFactoryModuleTest.java Implement login/logout commands 2017-03-07 13:45:11 -05:00
DeleteCreditCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
DeleteDomainCommandTest.java Fix formatting of DeleteDomainCommand 2017-05-03 11:06:19 -04:00
DeleteEntityCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DeleteHostCommandTest.java Add delete_host nomulus tool command 2017-05-03 11:08:02 -04:00
DeletePremiumListCommandTest.java Perform minor refactors on premium list code 2017-02-27 11:30:45 -05:00
DeleteReservedListCommandTest.java Replace deprecated Truth hasMessage() method with hasMessageThat() 2017-04-26 10:35:23 -04:00
DeleteTldCommandTest.java Add nomulus tool command to delete a TLD 2017-04-05 10:10:38 -04:00
DomainApplicationInfoCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainCheckClaimsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainCheckCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainCheckFeeCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EncryptEscrowDepositCommandTest.java Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
EppToolCommandTest.java Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
EppToolCommandTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
EppToolVerifier.java Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
ExecuteEppCommandTest.java Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
GenerateAuctionDataCommandTest.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
GenerateDnsReportCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GenerateEscrowDepositCommandTest.java Fix parameter problem in GenerateEscrowDepositCommand 2017-05-23 17:22:49 -04:00
GetApplicationCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetApplicationIdsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetClaimsListCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetContactCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetDomainCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetHostCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetLrpTokenCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetRegistrarCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
GetResourceByKeyCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetSchemaTreeCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GetTldCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
GhostrydeCommandTest.java Replace KeystoreKeyring with KmsKeystore comparison 2017-04-13 10:58:57 -04:00
ListCursorsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListDomainsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListHostsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListObjectsCommandTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListPremiumListsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListRegistrarsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListReservedListsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListTldsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
LoadTestCommandTest.java Make name and address fields required on Registrar 2017-05-17 11:44:46 -04:00
MutatingCommandTest.java Make name and address fields required on Registrar 2017-05-17 11:44:46 -04:00
PublishDetailReportCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistrarContactCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
RegistryToolEnvironmentTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RegistryToolTest.java Add test which verifies that all commands have descriptions 2017-03-13 10:44:12 -04:00
ResaveEntitiesCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ResaveEnvironmentEntitiesCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
ResaveEppResourcesCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RestoreCommitLogsCommandTest.java Fix RestoreCommitLogsCommandTest in kokoro 2017-06-05 18:17:09 -04:00
SetupOteCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
UniformRapidSuspensionCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
UpdateApplicationStatusCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
UpdateClaimsNoticeCommandTest.java Remove the ofy().load() inside of HostResource.cloneProjectedAtTime 2017-03-13 11:22:55 -04:00
UpdateCursorsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateDomainCommandTest.java Refactor CreateDomainCommand and add UpdateDomainCommand 2017-07-10 11:22:39 -04:00
UpdatePremiumListCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateRegistrarCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
UpdateReservedListCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateServerLocksCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateSmdCommandTest.java Use specific date for testing UpdateSmdCommand 2017-08-01 16:57:36 -04:00
UpdateTldCommandTest.java Remove deprecated singular DNS writer field and update tooling 2017-08-01 16:50:49 -04:00
UploadClaimsListCommandTest.java Add missing @Test, @Before, or @After annotations to JUnit4 test, setUp, or tearDown methods; reduce the visibility of test helper methods to prevent them from being confused for tests; and/or add @Ignore to purposely disabled tests. 2017-08-01 16:18:08 -04:00
ValidateEscrowDepositCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ValidateLoginCredentialsCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00
VerifyOteCommandTest.java Make Registrar load methods return Optionals instead of Nullables 2017-08-01 16:58:59 -04:00