-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename namespace XSLTBechmark to XSLTBenchmarking
- Loading branch information
Showing
37 changed files
with
140 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @license "New" BSD License | ||
*/ | ||
|
||
namespace XSLTBenchmark\TestsGenerator; | ||
namespace XSLTBenchmarking\TestsGenerator; | ||
|
||
require_once LIBS . '/PhpPath/PhpPath.min.php'; | ||
require_once ROOT . '/DriversContainer.php'; | ||
|
@@ -19,7 +19,7 @@ | |
* | ||
* @author Viktor Mašíček <[email protected]> | ||
*/ | ||
class Params extends \XSLTBenchmark\DriversContainer | ||
class Params extends \XSLTBenchmarking\DriversContainer | ||
{ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @license "New" BSD License | ||
*/ | ||
|
||
namespace XSLTBenchmark\TestsGenerator; | ||
namespace XSLTBenchmarking\TestsGenerator; | ||
|
||
require_once LIBS . '/PhpPath/PhpPath.min.php'; | ||
require_once ROOT . '/DriversContainer.php'; | ||
|
@@ -19,7 +19,7 @@ | |
* | ||
* @author Viktor Mašíček <[email protected]> | ||
*/ | ||
class Templating extends \XSLTBenchmark\DriversContainer | ||
class Templating extends \XSLTBenchmarking\DriversContainer | ||
{ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @license "New" BSD License | ||
*/ | ||
|
||
namespace XSLTBenchmark\TestsGenerator; | ||
namespace XSLTBenchmarking\TestsGenerator; | ||
|
||
require_once LIBS . '/PhpPath/PhpPath.min.php'; | ||
require_once ROOT . '/DriversContainer.php'; | ||
|
@@ -19,6 +19,6 @@ | |
* | ||
* @author Viktor Mašíček <[email protected]> | ||
*/ | ||
class XmlGenerator extends \XSLTBenchmark\DriversContainer | ||
class XmlGenerator extends \XSLTBenchmarking\DriversContainer | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,22 +7,22 @@ | |
* @license "New" BSD License | ||
*/ | ||
|
||
namespace Tests\XSLTBenchmark\DriversContainer; | ||
namespace Tests\XSLTBenchmarking\DriversContainer; | ||
|
||
require_once __DIR__ . '/Foo/Foo.php'; | ||
|
||
use \Tests\XSLTBenchmark\TestCase; | ||
use \Tests\XSLTBenchmarking\TestCase; | ||
|
||
/** | ||
* DriversContainerTest | ||
* | ||
* @author Viktor Mašíček <[email protected]> | ||
* | ||
* @covers XSLTBenchmark\DriversContainer::__construct | ||
* @covers XSLTBenchmark\DriversContainer::__call | ||
* @covers XSLTBenchmark\DriversContainer::getDriversDirectory | ||
* @covers XSLTBenchmark\DriversContainer::getDriversNamespace | ||
* @covers XSLTBenchmark\DriversContainer::getDriversNamesSuffix | ||
* @covers XSLTBenchmarking\DriversContainer::__construct | ||
* @covers XSLTBenchmarking\DriversContainer::__call | ||
* @covers XSLTBenchmarking\DriversContainer::getDriversDirectory | ||
* @covers XSLTBenchmarking\DriversContainer::getDriversNamespace | ||
* @covers XSLTBenchmarking\DriversContainer::getDriversNamesSuffix | ||
*/ | ||
class DriversContainerTest extends TestCase | ||
{ | ||
|
@@ -31,35 +31,35 @@ class DriversContainerTest extends TestCase | |
public function testFirstFooDriver() | ||
{ | ||
$foo = new Foo('first'); | ||
$this->assertInstanceOf('\XSLTBenchmark\DriversContainer', $foo); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmark\DriversContainer\Foo', $foo); | ||
$this->assertInstanceOf('\XSLTBenchmarking\DriversContainer', $foo); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmarking\DriversContainer\Foo', $foo); | ||
|
||
$driver = $this->getPropertyValue($foo, 'driver'); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmark\DriversContainer\IFooDriver', $driver); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmark\DriversContainer\FirstFooDriver', $driver); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmarking\DriversContainer\IFooDriver', $driver); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmarking\DriversContainer\FirstFooDriver', $driver); | ||
|
||
$this->assertEquals('First::method1', $foo->methodOne()); | ||
$this->assertEquals('First::method2: lorem ipsum', $foo->methodTwo('lorem', 'ipsum')); | ||
|
||
$this->setExpectedException('\XSLTBenchmark\UnknownMethodException'); | ||
$this->setExpectedException('\XSLTBenchmarking\UnknownMethodException'); | ||
$foo->methodUnknown(); | ||
} | ||
|
||
|
||
public function testSecondFooDriver() | ||
{ | ||
$foo = new Foo('second'); | ||
$this->assertInstanceOf('\XSLTBenchmark\DriversContainer', $foo); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmark\DriversContainer\Foo', $foo); | ||
$this->assertInstanceOf('\XSLTBenchmarking\DriversContainer', $foo); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmarking\DriversContainer\Foo', $foo); | ||
|
||
$driver = $this->getPropertyValue($foo, 'driver'); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmark\DriversContainer\IFooDriver', $driver); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmark\DriversContainer\SecondFooDriver', $driver); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmarking\DriversContainer\IFooDriver', $driver); | ||
$this->assertInstanceOf('\Tests\XSLTBenchmarking\DriversContainer\SecondFooDriver', $driver); | ||
|
||
$this->assertEquals('Second::method1', $foo->methodOne()); | ||
$this->assertEquals('Second::method2: lorem ipsum', $foo->methodTwo('lorem', 'ipsum')); | ||
|
||
$this->setExpectedException('\XSLTBenchmark\UnknownMethodException'); | ||
$this->setExpectedException('\XSLTBenchmarking\UnknownMethodException'); | ||
$foo->methodUnknown(); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
* @license "New" BSD License | ||
*/ | ||
|
||
namespace Tests\XSLTBenchmark\DriversContainer; | ||
namespace Tests\XSLTBenchmarking\DriversContainer; | ||
|
||
require_once ROOT . '/DriversContainer.php'; | ||
|
||
|
@@ -16,6 +16,6 @@ | |
* | ||
* @author Viktor Mašíček <[email protected]> | ||
*/ | ||
class Foo extends \XSLTBenchmark\DriversContainer | ||
class Foo extends \XSLTBenchmarking\DriversContainer | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,22 +7,22 @@ | |
* @license "New" BSD License | ||
*/ | ||
|
||
namespace Tests\XSLTBenchmark\TestsGenerator\Generator; | ||
namespace Tests\XSLTBenchmarking\TestsGenerator\Generator; | ||
|
||
require_once ROOT . '/TestsGenerator/Generator.php'; | ||
require_once ROOT . '/TestsGenerator/Test.php'; | ||
|
||
use \Tests\XSLTBenchmark\TestCase; | ||
use \XSLTBenchmark\TestsGenerator\Generator; | ||
use \XSLTBenchmark\TestsGenerator\Test; | ||
use \Tests\XSLTBenchmarking\TestCase; | ||
use \XSLTBenchmarking\TestsGenerator\Generator; | ||
use \XSLTBenchmarking\TestsGenerator\Test; | ||
|
||
/** | ||
* AddAndGetTestsTest | ||
* | ||
* @author Viktor Mašíček <[email protected]> | ||
* | ||
* @covers \XSLTBenchmark\TestsGenerator\Generator::addTests | ||
* @covers \XSLTBenchmark\TestsGenerator\Generator::getTests | ||
* @covers \XSLTBenchmarking\TestsGenerator\Generator::addTests | ||
* @covers \XSLTBenchmarking\TestsGenerator\Generator::getTests | ||
*/ | ||
class AddAndGetTestsTest extends TestCase | ||
{ | ||
|
Oops, something went wrong.