google-nomulus/javatests/google/registry/tools
guyben 7d165a08cf Replace assertThat(stream.collect(toImmutableList())) with assertThat(stream)
In Truth8, we can do assertThat(stream) directly. It's less verbose and clearer
in most cases.

Note that for the "finishers" (e.g. "containsExactyElementsIn") - streams are
still not allowed. So when there is:
assertThat(stream.map(someTransformation).collect(toList()))
.containsExactlyElementsIn(expecteStream.map(someTransformation).collect(toList()));

I kept the .collect in the assertThat to preserve the symmetry with the
finisher.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=179697587
2017-12-27 11:32:45 -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 Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -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 Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateRegistrarGroupsCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
CreateReservedListCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -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 Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -05:00
DeleteReservedListCommandTest.java Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -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
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 Use method references when possible 2017-12-27 11:25:02 -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 Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -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 Automatically refactor more exception testing to use new JUnit rules 2017-12-27 10:50:20 -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