public void InsertPartTest() { DbPart target = new DbPart(); // TODO: Initialize to an appropriate value Part i_Part = null; // TODO: Initialize to an appropriate value target.InsertPart(i_Part); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void GetPartsTest() { DbPart target = new DbPart(); // TODO: Initialize to an appropriate value List <Part> expected = null; // TODO: Initialize to an appropriate value List <Part> actual; actual = target.GetParts(); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void SavePart(Part i_Part) { var dbPart = new DbPart(); int ret = dbPart.UpdatePart(i_Part); if (ret == 0) { dbPart.InsertPart(i_Part); } }
public void UpdatePartTest() { DbPart target = new DbPart(); // TODO: Initialize to an appropriate value Part i_Part = null; // TODO: Initialize to an appropriate value int expected = 0; // TODO: Initialize to an appropriate value int actual; actual = target.UpdatePart(i_Part); Assert.AreEqual(expected, actual); Assert.Inconclusive("Verify the correctness of this test method."); }
public void DbPartConstructorTest() { DbPart target = new DbPart(); Assert.Inconclusive("TODO: Implement code to verify target"); }
public List <Part> GetParts(string i_CadNumber) { var part = new DbPart(); return(part.GetPartsByCadNumber(i_CadNumber)); }
public List <Part> GetParts() { var part = new DbPart(); return(part.GetParts()); }