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

Class: Math_ArithmeticColumnFixture

Source Location: /Testing_FIT-0.2.0/example/fixture/Math/ArithmeticColumnFixture.php

Class Overview

Testing_FIT_Fixture
   |
   --Testing_FIT_Fixture_Column
      |
      --Math_ArithmeticColumnFixture

FIT Fixture: ColumnFixture


Author(s):

Version:

  • 0.1.1

Variables

Methods


Inherited Variables

Inherited Methods

Class: Testing_FIT_Fixture_Column

Testing_FIT_Fixture_Column::doCells()
process a single cell
Testing_FIT_Fixture_Column::doRow()
Process a table's row
Testing_FIT_Fixture_Column::doRows()
bind columsn to fixture and start row iterator
Testing_FIT_Fixture_Column::execute()
This will be called once per row
Testing_FIT_Fixture_Column::reset()
This will be called once per row - first thing

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 10]
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

$x =  0

[line 22]

  • Access: public

Type:   mixed


[ Top ]

$y =  0

[line 23]

  • Access: public

Type:   mixed


[ Top ]

$_typeDictionary = array(
        'x' => 'integer',
        'y' => 'integer',
        'plus()' => 'integer',
        'minus()' => 'integer',
        'times()' => 'integer',
        'divide()' => 'integer',
        'floating()' => 'double'
    )

[line 12]

  • Access: protected

Type:   mixed
Overrides:   Array


[ Top ]



Method Detail

divide   [line 37]

void divide( )

  • Access: public

[ Top ]

floating   [line 43]

void floating( )

  • Access: public

[ Top ]

minus   [line 29]

void minus( )

  • Access: public

[ Top ]

plus   [line 25]

void plus( )

  • Access: public

[ Top ]

times   [line 33]

void times( )

  • Access: public

[ Top ]


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