@Test(expected = UnsupportedOperationException.class) public void testSetContextForNonUnderlabelStyle() throws Exception { mSpiedAwesomeValidationBasicStyle.setContext(mMockContext); }
public void setContext(Context context) { checkIsUnderlabelValidator(); ((UnderlabelValidator) mValidator).setContext(context); }
AwesomeValidation { public void setContext(Context context) { checkIsUnderlabelValidator(); ((UnderlabelValidator) mValidator).setContext(context); } }
AwesomeValidation { public void setContext(Context context) { checkIsUnderlabelValidator(); ((UnderlabelValidator) mValidator).setContext(context); } AwesomeValidation(ValidationStyle style); }
AwesomeValidation { public void setContext(Context context) { checkIsUnderlabelValidator(); ((UnderlabelValidator) mValidator).setContext(context); } AwesomeValidation(ValidationStyle style); static boolean isAutoFocusOnFirstFailureEnabled(); static void disableAutoFocusOnFirstFailure(); void setContext(Context context); void setColor(int color); void setUnderlabelColor(int colorValue); void setUnderlabelColorByResource(int colorResId); void setTextInputLayoutErrorTextAppearance(int styleId); void addValidation(EditText editText, String regex, String errMsg); void addValidation(TextInputLayout textInputLayout, String regex, String errMsg); void addValidation(Activity activity, int viewId, String regex, int errMsgId); void addValidation(EditText editText, Pattern pattern, String errMsg); void addValidation(TextInputLayout textInputLayout, Pattern pattern, String errMsg); void addValidation(Activity activity, int viewId, Pattern pattern, int errMsgId); void addValidation(EditText editText, Range range, String errMsg); void addValidation(TextInputLayout textInputLayout, Range range, String errMsg); void addValidation(Activity activity, int viewId, Range range, int errMsgId); void addValidation(EditText confirmationEditText, EditText editText, String errMsg); void addValidation(TextInputLayout confirmationTextInputLayout, TextInputLayout textInputLayout, String errMsg); void addValidation(Activity activity, int confirmationViewId, int viewId, int errMsgId); void addValidation(EditText editText, SimpleCustomValidation simpleCustomValidation, String errMsg); void addValidation(TextInputLayout textInputLayout, SimpleCustomValidation simpleCustomValidation, String errMsg); void addValidation(Activity activity, int viewId, SimpleCustomValidation simpleCustomValidation, int errMsgId); void addValidation(View view, CustomValidation customValidation, CustomValidationCallback customValidationCallback, CustomErrorReset customErrorReset, String errMsg); void addValidation(Activity activity, int viewId, CustomValidation customValidation, CustomValidationCallback customValidationCallback, CustomErrorReset customErrorReset, int errMsgId); boolean validate(); void clear(); }
AwesomeValidation { public void setContext(Context context) { checkIsUnderlabelValidator(); ((UnderlabelValidator) mValidator).setContext(context); } AwesomeValidation(ValidationStyle style); static boolean isAutoFocusOnFirstFailureEnabled(); static void disableAutoFocusOnFirstFailure(); void setContext(Context context); void setColor(int color); void setUnderlabelColor(int colorValue); void setUnderlabelColorByResource(int colorResId); void setTextInputLayoutErrorTextAppearance(int styleId); void addValidation(EditText editText, String regex, String errMsg); void addValidation(TextInputLayout textInputLayout, String regex, String errMsg); void addValidation(Activity activity, int viewId, String regex, int errMsgId); void addValidation(EditText editText, Pattern pattern, String errMsg); void addValidation(TextInputLayout textInputLayout, Pattern pattern, String errMsg); void addValidation(Activity activity, int viewId, Pattern pattern, int errMsgId); void addValidation(EditText editText, Range range, String errMsg); void addValidation(TextInputLayout textInputLayout, Range range, String errMsg); void addValidation(Activity activity, int viewId, Range range, int errMsgId); void addValidation(EditText confirmationEditText, EditText editText, String errMsg); void addValidation(TextInputLayout confirmationTextInputLayout, TextInputLayout textInputLayout, String errMsg); void addValidation(Activity activity, int confirmationViewId, int viewId, int errMsgId); void addValidation(EditText editText, SimpleCustomValidation simpleCustomValidation, String errMsg); void addValidation(TextInputLayout textInputLayout, SimpleCustomValidation simpleCustomValidation, String errMsg); void addValidation(Activity activity, int viewId, SimpleCustomValidation simpleCustomValidation, int errMsgId); void addValidation(View view, CustomValidation customValidation, CustomValidationCallback customValidationCallback, CustomErrorReset customErrorReset, String errMsg); void addValidation(Activity activity, int viewId, CustomValidation customValidation, CustomValidationCallback customValidationCallback, CustomErrorReset customErrorReset, int errMsgId); boolean validate(); void clear();  }