Class PHPFIT_Fixture_Action

Description

FIT Fixture: ActionFixture

An action fixture interprets rows as a sequence of commands to be performed in order. It interprets tables for which the first column contains one of a small number of commands. Subsequent columns contain values interpreted by the particular command. The generic action fixture offers only four commands, but subclasses may extend this set.

  • version: 0.1.0

Located in /Fixture/Action.php (line 33)

PHPFIT_Fixture
   |
   --PHPFIT_Fixture_Action
Variable Summary
 Fixture $actor
 Parse $cells
 int $typeDict
Method Summary
 void check ()
 void doCells (object $cells)
 void enter ()
 void press ()
 void start ()
Variables
Fixture $actor = null (line 52)

actor that has been startet

Parse $cells (line 45)
  • access: protected
int $typeDict = array() (line 40)

dictionary of variable types

Inherited Variables

Inherited from PHPFIT_Fixture

PHPFIT_Fixture::$backgroundColor
PHPFIT_Fixture::$counts
PHPFIT_Fixture::$summary
Methods
check (line 103)

Implements check fixture

Check aMethod aValue - Invoke aMethod with no arguments. Compare the returned value with aValue. This is similar to reading values from a GUI screen.

  • access: public
void check ()
doCells (line 125)

process cells

In case of ActionFixture each row has to be interpreted as a command Processing cells means to execute one command.

An action fixture interprets tables for which the first column contains one of a small number of commands. Subsequent columns contain values interpreted by the particular command. The generic action fixture offers only four commands, but subclasses may extend this set.

  • access: public
void doCells (object $cells)
  • object $cells: A parse object

Redefinition of:
PHPFIT_Fixture::doCells()
process cells
enter (line 75)

Implements enter fixture

Enter aMethod anArgument - Invoke aMethod with anArgument (of type determined by aMethod.) This is similar to entering values into GUI fields.

  • access: public
void enter ()
press (line 89)

Implements press fixture

Press aMethod - Invoke aMethod with no arguments. This is similar to pressing a GUI button.

  • access: public
void press ()
start (line 62)

Implements start fixture

Start aClass - Subsequent commands are directed to an instance of aClass. This is similar to navigating to a particular GUI screen.

  • access: public
void start ()

Inherited Methods

Inherited From PHPFIT_Fixture

 PHPFIT_Fixture::__construct()
 PHPFIT_Fixture::camel()
 PHPFIT_Fixture::checkCell()
 PHPFIT_Fixture::doCell()
 PHPFIT_Fixture::doCells()
 PHPFIT_Fixture::doRow()
 PHPFIT_Fixture::doRows()
 PHPFIT_Fixture::doTable()
 PHPFIT_Fixture::doTables()
 PHPFIT_Fixture::error()
 PHPFIT_Fixture::escape()
 PHPFIT_Fixture::exception()
 PHPFIT_Fixture::fixBoolToString()
 PHPFIT_Fixture::fixtureName()
 PHPFIT_Fixture::getLinkedFixtureWithArgs()
 PHPFIT_Fixture::getType()
 PHPFIT_Fixture::ignore()
 PHPFIT_Fixture::info()
 PHPFIT_Fixture::infoS()
 PHPFIT_Fixture::label()
 PHPFIT_Fixture::loadFixture()
 PHPFIT_Fixture::parse()
 PHPFIT_Fixture::right()
 PHPFIT_Fixture::wrong()

Documentation generated on Sun, 02 Apr 2006 23:20:49 +0000 by phpDocumentor 1.3.0RC5