PSR12
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/** DomFramework - Tests
|
||||
* @package domframework
|
||||
* @author Dominique Fournier <dominique@fournier38.fr>
|
||||
@@ -13,26 +14,26 @@ use Domframework\Outputjson;
|
||||
class OutputjsonTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/** Entry null */
|
||||
public function testoutputjson1 ()
|
||||
{
|
||||
$this->expectOutputString("\"\"");
|
||||
$output = new Outputjson ();
|
||||
$output->out ("");
|
||||
}
|
||||
public function testoutputjson1()
|
||||
{
|
||||
$this->expectOutputString("\"\"");
|
||||
$output = new Outputjson();
|
||||
$output->out("");
|
||||
}
|
||||
|
||||
/** Entry string */
|
||||
public function testoutputjson2 ()
|
||||
{
|
||||
$this->expectOutputString("\"string\"");
|
||||
$output = new Outputjson ();
|
||||
$output->out ("string");
|
||||
}
|
||||
public function testoutputjson2()
|
||||
{
|
||||
$this->expectOutputString("\"string\"");
|
||||
$output = new Outputjson();
|
||||
$output->out("string");
|
||||
}
|
||||
|
||||
/** Entry array */
|
||||
public function testoutputjson3 ()
|
||||
{
|
||||
$this->expectOutputString("[1,2,3]");
|
||||
$output = new Outputjson ();
|
||||
$output->out (array (1,2,3));
|
||||
}
|
||||
public function testoutputjson3()
|
||||
{
|
||||
$this->expectOutputString("[1,2,3]");
|
||||
$output = new Outputjson();
|
||||
$output->out(array (1,2,3));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user