Fat-Free Framework: Test Class Reference

Fat-Free-Framework

Fat-Free Framework  3.1.0 API Reference

Unit test kit. More...

Public Member Functions

 results ()
 
 expect ($cond, $text=NULL)
 
 message ($text)
 
 __construct ($level=self::FLAG_Both)
 

Public Attributes

const FLAG_False =0
 
const FLAG_True =1
 
const FLAG_Both =2
 

Detailed Description

Unit test kit.

Constructor & Destructor Documentation

Test::__construct (   $level = self::FLAG_Both)

Class constructor

Returns
NULL
Parameters
$levelint

Member Function Documentation

Test::expect (   $cond,
  $text = NULL 
)

Evaluate condition and save test result

Returns
NULL
Parameters
$condbool
$textstring
Test::message (   $text)

Append message to test results

Returns
NULL
Parameters
$textstring
Test::results ( )

Return test results

Returns
array

The documentation for this class was generated from the following file:
  • test.php
Generated on Mon Aug 19 2013 21:27:52 for Fat-Free Framework by   doxygen 1.8.4