Task #1044 - Implementation de PHPUNIT
Passage par reference de la connexion
This commit is contained in:
parent
edccfbe228
commit
6cb6febe33
24 changed files with 5031 additions and 0 deletions
28
unit-test/include/class_stock_sqlTest.php
Normal file
28
unit-test/include/class_stock_sqlTest.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
/**
|
||||
* Generated by PHPUnit_SkeletonGenerator on 2014-11-08 at 14:28:11.
|
||||
*/
|
||||
class Stock_SqlTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @var Stock_Sql
|
||||
*/
|
||||
protected $object;
|
||||
|
||||
/**
|
||||
* Sets up the fixture, for example, opens a network connection.
|
||||
* This method is called before a test is executed.
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new Stock_Sql;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tears down the fixture, for example, closes a network connection.
|
||||
* This method is called after a test is executed.
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue