Beispiel #1
0
 public void FunctionTest()
 {
     ConsoleApplicationTestUnitaire.DBO.Person target = new ConsoleApplicationTestUnitaire.DBO.Person(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     target.Function = "etudiant";
     actual = target.Function;
     Assert.AreEqual("etudiant", actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Beispiel #2
0
 public void AddressTest()
 {
     ConsoleApplicationTestUnitaire.DBO.Person target = new ConsoleApplicationTestUnitaire.DBO.Person(); // TODO: Initialize to an appropriate value
     string expected = string.Empty; // TODO: Initialize to an appropriate value
     string actual;
     target.Address = "kremlin bicetre";
     actual = target.Address;
     Assert.AreEqual("kremlin bicetre", actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Beispiel #3
0
 public void GetPersonTest()
 {
     int id = 0; // TODO: Initialize to an appropriate value
     ConsoleApplicationTestUnitaire.DBO.Person expected = new ConsoleApplicationTestUnitaire.DBO.Person (); // TODO: Initialize to an appropriate value
     ConsoleApplicationTestUnitaire.DBO.Person actual;
     actual = ConsoleApplicationTestUnitaire.DataAccess.Person.GetPerson(id);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Beispiel #4
0
 public void SavePersonTest1()
 {
     ConsoleApplicationTestUnitaire.DBO.Person person = new ConsoleApplicationTestUnitaire.DBO.Person (); // TODO: Initialize to an appropriate value
     bool expected = false; // TODO: Initialize to an appropriate value
     bool actual;
     actual = ConsoleApplicationTestUnitaire.BusinessManagement.Person.SavePerson(person);
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
Beispiel #5
0
 public void PersonConstructorTest2()
 {
     ConsoleApplicationTestUnitaire.DBO.Person target = new ConsoleApplicationTestUnitaire.DBO.Person();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }