/// <summary> /// Verifies the doesnt exist. /// </summary> private void VerifyDoesntExist() { if (CustomReports.Exists(_databasePath, _crReportName, out _errOut)) { long id = CustomReports.GetId(_databasePath, _crReportName, out _errOut); CustomReports.Delete(_databasePath, id, out _errOut); } }
public void DeleteTest() { VerifyExists(); long id = CustomReports.GetId(_databasePath, _crReportName, out _errOut); bool value = CustomReports.Delete(_databasePath, id, out _errOut); General.HasTrueValue(value, _errOut); }