Exemple #1
0
 public void addProjectTest()
 {
     VM_Welcome_Accessor welcome = new VM_Welcome_Accessor();
     welcome.projects.Clear();
     // something goes wrong when running all tests at once if you
     // don't clear the list, not sure where the problem is
     int projectCount = welcome.projects.Count;
     welcome.newPrjCreate_Click(this, null);
     // create new project manually
     Assert.AreEqual(projectCount + 1, welcome.projects.Count);
 }