Table of Contents

Class: AbstractProcessor ./src/peak/ddt/processors.py

Processor that just iterates over table contents, doing nothing

This is just a skeleton for you to subclass and override.

Base Classes   
binding.Component
Methods   
processCell
processCells
processRow
processRows
processTable
  processCell 
processCell (
        self,
        cell,
        cells,
        )

Abstract method: default does nothing

  processCells 
processCells ( self,  cells )

Calls self.processCell(cell,cells) for cell in cells

  processRow 
processRow (
        self,
        row,
        rows,
        )

Calls self.processCells(iter(row.cells))

  processRows 
processRows ( self,  rows )

Process rows (an iterator of remaining rows)

The default implementation calls self.processRow(row,rows) for each row in rows, so processRow can consume multiple rows by using rows.next().

  processTable 
processTable (
        self,
        thisTable,
        remainingTables,
        )

Process thisTable, and optionally consume some remainingTables

The default implementation calls self.processRows() after skipping the first row (which ordinarily just names the test processor).

If you intend to override this method, see the docs for ITableProcessor.processTable() for details on what it can/can't do.


Table of Contents

This document was automatically generated on Mon May 13 01:11:05 2024 by HappyDoc version 2.1