add some phpdoc

This commit is contained in:
Manuel Raynaud
2013-09-01 11:32:05 +02:00
parent 6d5d0f6606
commit ef8e98d415
31 changed files with 178 additions and 2 deletions

View File

@@ -34,6 +34,7 @@ use Thelia\Model\Customer;
*
* Class CartTraitTest
* @package Thelia\Tests\Cart\CartTraitTest
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
class CartTraitTest extends \PHPUnit_Framework_TestCase
{

View File

@@ -22,6 +22,13 @@
/*************************************************************************************/
namespace Thelia\Tests\Command;
/**
* base class for testing command line command
*
* Class BaseCommandTest
* @package Thelia\Tests\Command
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
abstract class BaseCommandTest extends \PHPUnit_Framework_TestCase
{
public function getKernel()

View File

@@ -28,6 +28,13 @@ use Thelia\Command\CacheClear;
use Symfony\Component\Filesystem\Filesystem;
/**
* test the cache:clear command
*
* Class CacheClearTest
* @package Thelia\Tests\Command
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
class CacheClearTest extends \PHPUnit_Framework_TestCase
{

View File

@@ -27,6 +27,13 @@ use Symfony\Component\Filesystem\Filesystem;
use Thelia\Core\Application;
use Thelia\Command\ModuleGenerateCommand;
/**
* test the module:generate command
*
* Class ModuleGenerateCommandTest
* @package Thelia\Tests\Command
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
class ModuleGenerateCommandTest extends BaseCommandTest
{
protected $command;

View File

@@ -26,6 +26,11 @@ namespace Thelia\Tests\Controller;
use Symfony\Component\HttpFoundation\Request;
use Thelia\Controller\Front\DefaultController;
/**
* Class DefaultControllerTest
* @package Thelia\Tests\Controller
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
class DefaultControllerTest extends \PHPUnit_Framework_TestCase
{

View File

@@ -4,6 +4,13 @@ namespace Thelia\Tests\Core\HttpFoundation;
use Thelia\Core\HttpFoundation\Request;
/**
* the the helpers addinf in Request class
*
* Class RequestTest
* @package Thelia\Tests\Core\HttpFoundation
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
class RequestTest extends \PHPUnit_Framework_TestCase
{

View File

@@ -28,6 +28,13 @@ use Thelia\Core\HttpFoundation\Session\Session;
use Thelia\Model\Cart;
use Thelia\Model\Customer;
/**
* Test the helpers adding in Session class
*
* Class SessionTest
* @package Thelia\Tests\Core\HttpFoundation\Session
* @author Manuel Raynaud <mraynaud@openstudio.fr>
*/
class SessionTest extends \PHPUnit_Framework_TestCase
{