Formatting output Plese Wait...
assertItem Class Reference
[Unit Testing]
Item Class that holds the Result of Each Test.
More...
Detailed Description
Item Class that holds the Result of Each Test.
Works as a node that holds each test case result. these nodes e.g. objects of assertItem Class are stored in the vector like datastructure in an instance of unitList Class.
For internal use only.
Definition at line 10 of file unit.php.
Member Function Documentation
assertItem::assertItem( boolean $exp, string $errMsg = null
, string $file = null
, int $line = null
)
Item Class Constructor.
- Parameters:
-
Definition at line 26 of file unit.php.
References $errMsg.
Show Source00026 {
00027 $this->expFlag = $exp;
00028 $this->errMsg = is_null($errMsg) ? "No Error Message Provided" : $errMsg;
00029 $this->fileName = $file;
00030 $this->lineNum = $line;
00031 $this->timeStamp = time();
00032 $this->dateTime = date("F j, Y, g:i a");
00033 }
Top
Field Documentation
The documentation for this class was generated from the following file: