GetProjectList() 공개 메소드

Returns a Sorted list of project names and identifiers
public GetProjectList ( ) : string>.SortedList
리턴 string>.SortedList
 public void GetProjectListIntegrationTest()
 {
     var hostUrl = Environment.GetEnvironmentVariable("MINGLETARGET"); 
     const string loginName = "mingleuser"; 
     const string password = "******"; 
     var target = new MingleServer(hostUrl, loginName, password); 
     const int expected = 2;
     var actual = target.GetProjectList();
     Assert.AreEqual(expected, actual.Count);
 }
 public void GetProjectList()
 {
     const string host = @"http://localhost:8080";
     const string user = "******";
     const string pw = "secret";
     var mingle = new MingleServer(host, user, pw);
     var depart = DateTime.Now;
     var list = mingle.GetProjectList();
     var duration = (DateTime.Now - depart).TotalSeconds;
     Console.WriteLine(string.Format("Time spent in GetProjectList: {0} seconds.", duration));
     Assert.AreEqual(2,list.Count);
 }