mirror of
https://github.com/google/nomulus.git
synced 2025-05-04 05:57:51 +02:00
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 |
||
---|---|---|
.. | ||
com/google/testing/builddefs | ||
google/registry |