public List<TestTrackItem> GetMostRecentItems()
 {
     var testTrackTableColumns = new CTableColumn[14];
     testTrackTableColumns[0] = new CTableColumn();
     testTrackTableColumns[0].name = "Record ID";
     testTrackTableColumns[1] = new CTableColumn();
     testTrackTableColumns[1].name = "Number";
     testTrackTableColumns[2] = new CTableColumn();
     testTrackTableColumns[2].name = "Dev Priority";
     testTrackTableColumns[3] = new CTableColumn();
     testTrackTableColumns[3].name = "Status";
     testTrackTableColumns[4] = new CTableColumn();
     testTrackTableColumns[4].name = "Currently Assigned To";
     testTrackTableColumns[5] = new CTableColumn();
     testTrackTableColumns[5].name = "Origin";
     testTrackTableColumns[6] = new CTableColumn();
     testTrackTableColumns[6].name = "Dev Team";
     testTrackTableColumns[7] = new CTableColumn();
     testTrackTableColumns[7].name = "Date Found";
     testTrackTableColumns[8] = new CTableColumn();
     testTrackTableColumns[8].name = "Date Modified";
     testTrackTableColumns[9] = new CTableColumn();
     testTrackTableColumns[9].name = "Assign Date";
     testTrackTableColumns[10] = new CTableColumn();
     testTrackTableColumns[10].name = "Summary";
     testTrackTableColumns[11] = new CTableColumn();
     testTrackTableColumns[11].name = "Type";
     testTrackTableColumns[12] = new CTableColumn();
     testTrackTableColumns[12].name = "Release blocker";
     testTrackTableColumns[13] = new CTableColumn();
     testTrackTableColumns[13].name = "Product and Segment";
     return
         SoapToTestTrack.RecordSoapTableToItemsList(
             this.ttSOAP.getRecordListForTable(this.ttCookie, "Defect", "05 Reported in the last 15 days", testTrackTableColumns));
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="TestTrackItem"/> class.
        /// </summary>
        public TestTrackItem()
        {
            TestTrackTableColumns[0] = new CTableColumn { name = "Record ID" };
            TestTrackTableColumns[1] = new CTableColumn { name = "Number" };
            TestTrackTableColumns[2] = new CTableColumn { name = "Dev Priority" };
            TestTrackTableColumns[3] = new CTableColumn { name = "Status" };
            TestTrackTableColumns[4] = new CTableColumn { name = "Currently Assigned To" };
            TestTrackTableColumns[5] = new CTableColumn { name = "Origin" };
            TestTrackTableColumns[6] = new CTableColumn { name = "Dev Team" };
            TestTrackTableColumns[7] = new CTableColumn { name = "Date Found" };
            TestTrackTableColumns[8] = new CTableColumn { name = "Date Modified" };
            TestTrackTableColumns[9] = new CTableColumn { name = "Assign Date" };
            TestTrackTableColumns[10] = new CTableColumn { name = "Summary" };
            TestTrackTableColumns[11] = new CTableColumn { name = "Type" };
            TestTrackTableColumns[12] = new CTableColumn { name = "Release blocker" };
            TestTrackTableColumns[13] = new CTableColumn { name = "Product and Segment" };

            this.Number = -1;
            this.Summary = "test;";
            this.Priority = Priorities.IMMEDIATE;
        }
예제 #3
0
 /// <remarks/>
 public void getRecordListForTableAsync(long cookie, string tablename, string filtername, CTableColumn[] columnlist) {
     this.getRecordListForTableAsync(cookie, tablename, filtername, columnlist, null);
 }
예제 #4
0
 /// <remarks/>
 public void getRecordListForTableAsync(long cookie, string tablename, string filtername, CTableColumn[] columnlist, object userState) {
     if ((this.getRecordListForTableOperationCompleted == null)) {
         this.getRecordListForTableOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetRecordListForTableOperationCompleted);
     }
     this.InvokeAsync("getRecordListForTable", new object[] {
                 cookie,
                 tablename,
                 filtername,
                 columnlist}, this.getRecordListForTableOperationCompleted, userState);
 }
예제 #5
0
 public CRecordListSoap getRecordListForTable(long cookie, string tablename, string filtername, CTableColumn[] columnlist) {
     object[] results = this.Invoke("getRecordListForTable", new object[] {
                 cookie,
                 tablename,
                 filtername,
                 columnlist});
     return ((CRecordListSoap)(results[0]));
 }