public void String_Empty_FaultException() { string zork = ""; WrapErr.ToErrReport(out ErrReport err, 1111, "Validate arg", () => { WrapErr.ChkStr(1111, 2222, "zork", zork); }); this.Validate(err, 2222, "String_Empty_FaultException", "String 'zork' is Empty"); }
public void String_Null_FaultException() { string?zork = null; WrapErr.ToErrReport(out ErrReport err, 1111, "Validate arg", () => { WrapErr.ChkStr(1111, 2222, "zork", zork); }); this.Validate(err, 1111, "String_Null_FaultException", "String 'zork' is Null"); }
public void String_Null() { string zork = null; ErrReport err; WrapErr.ToErrReport(out err, 1111, "Validate arg", () => { WrapErr.ChkStr(1111, 2222, "zork", zork); }); this.Validate(err, 1111, "String_Null", "String 'zork' is Null"); }
public void ExceptionType_Regular_String_Empty() { CheckExceptionType(() => { WrapErr.ChkStr(1111, 2222, "stringName", ""); }); }
public void ExceptionType_Regular_String_Null() { CheckExceptionType(() => { WrapErr.ChkStr(1111, 2222, "stringName", null); }); }