public void CorrectlySetArgbAltColor(Color color) { var target = Target; target.ArgbColorAlt = color; ColorBoardAssert.Color(target, color); }
public void CorrectlySetColorByName(Color color) { var target = Target; target.ColorName = color.ToString(); ColorBoardAssert.Color(target, color); }
public void CorrectlySetHsvColor(Color color) { var target = Target; target.HsvColor = color; ColorBoardAssert.Color(target, color); }
public void CorrectlySetThemeColor(Color color) { var target = Target; target.SelectedThemeColor = color; ColorBoardAssert.Color(target, color); }
public void CorrectlySetPredefinedColor(string predefinedColorName, Color expectedColor) { var target = Target; target.PredefinedColorName = predefinedColorName; ColorBoardAssert.Color(target, expectedColor); }
public void VerifyInitialColorState() { var target = Target; var current = target.Current; var margin = current.Margin; var desiredSize = current.DesiredSize; ColorBoardAssert.Color(target, target.Current.Color); }
public void CorrectlySetRecentColor(List <Color> recentColorList, Color recentColor) { var target = Target; var model = target.Current; //Init recent color list foreach (var color in recentColorList) { model.Color = color; Wait.UntilResponsive(); target.Apply(); Wait.UntilResponsive(); } target.SelectedRecentColor = recentColor; ColorBoardAssert.Color(target, recentColor); }