google-nomulus/java/google/registry/monitoring
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
..
metrics Add a convenient method to DistributionMetricSubject 2017-11-07 17:17:14 -05:00
whitebox Use standard java thread factory instead of the AppEngine flavor 2017-10-24 16:53:47 -04:00