google-nomulus/java/google/registry
weiminyu 1200fd282f Cloned from CL 251456914 by 'g4 patch'.
Original change by cpovirk@cpovirk:rosie251284456-0055_Rosie:31511:citc on 2019/06/04 09:48:27.

Update to Truth 0.45, and address deprecations.

Renames may include:
- containsAllOf => containsAtLeast
- containsAllIn => containsAtLeastElementsIn
- isSameAs => isSameInstanceAs
- isOrdered => isInOrder
- isStrictlyOrdered => isInStrictOrder

The other major change is to change custom subjects to extend raw Subject instead of supplying type parameters. The type parameters are being removed from Subject. This CL will temporarily produce rawtypes warnings, which will go away when I remove the type parameters (as soon as this batch of CLs is submitted).

Some CLs in this batch also migrate calls away from actualAsString(). Its literal replacement is `"<" + actual + ">"` (unless an object overrides actualCustomStringRepresentation()), but usually I've made a larger change, such as switching from an old-style "Not true that..." failure message to one generated with the Fact API. In that case, the new code usually contains a direct reference to this.actual (a field that I occasionally had to create). Another larger change I sometimes made is to switch from a manual check-and-fail approach to instead use check(...). And sometimes I just remove a withMessage() call that's no longer necessary now that the code uses check(...), or I introduce a check(...) call. (An assertion made with check(...) automatically includes the actual value from the original subject, so there's no need to set it again with withMessage().)

Finally, there's one CL in this batch in which I migrate a Correspondence subclass to instead use Correspondence.from.

END_PUBLIC

If this is too many changes at once, let me know, and I can split it up and/or explain further. In the past, I've erred on the side of sending separate CLs for each change, which has required some owners to manually reapply each one, so now I'm trying this way.

Thanks again for your patience. There is an outside chance that this will be the last CL I send you before Truth 1.0 -- but certainly no promises :)

More information:
  Renames:
    []
    []
    []
  Removing type parameters: []
  Migration from old fail*(...) methods to new ones and to check(...): []
  Changes that replace assert*(...) with introduce check(...): []
  Correspondence subclass to Correspondence.from: []

Tested:
    TAP --sample ran all affected tests and none failed
    []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=251921007
2019-06-07 11:46:44 -04:00
..
backup Fix some statically detected code issues 2019-04-22 12:54:34 -04:00
batch Merge DomainResource into DomainBase 2019-01-28 15:57:10 -05:00
beam Fix some statically detected code issues 2019-04-22 12:54:34 -04:00
bigquery Upgrade the version of google/errorprone plug-in 2019-03-20 14:25:28 -04:00
builddefs Fix .bzl files with buildifier 2019-02-25 11:13:08 -05:00
config Increase NS record default TTLs to 3 hours 2019-05-21 11:42:39 -04:00
cron Fix some statically detected code issues 2019-04-22 12:54:34 -04:00
dns Enable more DNS update metrics on production 2019-06-06 10:49:55 -04:00
documentation De-duplicate flow documentation error reasons on a per-code basis 2019-06-06 10:51:43 -04:00
env Increase delay between attempts of rde staging 2019-05-30 12:52:21 -04:00
export Fix some issues caught by IntelliJ static code analysis 2019-01-28 16:08:24 -05:00
flows Allow reserved domains to be created during quiet periods 2019-06-06 10:53:27 -04:00
gcs Fix various Error Prone errors that were found by the FOSS build 2019-01-28 16:05:09 -05:00
groups Account for GoogleJsonResponseException#getDetails returning null 2018-12-03 19:09:11 -05:00
idn Update IDN tables to comply with https://www.iana.org/help/idn-repository-procedure 2018-02-01 21:59:14 -05:00
keyring Fix some statically detected code issues 2019-04-22 12:54:34 -04:00
loadtest Add the App Engine service used in the Action definition 2019-01-17 18:59:16 -05:00
mapreduce Use -dot- subdomain notation in MapReduce console links 2019-01-31 13:59:05 -05:00
model Export PollMessage entities to BigQuery 2019-06-07 11:41:22 -04:00
module Remove the web console EPP endpoint 2019-03-05 14:20:42 -05:00
monitoring/whitebox Fix some statically detected code issues 2019-04-22 12:54:34 -04:00
pricing Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
proxy Upgrade to AutoValue 1.6.3 2019-05-30 12:52:21 -04:00
rdap Conform to RDAP Technical Implementation Guide 2019-06-07 11:43:09 -04:00
rde Fix some statically detected code issues 2019-04-22 12:54:34 -04:00
reporting Use the registrar client ID and abuse email address in Spec11 2019-04-26 23:45:07 -04:00
request Conform to RDAP Response Profile 15feb19 2019-05-30 12:52:21 -04:00
security Allow XSRF to be sent as POST parameter in addition to HTML header 2018-12-20 07:46:33 -05:00
storage/drive Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
tldconfig/idn Fix various Error Prone errors that were found by the FOSS build 2019-01-28 16:05:09 -05:00
tmch Fix some statically detected code issues 2019-04-22 12:54:34 -04:00
tools Smear out DNS updates over time when updating DNS for all domains 2019-06-06 10:44:27 -04:00
ui Add Google Analytics to registrar console 2019-05-21 11:35:34 -04:00
util Smear out DNS updates over time when updating DNS for all domains 2019-06-06 10:44:27 -04:00
whois Change redacted output for domain whois query 2019-02-06 18:03:11 -05:00
xjc Fix various Error Prone errors that were found by the FOSS build 2019-01-28 16:05:09 -05:00
xml Pretty-print actual XML in tests 2018-07-14 01:37:03 -04:00
BUILD Remove deprecated DNS subsystem 2018-09-14 12:01:08 -04:00
repositories.bzl Cloned from CL 251456914 by 'g4 patch'. 2019-06-07 11:46:44 -04:00