public List<TestSuite> GetTestSuitesForTestPlan(int testplanid)
{
List<TestSuite> result = new List<TestSuite>();
// empty string means none, otherwise it is name, id combo
stateIsValid();
object o = proxy.getTestSuitesForTestPlan(devkey, testplanid);
handleErrorMessage(o);
if (o is string)
return result;
object[] oList = o as object[];
if (oList != null) {
foreach (XmlRpcStruct data in oList)
result.Add(new TestSuite(data));
}
return result;
}