FIT
[ class tree: FIT ] [ index: FIT ] [ all elements ]

Class: Testing_FIT_Fixture_Column

Source Location: /Testing_FIT-0.2.2/Fixture/Column.php

Class Overview

Testing_FIT_Fixture
   |
   --Testing_FIT_Fixture_Column

FIT Fixture: ColumnFixture


Author(s):

Version:

  • 0.1.1

Variables

Methods


Child classes:

Math_Addition
FIT Examples
Math_ArithmeticColumnFixture
FIT Examples
Math_Trigonometry
FIT Examples
Math_Division
FIT Examples
Math_Calculator
FIT Examples

Inherited Variables

Inherited Methods

Class: Testing_FIT_Fixture

Testing_FIT_Fixture::__construct()
constructor
Testing_FIT_Fixture::camel()
CamelCaseString auxiliary function
Testing_FIT_Fixture::doCell()
process a single cell
Testing_FIT_Fixture::doCells()
process cells
Testing_FIT_Fixture::doRow()
iterate through cells
Testing_FIT_Fixture::doRows()
iterate through rows
Testing_FIT_Fixture::doTable()
iterate through table
Testing_FIT_Fixture::getType()
receive member variable's type specification
Testing_FIT_Fixture::loadFixture()
load a fixture by java-stylish name (dot-separated)
Testing_FIT_Fixture::_bind()
bind columns of table header to functions and properties
Testing_FIT_Fixture::_checkCell()
check a cell's actual against expected value

Class Details

[line 23]
FIT Fixture: ColumnFixture

A ColumnFixture maps columns in the test data to fields or methods of its subclasses. SimpleExample and CalculatorExample use column fixtures.

  • Version: 0.1.1


[ Top ]


Class Variables

$_hasExecuted =  false

[line 30]

Excecution state
  • Access: protected

Type:   bool


[ Top ]



Method Detail

doCells   [line 81]

void doCells( Testing_FIT_Node $node, object $cell)

process a single cell

Generic processing of a table cell. Well, this function just ignores cells.

This method may be overwritten by a subclass (ColumnFixture)

  • Access: public

Overrides Testing_FIT_Fixture::doCells() (process cells)

Parameters:

object   $cell   —  A parse object
Testing_FIT_Node   $node   — 

[ Top ]

doRow   [line 52]

void doRow( Testing_FIT_Node $node)

Process a table's row
  • Access: public

Overrides Testing_FIT_Fixture::doRow() (iterate through cells)

Parameters:

Parce   $node   —  rows

[ Top ]

doRows   [line 39]

boolean doRows( Testing_FIT_Node $node)

bind columsn to fixture and start row iterator

Overrides Testing_FIT_Fixture::doRows() (iterate through rows)

Parameters:

object   $node   — 

[ Top ]

execute   [line 125]

boolean execute( )

This will be called once per row

(before the first fixture method will be called)

  • Return: true on success
  • Access: public

[ Top ]

reset   [line 114]

boolean reset( )

This will be called once per row - first thing
  • Return: true on success
  • Access: public

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:09:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.