google-nomulus/java
jianglai 4140ef6315 Remove the use of InjectRule in UrlFetchUtilsTest
Random used to be a static variable which requires InjectRule to mock it in unit tests. It is now a singleton, which ensures that the same instance is called every time and Random.nextBytes() generates results that distribute uniformly between each call.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=217592767
2018-10-22 18:44:56 -04:00
..
com/google/testing/builddefs Format .bzl files with buildifier 2018-07-14 01:37:03 -04:00
google/registry Remove the use of InjectRule in UrlFetchUtilsTest 2018-10-22 18:44:56 -04:00