Class ActionFixture

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 /fit/ActionFixture.php (line 38)

Fixture
   |
   --ActionFixture
Direct descendents
Class Description
 class Simulator FIT Fixture
Variable Summary
Method Summary
 void check ()
 void doCells (object $cells)
 void enter ()
 void press ()
 void start ()
Variables
Fixture $actor = null (line 57)

actor that has been startet

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

dictionary of variable types


Redefined in descendants as:

Inherited Variables

Inherited from Fixture

Fixture::$counts
Fixture::$gray
Fixture::$green
Fixture::$red
Fixture::$summary
Fixture::$yellow
Methods
check (line 108)

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 ()

Redefinition of:
Fixture::check()
doCells (line 130)

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:
Fixture::doCells()
process cells
enter (line 80)

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 94)

Implements press fixture

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

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

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 Fixture

 Fixture::__construct()
 Fixture::camel()
 Fixture::check()
 Fixture::doCell()
 Fixture::doCells()
 Fixture::doRow()
 Fixture::doRows()
 Fixture::doTable()
 Fixture::doTables()
 Fixture::error()
 Fixture::escape()
 Fixture::exception()
 Fixture::fixBoolToString()
 Fixture::fixtureName()
 Fixture::getLinkedFixtureWithArgs()
 Fixture::getType()
 Fixture::ignore()
 Fixture::info()
 Fixture::infoS()
 Fixture::interpretFollowingTables()
 Fixture::interpretTables()
 Fixture::label()
 Fixture::loadFixture()
 Fixture::parse()
 Fixture::right()
 Fixture::wrong()
Class Constants

Inherited Constants

Inherited from Fixture

Documentation generated on Sun, 02 Apr 2006 16:01:02 +0200 by phpDocumentor 1.3.0RC5