示例#1
0
 private void ExamineTableStructure(Parse theHeaderCells)
 {
     expectedCount = 0;
     IHaveNoteColumns = false;
     try {
         myParameterCount = CountParameterCells(theHeaderCells);
         methodSuffixCells = new CellRange(theHeaderCells, myParameterCount);
         headerCells = theHeaderCells.At(myParameterCount + 1);
         foreach (Parse headerCell in new CellRange(theHeaderCells.At(myParameterCount + 1)).Cells) {
             if (headerCell.Text.Length == 0) {
                 IHaveNoteColumns = true;
                 break;
             }
             expectedCount++;
         }
     }
     catch (Exception e) {
         TestStatus.MarkException(theHeaderCells, e);
     }
 }
示例#2
0
        bool IsMatch(Parse row, int col)
        {
            TypedValue actual = CellOperation.Invoke(this, headerCells.At(col));

            return(CellOperation.Compare(actual, GetCellForColumn(row, col)));
        }
示例#3
0
        bool IsMatch(Parse row, int col)
        {
            TypedValue actual = Processor.ExecuteWithThrow(this, headerCells.At(col));

            return(Processor.Compare(actual, GetCellForColumn(row, col)));
        }