Meyn.TestLink.TestLink.GetTestCasesForTestPlan C# (CSharp) Method

GetTestCasesForTestPlan() public method

get all test cases for a test plan
public GetTestCasesForTestPlan ( int testplanid ) : List
testplanid int
return List
        public List<TestCaseFromTestPlan> GetTestCasesForTestPlan(int testplanid)
        {
            stateIsValid();
            object response = proxy.getTestCasesForTestPlan(devkey, testplanid);

            if ((response is string) && ((string)response == string.Empty))
                // equals null return
                return new List<TestCaseFromTestPlan>();

            handleErrorMessage(response);
            XmlRpcStruct list = response as XmlRpcStruct;
            return TestCaseFromTestPlan.GenerateFromResponse(list);
        }
        #endregion

Same methods

TestLink::GetTestCasesForTestPlan ( int testplanid, int testcaseid ) : List
TestLink::GetTestCasesForTestPlan ( int testplanid, int testcaseid, int buildid ) : List
TestLink::GetTestCasesForTestPlan ( int testplanid, int testcaseid, int buildid, int keywordid ) : List
TestLink::GetTestCasesForTestPlan ( int testplanid, int testcaseid, int buildid, int keywordid, bool executed ) : List
TestLink::GetTestCasesForTestPlan ( int testplanid, int testcaseid, int buildid, int keywordid, bool executed, int assignedTo ) : List
TestLink::GetTestCasesForTestPlan ( int testplanid, int testcaseid, int buildid, int keywordid, bool executed, int assignedTo, string executedstatus ) : List