Fix documentation

This commit is contained in:
bzick
2013-05-30 20:00:52 +04:00
parent 32ccaa91f0
commit dbae3bf1e4
4 changed files with 18 additions and 5 deletions

View File

@@ -25,12 +25,17 @@ class TestCase extends \PHPUnit_Framework_TestCase {
}
$this->cytro = Cytro::factory(CYTRO_RESOURCES.'/template', CYTRO_RESOURCES.'/compile');
$this->cytro->addModifier('dots', __CLASS__.'::dots');
$this->cytro->addModifier('dots', __CLASS__.'::concat');
}
public static function dots($value) {
return $value."...";
}
public static function concat() {
return call_user_func_array('var_export', func_get_args());
}
public static function setUpBeforeClass() {
if(!file_exists(CYTRO_RESOURCES.'/template')) {
mkdir(CYTRO_RESOURCES.'/template', 0777, true);
@@ -101,6 +106,7 @@ class TestCase extends \PHPUnit_Framework_TestCase {
public static function providerNumbers() {
return array(
array('0', 0),
array('77', 77),
array('-33', -33),
array('0.2', 0.2),