public List<TestSuite> GetTestSuitesForTestSuite(int testsuiteid)
{
List<TestSuite> Result = new List<TestSuite>();
stateIsValid();
object o = proxy.getTestSuitesForTestSuite(devkey, testsuiteid);
// Testlink returns an empty string if a test suite has no child test suites
if (o is string)
return Result;
// just in case this gets fixed, then this should work.
if (handleErrorMessage(o, 7008))
return Result;
// empty list
XmlRpcStruct response = o as XmlRpcStruct;
foreach (XmlRpcStruct data in response.Values) {
Result.Add(new TestSuite(data));
}
return Result;
}
/// <summary>