public void Test2()
 {
     Console.WriteLine("[] Trying to add new task with the given user ...");
     ConfigurationStorageImp storage = new ConfigurationStorageImp();
     String taskid = storage.createWorkResources("dd9eb297-9881-4a31-a1b5-d77ccdc0aefa","Task8");
     Console.WriteLine("The new ID of the new task is : ");
     Console.WriteLine(taskid);
     Console.WriteLine(" - PASSED -");
 }
        public void Test2()
        {
            Console.WriteLine("[] Trying to add new task with the given user ...");
            ConfigurationStorageImp storage = new ConfigurationStorageImp();
            String taskid = storage.createWorkResources("dd9eb297-9881-4a31-a1b5-d77ccdc0aefa", "Task8");

            Console.WriteLine("The new ID of the new task is : ");
            Console.WriteLine(taskid);
            Console.WriteLine(" - PASSED -");
        }
示例#3
0
 /**
  * creates work resources for the specified user and returns it's identity
  */
 public String createWorkResources(String userID, String taskName)
 {
     return(_configurationStorageImp.createWorkResources(userID, taskName));
 }