Class RandomHelper
java.lang.Object
com.verisign.epp.codec.change.util.RandomHelper
This class knows how to construct a random command or response facilitating
the random unit test framework.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Liststatic EPPChangeActionstatic EPPChangeCheckCmdstatic EPPChangeCheckDatastatic EPPChangeCheckRespgetChangeCheckResp(String aClientTransId) static EPPChangeCreateCmdstatic EPPChangeDeleteCmdstatic EPPChangeInfoCmdstatic EPPChangeInfoRespgetChangeInfoResp(String aClientTransId) static EPPChangeUpdateAttributesstatic EPPChangeUpdateCmdstatic EPPChangeUpdateRespgetChangeUpdateEmptyResp(String aClientTransId) static EPPChangeUpdateRespgetChangeUpdateResp(String aClientTransId) static EPPChangeUpdateRespgetChangeUpdateSubmitResp(String aClientTransId) static DategetDate()static Stringstatic Stringstatic EPPResponsegetEppResponse(String aClientTransId) Gets anEPPResponsewith the supplied client transaction identifier and a constant server transaction identifier.static intgetInt()static intgetInt(int r) static intgetInt(int n, int r) static StringgetLabel()static longgetLong()static longgetLong(long r) static longgetLong(long n, long r) static Stringstatic Stringstatic Stringstatic Stringstatic booleanp(double d) static voidreset()static voidreset(long seed)
-
Constructor Details
-
RandomHelper
public RandomHelper()
-
-
Method Details
-
getChangeAction
-
getChangeCheckCmd
-
getChangeCheckData
-
getChangeCheckResp
-
getChangeCreateCmd
-
getChangeDeleteCmd
-
getChangeInfoCmd
-
getChangeInfoResp
-
getChangeUpdateAttributes
-
getChangeUpdateCmd
-
getChangeUpdateResp
-
getChangeUpdateSubmitResp
-
getChangeUpdateEmptyResp
-
getDate
-
getDefinition
-
getDescription
-
getEppResponse
Gets anEPPResponsewith the supplied client transaction identifier and a constant server transaction identifier.- Parameters:
aClientTransId- Client transaction identifier if exists;nullotherwise.- Returns:
EPPResponseconstructed from supplied client transaction identifier and a constant server transaction identifier.
-
getInt
public static int getInt() -
getInt
public static int getInt(int r) -
getInt
public static int getInt(int n, int r) -
getLabel
-
getLong
public static long getLong() -
getLong
public static long getLong(long r) -
getLong
public static long getLong(long n, long r) -
getCategories
-
getReceipt
-
getStatus
-
getPriority
-
getTransId
-
p
public static boolean p(double d) -
reset
public static void reset() -
reset
public static void reset(long seed)
-