google-nomulus/java/google/registry/monitoring/metrics/contrib
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
..
AbstractMetricSubject.java Add a convenient method to DistributionMetricSubject 2017-11-07 17:17:14 -05:00
BUILD Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
DistributionMetricSubject.java Add a convenient method to DistributionMetricSubject 2017-11-07 17:17:14 -05:00
LongMetricSubject.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00