X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FHelloTest.php;h=6a75d3c4c18696a025fb6949d68bc7377c915816;hb=2177d15cba5177afd2ad4a5d475b5c72de981331;hp=970722131e400084195fd792c79595c07eda0c61;hpb=a922142c067998cb0ffb4cbc95a71aa370ffdc88;p=civicrm-core.git diff --git a/tests/phpunit/HelloTest.php b/tests/phpunit/HelloTest.php index 970722131e..6a75d3c4c1 100644 --- a/tests/phpunit/HelloTest.php +++ b/tests/phpunit/HelloTest.php @@ -23,7 +23,7 @@ | GNU Affero General Public License or the licensing of CiviCRM, | | see the CiviCRM license FAQ at http://civicrm.org/licensing | +--------------------------------------------------------------------+ -*/ + */ /** * @file HelloTest.php @@ -47,24 +47,28 @@ class HelloTest extends PHPUnit_Framework_TestCase { var $abc; /** - * @param null $name + * @param string|null $name */ public function __construct($name = NULL) { parent::__construct($name); } - // called before the test functions will be executed - // this function is defined in PHPUnit_TestCase and overwritten - // here + /** + * Called before the test functions will be executed + * this function is defined in PHPUnit_TestCase and overwritten + * here + */ public function setUp() { // create a new instance of String with the // string 'abc' $this->abc = "hello"; } - // called after the test functions are executed - // this function is defined in PHPUnit_TestCase and overwritten - // here + /** + * Called after the test functions are executed + * this function is defined in PHPUnit_TestCase and overwritten + * here. + */ public function tearDown() { // delete your instance unset($this->abc); @@ -78,4 +82,5 @@ class HelloTest extends PHPUnit_Framework_TestCase { $expected = 'hello'; $this->assertEquals($result, $expected); } + }