add Thelia conf into Kernel process

This commit is contained in:
Manuel Raynaud
2013-03-28 18:04:45 +01:00
parent 879a2e09a8
commit e7ddd995f5
9 changed files with 247 additions and 57 deletions

View File

@@ -0,0 +1,46 @@
<?php
/*************************************************************************************/
/* */
/* Thelia */
/* */
/* Copyright (c) OpenStudio */
/* email : info@thelia.net */
/* web : http://www.thelia.net */
/* */
/* This program is free software; you can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 3 of the License */
/* */
/* This program is distributed in the hope that it will be useful, */
/* but WITHOUT ANY WARRANTY; without even the implied warranty of */
/* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
/* GNU General Public License for more details. */
/* */
/* You should have received a copy of the GNU General Public License */
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* */
/*************************************************************************************/
namespace Thelia\Tests\Config\Dumper;
use Thelia\Config\Dumper\TpexConfigDumper;
class TpexConfigDumperTest extends \PHPUnit_Framework_TestCase
{
static protected $fixturePath;
public static function setUpBeforeClass()
{
self::$fixturePath = realpath(__DIR__ . "/../Fixtures/Dumper/Config");
}
public function testDumpWithEmptyConfig()
{
$tpexDumper = new TpexConfigDumper(array(), array(), array(), array());
$this->assertStringEqualsFile(self::$fixturePath . "/Empty.php", $tpexDumper->dump());
}
}

View File

@@ -0,0 +1,25 @@
<?php
/* File generated by \Thelia\Config\Dumper\TpexConfigDumper */
class TpexConfig
{
public function getLoopConfig()
{
return array();
}
public function getFilterConfig()
{
return array();
}
public function getBaseParamConfig()
{
return array();
}
public function getLoopTestConfig()
{
return array();
}
}