Meyn.TestLink.TestLink.GetLatestBuildForTestPlan C# (CSharp) Метод

GetLatestBuildForTestPlan() публичный Метод

get the newest build for a test plan
public GetLatestBuildForTestPlan ( int tplanid ) : Build
tplanid int id of testplan
Результат Build
        public Build GetLatestBuildForTestPlan(int tplanid)
        {
            stateIsValid();
            object response = proxy.getLatestBuildForTestPlan(devkey, tplanid);

            object[] objectList = response as object[];
            XmlRpcStruct data = response as XmlRpcStruct;
            if (handleErrorMessage(objectList, 3031))
                return null;
            // no build existing    
            if (data != null)
                return new Build(data);

            return null;
        }
        #endregion