add string formattable error messages

This commit is contained in:
danikov 2012-02-16 00:57:50 +00:00
parent f6efba9f25
commit b0168c1b23
1 changed files with 14 additions and 0 deletions

View File

@ -23,6 +23,20 @@ package org.jclouds.vcloud.director.v1_5;
*/
public class VCloudDirectorLiveTestConstants {
public static final String REF_REQ_LIVE = "%s reference required to perform live tests";
public static final String OBJ_REQ_LIVE = "%s instance required to perform live tests";
public static final String OBJ_FIELD_REQ_LIVE = "%s must have a non-null \"%s\" to perform live tests";
public static final String OBJ_FIELD_REQ = "%s must always have a non-null field \"%s\"";
public static final String OBJ_FIELD_ATTRB_REQ = "%s %s (%o) must always have a non-null field \"%s\"";
public static final String OBJ_FIELD_EQ = "%s %s must have the value \"%s\" (%o)";
public static final String OBJ_FIELD_GTE_0 = "%s field %s must be greater than to equal to 0 (%l)";
public static final String GETTER_RETURNS_SAME_OBJ = "%s should return the same %s as %s (%o, %o)";
public static final String OBJ_FIELD_UPDATABLE = "%s field %s should be updatable";
public static final String OBJ_FIELD_ATTRB_DEL = "%s %s (%o) should have deleted field \"%o\" (%o)";
public static final String OBJ_DEL = "%s (%o) should have been deleted";
public static final String TASK_COMPLETE_TIMELY = "Task %s should complete in a timely fashion";
@Deprecated
public static final String FIELD_NOT_NULL_FMT = "The %s field of the %s must not be null";
}