google-nomulus/javatests/google/registry/tools
mcilwain 98a61b8181 Add the ability to require premium fee acking for a registrar
When enabled for a registrar, all EPP operations on premium domains that have
costs (e.g.  creates, renews, transfers) will fail unless the EPP fee extension
is used to explicitly ack the amount of fee as part of the EPP transaction.

This ack is required regardless of whether premium fee acking is required at
the registry level. No data migration is necessary since false is the desired
default for this new attribute.

This CL also contains some slight refactoring of static utility methods used to
perform fee verification; there was short-circuiting at call-sites in two
places when what was really needed was two methods, one implementing additional
functionality on top of the other, and calling the inner method in the places
where short-circuiting had previously been necessary.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184229363
2018-02-01 22:07:11 -05:00
..
params Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:42:36 -05:00
server Use method references instead of lambdas when possible 2017-12-27 10:55:03 -05:00
testdata Move EPP XML testdata to server/testdata 2017-07-12 11:03:50 -04:00
AllocateDomainCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
AuthModuleTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
BUILD Add //third_party/java/jaxb dependency to targets using javax.xml.bind 2018-01-23 16:18:35 -05:00
CommandTestCase.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
ComparableEntityTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
CompareDbBackupsTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
CreateAnchorTenantCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateCdnsTldTest.java Turn on DNSSEC for new Cloud DNS TLDs 2017-12-27 10:48:42 -05:00
CreateContactCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
CreateCreditBalanceCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateCreditCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateDomainCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateHostCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateLrpTokensCommandTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
CreateOrUpdatePremiumListCommandTestCase.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
CreateOrUpdateReservedListCommandTestCase.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreatePremiumListCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
CreateRegistrarCommandTest.java Add the ability to require premium fee acking for a registrar 2018-02-01 22:07:11 -05:00
CreateRegistrarGroupsCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateReservedListCommandTest.java Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
CreateTldCommandTest.java Replace assertThat(stream.collect(toImmutableList())) with assertThat(stream) 2017-12-27 11:32:45 -05:00
DefaultRequestFactoryModuleTest.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
DeleteCreditCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DeleteDomainCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DeleteEntityCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DeleteHostCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DeletePremiumListCommandTest.java Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
DeleteReservedListCommandTest.java Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
DeleteTldCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DomainApplicationInfoCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DomainCheckClaimsCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DomainCheckCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DomainCheckFeeCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
EncryptEscrowDepositCommandTest.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
EppToolCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
EppToolCommandTestCase.java Refactor EppToolVerifier to accept chaining verify commands 2017-12-01 22:14:06 -05:00
EppToolVerifier.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
ExecuteEppCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
GenerateAllocationTokensCommandTest.java Create GenerateAllocationTokens nomulus tool command 2018-01-19 14:26:56 -05:00
GenerateAuctionDataCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GenerateDnsReportCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
GenerateEscrowDepositCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
GetApplicationCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetApplicationIdsCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetClaimsListCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
GetContactCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetDomainCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetHistoryEntriesCommandTest.java Fix NPE in GetHistoryEntriesCommand 2017-10-24 16:53:47 -04:00
GetHostCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetLrpTokenCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetRegistrarCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetResourceByKeyCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GetSchemaTreeCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
GetTldCommandTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
GhostrydeCommandTest.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
LevelDbFileBuilder.java Implement compare_db_backups "main" 2017-09-20 10:27:17 -04:00
LevelDbFileBuilderTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
LevelDbLogReaderTest.java Create an entity record accumulator 2017-09-12 15:51:50 -04:00
LevelDbUtil.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
ListCursorsCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
ListDomainsCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
ListHostsCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ListObjectsCommandTestCase.java Remove unnecessary type specifications 2017-12-27 11:23:03 -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 Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
LockDomainCommandTest.java Refactor EppToolVerifier to accept chaining verify commands 2017-12-01 22:14:06 -05:00
MutatingCommandTest.java Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
PublishDetailReportCommandTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
RecordAccumulatorTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
RegistrarContactCommandTest.java Migrate final try/catch test assertions to use assert/expectThrows 2018-01-19 14:43:12 -05:00
RegistryToolEnvironmentTest.java Use method references when possible 2017-12-27 11:25:02 -05:00
RegistryToolTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
ResaveEntitiesCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
ResaveEnvironmentEntitiesCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
ResaveEppResourcesCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
RestoreCommitLogsCommandTest.java Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
SetupOteCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UniformRapidSuspensionCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UnlockDomainCommandTest.java Refactor EppToolVerifier to accept chaining verify commands 2017-12-01 22:14:06 -05:00
UpdateApplicationStatusCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UpdateClaimsNoticeCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UpdateCursorsCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UpdateDomainCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UpdatePremiumListCommandTest.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UpdateRegistrarCommandTest.java Add the ability to require premium fee acking for a registrar 2018-02-01 22:07:11 -05:00
UpdateReservedListCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UpdateServerLocksCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
UpdateSmdCommandTest.java Get rid of custom ExceptionRule methods 2017-12-13 12:43:45 -05:00
UpdateTldCommandTest.java Replace assertThat(stream.collect(toImmutableList())) with assertThat(stream) 2017-12-27 11:32:45 -05:00
UploadClaimsListCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
ValidateEscrowDepositCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
ValidateLoginCredentialsCommandTest.java Re-add assertions that EppExceptions marshal correctly 2017-12-27 11:01:09 -05:00
VerifyOteCommandTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00