public final class TestValues
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static long |
longRandom(long min,
long max)
Generates a random long value in the range [min, max).
|
static com.google.protobuf.StringValue |
newUuidValue()
Generates a
StringValue with generated UUID. |
static int |
random(int max)
Generates a random integer in the range [0, max).
|
static int |
random(int min,
int max)
Generates a random integer in the range [min, max).
|
static java.lang.String |
randomString()
Generates a string value based on generated UUID.
|
public static java.lang.String randomString()
public static com.google.protobuf.StringValue newUuidValue()
StringValue
with generated UUID.public static int random(int max)
public static int random(int min, int max)
public static long longRandom(long min, long max)