Add all the namespaces in Tests

This commit is contained in:
2021-05-07 10:12:16 +02:00
parent 47f171367a
commit b1e513126e
45 changed files with 237 additions and 36 deletions

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the authentication */
class authTest extends PHPUnit_Framework_TestCase

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the authhtpasswd.php file */
class authhtpasswdTest extends PHPUnit_Framework_TestCase

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the authjwt.php file */
class authjwtTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the authentication on Sympa Service */
class authsympaTest extends PHPUnit_Framework_TestCase

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the authzgroups.php file */
class authzgroupsTest extends PHPUnit_Framework_TestCase

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the authzgroupsoo.php file */
class authzgroupsooTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the cache.php file */
class cachefileTest extends PHPUnit_Framework_TestCase

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the certification Authority
*/

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the config.php file */
class configTest extends PHPUnit_Framework_TestCase

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
$conf = array (
"database"=> array (
"dsn" => "sqlite:/tmp/database.db",

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the Conversion of format */
class convertTest extends PHPUnit_Framework_TestCase

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the csrf.php file */
class csrfTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the dbjson database */
class dbjsonTest extends PHPUnit_Framework_TestCase

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
class dblayerTest{ENGINE} extends PHPUnit_Framework_TestCase
{

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
class dblayerauthzgroupsTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
class dblayerooTest{ENGINE} extends PHPUnit_Framework_TestCase
{

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the GetOpts */
class getoptsTest extends PHPUnit_Framework_TestCase

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the http.php file */
class httpTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the outputjson.php file */
class inifileTest extends PHPUnit_Framework_TestCase

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the ipaddresses.php file */
class ipaddressesTest extends PHPUnit_Framework_TestCase

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the jwt.php file */
class jwtTest extends PHPUnit_Framework_TestCase
{

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the macaddresses.php file */
class macaddressesTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the mail.php file */
class mailTest extends PHPUnit_Framework_TestCase

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the outputjson.php file */
class markdownTest extends PHPUnit_Framework_TestCase

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the outputdl.php file */
class outputdlTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the outputhtml.php file */
class outputhtmlTest extends PHPUnit_Framework_TestCase

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the outputjson.php file */
class outputjsonTest extends PHPUnit_Framework_TestCase

View File

@@ -1,4 +1,12 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the password class
*/
class passwordTest extends PHPUnit_Framework_TestCase

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the queue.php file */
class queueTest extends PHPUnit_Framework_TestCase
{

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the queuefile.php file */
class queuefileTest extends PHPUnit_Framework_TestCase
{

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the ratelimit.php file */
class ratelimitTest extends PHPUnit_Framework_TestCase
{

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the ratelimitfile.php file */
class ratelimitfileTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,9 +1,12 @@
<?php
/** DomFramework
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the domframework REST part */
class restTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,5 +1,13 @@
<?php
/** Test the mrobotstxt.txt file
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the robotstxt file
*/
class robotstxtTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the route.php file */
class routeTest extends PHPUnit_Framework_TestCase

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the RSS */
class rssTest extends PHPUnit_Framework_TestCase

View File

@@ -1,4 +1,12 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the sitemap.php file
*/
class sitemapTest extends PHPUnit_Framework_TestCase

View File

@@ -1,9 +1,12 @@
<?php
/** DomFramework
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the spfcheck tools
*/
class spfcheckTest extends PHPUnit_Framework_TestCase

View File

@@ -1,9 +1,12 @@
<?php
/** DomFramework
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the domframework Server-Sent Events part */
class sseTest extends PHPUnit_Framework_TestCase
{

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the TCP client */
class tcpclientTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,7 +1,11 @@
<?php
/** DomFramework - Tests
@package domframework
@author Dominique Fournier <dominique@fournier38.fr> */
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the userssql.php file */
class userssqlTest extends PHPUnit_Framework_TestCase

View File

@@ -2,8 +2,11 @@
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the uuid.php file */
class uuidTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,4 +1,11 @@
<?php
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the Verify */
class verifyTest extends PHPUnit_Framework_TestCase

View File

@@ -1,9 +1,12 @@
<?php
/** DomFramework
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the domframework xdiff part */
class xdiffTest extends PHPUnit_Framework_TestCase
{

View File

@@ -1,9 +1,12 @@
<?php
/** DomFramework
/** DomFramework - Tests
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework\Tests;
/** Test the domframework xmppclient part */
class xmppclientTest extends PHPUnit_Framework_TestCase
{