Пример #1
0
 public void run_defaultTest()
 {
     string file_path = string.Empty; // TODO: Initialize to an appropriate value
     Project target = new Project(file_path); // TODO: Initialize to an appropriate value
     string core_path = string.Empty; // TODO: Initialize to an appropriate value
     string layout_path = string.Empty; // TODO: Initialize to an appropriate value
     string environment_path = string.Empty; // TODO: Initialize to an appropriate value
     int module = 0; // TODO: Initialize to an appropriate value
     target.run_default(core_path, layout_path, environment_path, module);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Пример #2
0
 public void save_to_fileTest()
 {
     string file_path = string.Empty; // TODO: Initialize to an appropriate value
     Project target = new Project(file_path); // TODO: Initialize to an appropriate value
     string file_path1 = string.Empty; // TODO: Initialize to an appropriate value
     target.save_to_file(file_path1);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
Пример #3
0
 public void Put(int id, Project project)
 {
     _projectTable.AddOrUpdate(project);
     _db.SaveChanges();
 }
Пример #4
0
 public void ProjectConstructorTest()
 {
     string file_path = string.Empty; // TODO: Initialize to an appropriate value
     Project target = new Project(file_path);
     Assert.Inconclusive("TODO: Implement code to verify target");
 }
Пример #5
0
 public Project Post(Project newProject)
 {
     _projectTable.AddOrUpdate(newProject);
     _db.SaveChanges();
     return newProject;
 }