/// <summary> /// Verifies the exists. /// </summary> private void VerifyExists() { if (!GlobalList.Exists(_databasePath, _caliberTest, out _errOut)) { bool value = GlobalList.Add(_databasePath, _caliberTest, out _errOut); } }
public void ExistsTest() { VerifyExists(); bool value = GlobalList.Exists(_databasePath, _caliberTest, out _errOut); General.HasTrueValue(value, _errOut); }
/// <summary> /// Verifies the doesnt exist. /// </summary> private void VerifyDoesntExist() { if (GlobalList.Exists(_databasePath, _caliberTest, out _errOut)) { long id = GlobalList.GetId(_databasePath, _caliberTest, out _errOut); bool value = GlobalList.Delete(_databasePath, id, out _errOut); } if (GlobalList.Exists(_databasePath, _caliberTestUpdate, out _errOut)) { long id = GlobalList.GetId(_databasePath, _caliberTestUpdate, out _errOut); bool value = GlobalList.Delete(_databasePath, id, out _errOut); } }