Add all the phpdocs to the domframework
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1246 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
// Autoload
|
||||
/** Autoload */
|
||||
spl_autoload_register(function ($class) {
|
||||
@include $class . '.php';
|
||||
});
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
<?php
|
||||
/** DomFramework - Tests
|
||||
@package domframework
|
||||
@author Dominique Fournier <dominique@fournier38.fr> */
|
||||
|
||||
/** Test the outputjson.php file */
|
||||
class test_outputjson extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/** Entry null */
|
||||
public function testoutputjson1 ()
|
||||
{
|
||||
$this->expectOutputString("\"\"");
|
||||
@@ -8,6 +14,7 @@ class test_outputjson extends PHPUnit_Framework_TestCase
|
||||
$output->out ("");
|
||||
}
|
||||
|
||||
/** Entry string */
|
||||
public function testoutputjson2 ()
|
||||
{
|
||||
$this->expectOutputString("\"string\"");
|
||||
@@ -15,6 +22,7 @@ class test_outputjson extends PHPUnit_Framework_TestCase
|
||||
$output->out ("string");
|
||||
}
|
||||
|
||||
/** Entry array */
|
||||
public function testoutputjson3 ()
|
||||
{
|
||||
$this->expectOutputString("[1,2,3]");
|
||||
|
||||
Reference in New Issue
Block a user