google-nomulus/javatests/google/registry
jianglai 4a5b9fc288 Add a convenient method to DistributionMetricSubject
Currently to assert that a given Metric<Distribution> as a certain distribution for some labels, the caller needs to manually create an ImmutableDistribution and pass it to #hasValueForLabels method. With this change, an ImmutableSet of data points can be passed to #hasDataSetForLabels method.

Also switched to use expectThrow backport from JUnit 4.13.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=173544521
2017-11-07 17:17:14 -05:00
..
backup Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
batch Remove unnecessary explicit generic type declarations 2017-11-07 17:11:29 -05:00
bigquery Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
builddefs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
config Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
cron Remove unused Truth8.assertThat() imports in tests 2017-11-07 17:01:19 -05:00
dns Use compound return statements for greater readability 2017-11-07 17:12:57 -05:00
export Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
flows Remove unused Truth8.assertThat() imports in tests 2017-11-07 17:01:19 -05:00
groups Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
keyring Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
mapreduce/inputs Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
model Backport assertion test methods from JUnit 4.13 into Nomulus 2017-11-07 17:04:15 -05:00
module Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
monitoring Add a convenient method to DistributionMetricSubject 2017-11-07 17:17:14 -05:00
pricing Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
rdap Return proper RDAP error messages when invalid IP addresses are specified 2017-10-24 16:53:47 -04:00
rde Remove unused Truth8.assertThat() imports in tests 2017-11-07 17:01:19 -05:00
reporting Fix reporting module parameters and yearMonth usage 2017-11-07 17:15:47 -05:00
request Prepare ICANN reporting for production 2017-10-24 16:53:47 -04:00
security Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
server Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
storage/drive Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
testing Backport assertion test methods from JUnit 4.13 into Nomulus 2017-11-07 17:04:15 -05:00
tldconfig/idn Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
tmch Remove unused Truth8.assertThat() imports in tests 2017-11-07 17:01:19 -05:00
tools Add validation to ROID suffixes 2017-11-07 16:51:06 -05:00
ui Remove unnecessary explicit generic type declarations 2017-11-07 17:11:29 -05:00
util Remove unnecessary explicit generic type declarations 2017-11-07 17:11:29 -05:00
whois Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
xjc Remove unused Truth8.assertThat() imports in tests 2017-11-07 17:01:19 -05:00
xml Remove unnecessary explicit generic type declarations 2017-11-07 17:11:29 -05:00