Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EcomDev_PHPUnit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open
EcomDev_PHPUnit
Commits
7eb3ec38
Commit
7eb3ec38
authored
Jan 07, 2013
by
Ivan Chepurnyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
! Modified year of extension license file header notice
+ Added new Configuration Controller Route assertion
parent
59a15d7e
Changes
74
Hide whitespace changes
Inline
Side-by-side
Showing
74 changed files
with
686 additions
and
80 deletions
+686
-80
app/code/community/EcomDev/PHPUnit/Controller/Front.php
app/code/community/EcomDev/PHPUnit/Controller/Front.php
+1
-1
app/code/community/EcomDev/PHPUnit/Controller/Request/Http.php
...ode/community/EcomDev/PHPUnit/Controller/Request/Http.php
+1
-1
app/code/community/EcomDev/PHPUnit/Controller/Response/Http.php
...de/community/EcomDev/PHPUnit/Controller/Response/Http.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/App.php
app/code/community/EcomDev/PHPUnit/Model/App.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/App/Area.php
app/code/community/EcomDev/PHPUnit/Model/App/Area.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Config.php
app/code/community/EcomDev/PHPUnit/Model/Config.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Expectation/Interface.php
...community/EcomDev/PHPUnit/Model/Expectation/Interface.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Expectation/Object.php
...de/community/EcomDev/PHPUnit/Model/Expectation/Object.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture.php
app/code/community/EcomDev/PHPUnit/Model/Fixture.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Interface.php
...ode/community/EcomDev/PHPUnit/Model/Fixture/Interface.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Cache.php
...mmunity/EcomDev/PHPUnit/Model/Fixture/Processor/Cache.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Config.php
...munity/EcomDev/PHPUnit/Model/Fixture/Processor/Config.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Eav.php
...community/EcomDev/PHPUnit/Model/Fixture/Processor/Eav.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Interface.php
...ity/EcomDev/PHPUnit/Model/Fixture/Processor/Interface.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Registry.php
...nity/EcomDev/PHPUnit/Model/Fixture/Processor/Registry.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Scope.php
...mmunity/EcomDev/PHPUnit/Model/Fixture/Processor/Scope.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Tables.php
...munity/EcomDev/PHPUnit/Model/Fixture/Processor/Tables.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Vfs.php
...community/EcomDev/PHPUnit/Model/Fixture/Processor/Vfs.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Fixture/Vfs.php
app/code/community/EcomDev/PHPUnit/Model/Fixture/Vfs.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Layout.php
app/code/community/EcomDev/PHPUnit/Model/Layout.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture.php
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Attribute/Abstract.php
...omDev/PHPUnit/Model/Mysql4/Fixture/Attribute/Abstract.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Attribute/Default.php
...comDev/PHPUnit/Model/Mysql4/Fixture/Attribute/Default.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Complex/Abstract.php
...EcomDev/PHPUnit/Model/Mysql4/Fixture/Complex/Abstract.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Abstract.php
...ity/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Abstract.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Abstract.php
...Dev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Abstract.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Category.php
...Dev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Category.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Product.php
...mDev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Product.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Default.php
...nity/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Default.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Test/Loadable/Interface.php
...mmunity/EcomDev/PHPUnit/Model/Test/Loadable/Interface.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader.php
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader/Abstract.php
.../community/EcomDev/PHPUnit/Model/Yaml/Loader/Abstract.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader/Default.php
...e/community/EcomDev/PHPUnit/Model/Yaml/Loader/Default.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader/Global.php
...de/community/EcomDev/PHPUnit/Model/Yaml/Loader/Global.php
+1
-1
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader/Interface.php
...community/EcomDev/PHPUnit/Model/Yaml/Loader/Interface.php
+1
-1
app/code/community/EcomDev/PHPUnit/Test/Case.php
app/code/community/EcomDev/PHPUnit/Test/Case.php
+1
-1
app/code/community/EcomDev/PHPUnit/Test/Case/Config.php
app/code/community/EcomDev/PHPUnit/Test/Case/Config.php
+293
-3
app/code/community/EcomDev/PHPUnit/Test/Case/Controller.php
app/code/community/EcomDev/PHPUnit/Test/Case/Controller.php
+1
-1
app/code/community/EcomDev/PHPUnit/Test/Case/Util.php
app/code/community/EcomDev/PHPUnit/Test/Case/Util.php
+1
-1
app/code/community/EcomDev/PHPUnit/Test/Listener.php
app/code/community/EcomDev/PHPUnit/Test/Listener.php
+1
-1
app/code/community/EcomDev/PHPUnit/Test/Suite.php
app/code/community/EcomDev/PHPUnit/Test/Suite.php
+1
-1
app/code/community/EcomDev/PHPUnit/Test/Suite/Group.php
app/code/community/EcomDev/PHPUnit/Test/Suite/Group.php
+1
-1
app/code/community/EcomDev/PHPUnit/etc/config.xml
app/code/community/EcomDev/PHPUnit/etc/config.xml
+1
-1
lib/EcomDev/PHPUnit/Constraint/Abstract.php
lib/EcomDev/PHPUnit/Constraint/Abstract.php
+28
-5
lib/EcomDev/PHPUnit/Constraint/Config.php
lib/EcomDev/PHPUnit/Constraint/Config.php
+2
-2
lib/EcomDev/PHPUnit/Constraint/Config/Abstract.php
lib/EcomDev/PHPUnit/Constraint/Config/Abstract.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Config/EventObserver.php
lib/EcomDev/PHPUnit/Constraint/Config/EventObserver.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Config/Interface.php
lib/EcomDev/PHPUnit/Constraint/Config/Interface.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Config/Layout.php
lib/EcomDev/PHPUnit/Constraint/Config/Layout.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Config/Module.php
lib/EcomDev/PHPUnit/Constraint/Config/Module.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Config/Node.php
lib/EcomDev/PHPUnit/Constraint/Config/Node.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Config/Resource.php
lib/EcomDev/PHPUnit/Constraint/Config/Resource.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Config/Resource/Script.php
lib/EcomDev/PHPUnit/Constraint/Config/Resource/Script.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Config/Route.php
lib/EcomDev/PHPUnit/Constraint/Config/Route.php
+293
-0
lib/EcomDev/PHPUnit/Constraint/Controller/Request.php
lib/EcomDev/PHPUnit/Constraint/Controller/Request.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Controller/Response/Abstract.php
...omDev/PHPUnit/Constraint/Controller/Response/Abstract.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Controller/Response/Body.php
lib/EcomDev/PHPUnit/Constraint/Controller/Response/Body.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Controller/Response/Header.php
...EcomDev/PHPUnit/Constraint/Controller/Response/Header.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Exception.php
lib/EcomDev/PHPUnit/Constraint/Exception.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Json.php
lib/EcomDev/PHPUnit/Constraint/Json.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Layout.php
lib/EcomDev/PHPUnit/Constraint/Layout.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Layout/Abstract.php
lib/EcomDev/PHPUnit/Constraint/Layout/Abstract.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Layout/Block.php
lib/EcomDev/PHPUnit/Constraint/Layout/Block.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Action.php
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Action.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Property.php
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Property.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Layout/Handle.php
lib/EcomDev/PHPUnit/Constraint/Layout/Handle.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Layout/Logger/Interface.php
lib/EcomDev/PHPUnit/Constraint/Layout/Logger/Interface.php
+1
-1
lib/EcomDev/PHPUnit/Constraint/Or.php
lib/EcomDev/PHPUnit/Constraint/Or.php
+1
-1
lib/EcomDev/PHPUnit/Controller/Request/Interface.php
lib/EcomDev/PHPUnit/Controller/Request/Interface.php
+1
-1
lib/EcomDev/PHPUnit/Controller/Response/Interface.php
lib/EcomDev/PHPUnit/Controller/Response/Interface.php
+1
-1
lib/EcomDev/PHPUnit/Design/Package/Interface.php
lib/EcomDev/PHPUnit/Design/Package/Interface.php
+1
-1
lib/EcomDev/PHPUnit/Isolation/Interface.php
lib/EcomDev/PHPUnit/Isolation/Interface.php
+1
-1
lib/EcomDev/Utils/Reflection.php
lib/EcomDev/Utils/Reflection.php
+1
-1
shell/ecomdev-phpunit-install.php
shell/ecomdev-phpunit-install.php
+1
-1
No files found.
app/code/community/EcomDev/PHPUnit/Controller/Front.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Controller/Request/Http.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Controller/Response/Http.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/App.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/App/Area.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Config.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Expectation/Interface.php
View file @
7eb3ec38
...
...
@@ -12,7 +12,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Expectation/Object.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Cache.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Config.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Eav.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Registry.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Scope.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Tables.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Processor/Vfs.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Fixture/Vfs.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Layout.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Attribute/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
* @author Steve Rice <srice@endertech.com>
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Attribute/Default.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
* @author Steve Rice <srice@endertech.com>
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Complex/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
* @author Steve Rice <srice@endertech.com>
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Category.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Catalog/Product.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Mysql4/Fixture/Eav/Default.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Test/Loadable/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader/Default.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader/Global.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Model/Yaml/Loader/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Test/Case.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Test/Case/Config.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
@@ -180,11 +180,30 @@ abstract class EcomDev_PHPUnit_Test_Case_Config extends EcomDev_PHPUnit_Test_Cas
);
}
/**
* Constraint for testing observer
* event definitions in configuration
*
* @param string $area
* @param string $routeName
* @param string $expectedValue
* @param string $type
* @return EcomDev_PHPUnit_Constraint_Config
*/
public
static
function
configRouter
(
$area
,
$routeName
,
$expectedValue
,
$type
=
EcomDev_PHPUnit_Constraint_Config_Route
::
TYPE_MODULE
)
{
return
self
::
config
(
new
EcomDev_PHPUnit_Constraint_Config_Route
(
$area
,
$routeName
,
$type
,
$expectedValue
)
);
}
/**
* Executes configuration constraint
*
* @param EcomDev_PHPUnit_Constraint_Config $constraint
* @param string $message
* @param PHPUnit_Framework_Constraint $constraint
* @param string $message
* @return void
*/
public
static
function
assertThatConfig
(
PHPUnit_Framework_Constraint
$constraint
,
$message
)
{
...
...
@@ -1250,4 +1269,275 @@ abstract class EcomDev_PHPUnit_Test_Case_Config extends EcomDev_PHPUnit_Test_Cas
$message
);
}
/**
* Asserts that route frontName is the same as expected one
*
* If $frontName is empty, it uses $routeName as its expected value
*
* @param string $routeName
* @param string|null $frontName
* @param string $area
* @param string $message
*/
public
static
function
assertRouteFrontName
(
$routeName
,
$frontName
=
null
,
$area
=
EcomDev_PHPUnit_Model_App
::
AREA_FRONTEND
,
$message
=
''
)
{
if
(
$frontName
===
null
)
{
$frontName
=
$routeName
;
}
self
::
assertThatConfig
(
self
::
configRouter
(
$area
,
$routeName
,
$frontName
,
EcomDev_PHPUnit_Constraint_Config_Route
::
TYPE_FRONT_NAME
),
$message
);
}
/**
* Asserts that route frontName is NOT the same as expected one
*
* If $frontName is empty, it uses $routeName as its expected value
*
* @param string $routeName
* @param string|null $frontName
* @param string $area
* @param string $message
*/
public
static
function
assertRouteFrontNameNot
(
$routeName
,
$frontName
=
null
,
$area
=
EcomDev_PHPUnit_Model_App
::
AREA_FRONTEND
,
$message
=
''
)
{
if
(
$frontName
===
null
)
{
$frontName
=
$routeName
;
}
self
::
assertThatConfig
(
self
::
logicalNot
(
self
::
configRouter
(
$area
,
$routeName
,
$frontName
,
EcomDev_PHPUnit_Constraint_Config_Route
::
TYPE_FRONT_NAME
)
),
$message
);
}
/**
* Asserts that route belongs to expected router
*
* @param string $routeName
* @param string $routerName
* @param string $area
* @param string $message
*/
public
static
function
assertRouteIn
(
$routeName
,
$routerName
=
'standard'
,
$area
=
EcomDev_PHPUnit_Model_App
::
AREA_FRONTEND
,
$message
=
''
)
{
self
::
assertThatConfig
(
self
::
configRouter
(
$area
,
$routeName
,
$routerName
,
EcomDev_PHPUnit_Constraint_Config_Route
::
TYPE_ROUTER
),
$message
);
}
/**
* Asserts that route DOES NOT belong to expected router
*
* @param string $routeName
* @param string $routerName
* @param string $area
* @param string $message
*/
public
static
function
assertRouteNotIn
(
$routeName
,
$routerName
=
'standard'
,
$area
=
EcomDev_PHPUnit_Model_App
::
AREA_FRONTEND
,
$message
=
''
)
{
self
::
assertThatConfig
(
self
::
logicalNot
(
self
::
configRouter
(
$area
,
$routeName
,
$routerName
,
EcomDev_PHPUnit_Constraint_Config_Route
::
TYPE_ROUTER
)
),
$message
);
}
/**
* Asserts that route contains module as controller resolve path
*
* @param string $routeName
* @param string|null $moduleName
* @param string $area
* @param string $message
*/
public
static
function
assertRouteModule
(
$routeName
,
$moduleName
=
null
,
$area
=
EcomDev_PHPUnit_Model_App
::
AREA_FRONTEND
,
$message
=
''
)
{
if
(
$moduleName
===
null
)
{
$moduleName
=
self
::
getModuleNameFromCallStack
();
}
self
::
assertThatConfig
(
self
::
configRouter
(
$area
,
$routeName
,
$moduleName
),
$message
);
}
/**
* Asserts that route DOES NOT contain module as controller resolve path
*
* @param string $routeName
* @param string|null $moduleName
* @param string $area
* @param string $message
*/
public
static
function
assertRouteModuleNot
(
$routeName
,
$moduleName
=
null
,
$area
=
EcomDev_PHPUnit_Model_App
::
AREA_FRONTEND
,
$message
=
''
)
{
if
(
$moduleName
===
null
)
{
$moduleName
=
self
::
getModuleNameFromCallStack
();
}
self
::
assertThatConfig
(
self
::
logicalNot
(
self
::
configRouter
(
$area
,
$routeName
,
$moduleName
)
),
$message
);
}
/**
* Asserts that route contains all expected modules in the same order in its controller resolve path
*
* @param string $routeName
* @param array $expectedModuleNames
* @param string $area
* @param string $message
*/
public
static
function
assertRouteModuleOrder
(
$routeName
,
array
$expectedModuleNames
,
$area
=
EcomDev_PHPUnit_Model_App
::
AREA_FRONTEND
,
$message
=
''
)
{
self
::
assertThatConfig
(
self
::
configRouter
(
$area
,
$routeName
,
$expectedModuleNames
,
EcomDev_PHPUnit_Constraint_Config_Route
::
TYPE_MODULE_ORDER
),
$message
);
}
/**
* Asserts that route DOES NOT contain all expected modules in the same order in its controller resolve path
*
* @param string $routeName
* @param array $expectedModuleNames
* @param string $area
* @param string $message
*/
public
static
function
assertRouteModuleOrderNot
(
$routeName
,
array
$expectedModuleNames
,
$area
=
EcomDev_PHPUnit_Model_App
::
AREA_FRONTEND
,
$message
=
''
)
{
self
::
assertThatConfig
(
self
::
logicalNot
(
self
::
configRouter
(
$area
,
$routeName
,
$expectedModuleNames
,
EcomDev_PHPUnit_Constraint_Config_Route
::
TYPE_MODULE_ORDER
)
),
$message
);
}
/**
* Asserts that default config value matches expected type of constraint with expected value
*
* @param string $nodePath
* @param mixed $expectedValue
* @param string $message
* @param string $type
*/
public
static
function
assertDefaultConfigValue
(
$nodePath
,
$expectedValue
,
$message
=
''
,
$type
=
EcomDev_PHPUnit_Constraint_Config_Node
::
TYPE_EQUALS_STRING
)
{
$nodePath
=
'default/'
.
$nodePath
;
self
::
assertConfigNodeValue
(
$nodePath
,
$expectedValue
,
$message
,
$type
);
}
/**
* Asserts that default config value DOES NOT match expected type of constraint with expected value
*
* @param string $nodePath
* @param mixed $expectedValue
* @param string $message
* @param string $type
*/
public
static
function
assertDefaultConfigValueNot
(
$nodePath
,
$expectedValue
,
$message
=
''
,
$type
=
EcomDev_PHPUnit_Constraint_Config_Node
::
TYPE_EQUALS_STRING
)
{
$nodePath
=
'default/'
.
$nodePath
;
self
::
assertConfigNodeNotValue
(
$nodePath
,
$expectedValue
,
$message
,
$type
);
}
/**
* Asserts that store config value matches expected type of constraint with expected value
*
* @param string|int $store
* @param string $nodePath
* @param mixed $expectedValue
* @param string $message
* @param string $type
*/
public
static
function
assertStoreConfigValue
(
$store
,
$nodePath
,
$expectedValue
,
$message
=
''
,
$type
=
EcomDev_PHPUnit_Constraint_Config_Node
::
TYPE_EQUALS_STRING
)
{
$nodePath
=
'stores/'
.
self
::
app
()
->
getStore
(
$store
)
->
getCode
()
.
'/'
.
$nodePath
;
self
::
assertConfigNodeValue
(
$nodePath
,
$expectedValue
,
$message
,
$type
);
}
/**
* Asserts that store config value DOES NOT match expected type of constraint with expected value
*
* @param string|int $store
* @param string $nodePath
* @param mixed $expectedValue
* @param string $message
* @param string $type
*/
public
static
function
assertStoreConfigValueNot
(
$store
,
$nodePath
,
$expectedValue
,
$message
=
''
,
$type
=
EcomDev_PHPUnit_Constraint_Config_Node
::
TYPE_EQUALS_STRING
)
{
$nodePath
=
'stores/'
.
self
::
app
()
->
getStore
(
$store
)
->
getCode
()
.
'/'
.
$nodePath
;
self
::
assertConfigNodeNotValue
(
$nodePath
,
$expectedValue
,
$message
,
$type
);
}
/**
* Asserts that website config value matches expected type of constraint with expected value
*
* @param string|int $website
* @param string $nodePath
* @param mixed $expectedValue
* @param string $message
* @param string $type
*/
public
static
function
assertWebsiteConfigValue
(
$website
,
$nodePath
,
$expectedValue
,
$message
=
''
,
$type
=
EcomDev_PHPUnit_Constraint_Config_Node
::
TYPE_EQUALS_STRING
)
{
$nodePath
=
'websites/'
.
self
::
app
()
->
getWebsite
(
$website
)
->
getCode
()
.
'/'
.
$nodePath
;
self
::
assertConfigNodeValue
(
$nodePath
,
$expectedValue
,
$message
,
$type
);
}
/**
* Asserts that website config value DOES NOT match expected type of constraint with expected value
*
* @param string|int $website
* @param string $nodePath
* @param mixed $expectedValue
* @param string $message
* @param string $type
*/
public
static
function
assertWebsiteConfigValueNot
(
$website
,
$nodePath
,
$expectedValue
,
$message
=
''
,
$type
=
EcomDev_PHPUnit_Constraint_Config_Node
::
TYPE_EQUALS_STRING
)
{
$nodePath
=
'websites/'
.
self
::
app
()
->
getWebsite
(
$website
)
->
getCode
()
.
'/'
.
$nodePath
;
self
::
assertConfigNodeNotValue
(
$nodePath
,
$expectedValue
,
$message
,
$type
);
}
}
app/code/community/EcomDev/PHPUnit/Test/Case/Controller.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Test/Case/Util.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Test/Listener.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Test/Suite.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/Test/Suite/Group.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
app/code/community/EcomDev/PHPUnit/etc/config.xml
View file @
7eb3ec38
...
...
@@ -12,7 +12,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
@@ -186,13 +186,16 @@ abstract class EcomDev_PHPUnit_Constraint_Abstract
$failureDescription
=
sprintf
(
'Failed asserting that %s'
,
$this
->
failureDescription
(
$other
));
if
(
in_array
(
$this
->
_type
,
$this
->
_typesWithDiff
))
{
$actual
=
$this
->
getActualValue
(
$other
);
$expected
=
$this
->
getExpectedValue
();
throw
new
EcomDev_PHPUnit_Constraint_Exception
(
$failureDescription
,
new
PHPUnit_Framework_ComparisonFailure
(
$
this
->
getExpectedValue
()
,
$
this
->
getActualValue
(
$other
)
,
$this
->
getExpectedValue
(
),
$this
->
getActualValue
(
$other
)
$
expected
,
$
actual
,
$this
->
exportAsString
(
$expected
),
$this
->
exportAsString
(
$actual
)
),
$description
);
...
...
@@ -255,4 +258,24 @@ abstract class EcomDev_PHPUnit_Constraint_Abstract
{
return
$this
->
callProtectedByType
(
'text'
);
}
/**
* Exports value as string
*
* @param mixed $value
* @return string
*/
public
function
exportAsString
(
$value
)
{
if
(
is_array
(
$value
)
&&
preg_match
(
'/^\d+$/'
,
implode
(
''
,
array_keys
(
$value
))))
{
$stringValue
=
''
;
foreach
(
$value
as
$val
)
{
$stringValue
.=
(
is_string
(
$val
)
?
$val
:
PHPUnit_Util_Type
::
export
(
$val
))
.
"
\n
"
;
}
return
$stringValue
;
}
else
{
return
PHPUnit_Util_Type
::
export
(
$value
);
}
}
}
lib/EcomDev/PHPUnit/Constraint/Config.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
@@ -79,7 +79,7 @@ class EcomDev_PHPUnit_Constraint_Config extends PHPUnit_Framework_Constraint
if
(
$nodeValue
===
false
)
{
throw
new
EcomDev_PHPUnit_Constraint_Exception
(
sprintf
(
'
Invalid node path specified for evaluation
%s'
,
$this
->
constraint
->
getNodePath
())
sprintf
(
'
Cannot find any node in specified path:
%s'
,
$this
->
constraint
->
getNodePath
())
);
}
...
...
lib/EcomDev/PHPUnit/Constraint/Config/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Config/EventObserver.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Config/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Config/Layout.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Config/Module.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Config/Node.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Config/Resource.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Config/Resource/Script.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Config/Route.php
0 → 100644
View file @
7eb3ec38
<?php
/**
* PHP Unit test suite for Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 2013 EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
/**
* Controller router configuration constraint
*
*/
class
EcomDev_PHPUnit_Constraint_Config_Route
extends
EcomDev_PHPUnit_Constraint_Config_Abstract
{
const
XML_PATH_ROUTE_NODE
=
'%s/routers/%s'
;
const
TYPE_MODULE
=
'module'
;
const
TYPE_MODULE_ORDER
=
'module_order'
;
const
TYPE_ROUTER
=
'router'
;
const
TYPE_FRONT_NAME
=
'front_name'
;
/**
* Name of the area for constraint
*
* @var string
*/
protected
$_area
=
null
;
/**
* Name of the route for constraint
*
* @var string
*/
protected
$_routeName
=
null
;
/**
* Constraint for evaluation of module config node
*
* @param string $area
* @param string $route
* @param string $type
* @param mixed $expectedValue
*/
public
function
__construct
(
$area
,
$route
,
$type
,
$expectedValue
)
{
$this
->
_area
=
$area
;
$this
->
_routeName
=
$route
;
$this
->
_expectedValueValidation
+=
array
(
self
::
TYPE_MODULE
=>
array
(
true
,
'is_string'
,
'string'
),
self
::
TYPE_MODULE_ORDER
=>
array
(
true
,
'is_array'
,
'array'
),
self
::
TYPE_ROUTER
=>
array
(
true
,
'is_string'
,
'string'
),
self
::
TYPE_FRONT_NAME
=>
array
(
true
,
'is_string'
,
'string'
)
);
$this
->
_typesWithDiff
[]
=
self
::
TYPE_MODULE
;
$this
->
_typesWithDiff
[]
=
self
::
TYPE_MODULE_ORDER
;
$this
->
_typesWithDiff
[]
=
self
::
TYPE_FRONT_NAME
;
$this
->
_typesWithDiff
[]
=
self
::
TYPE_ROUTER
;
parent
::
__construct
(
sprintf
(
self
::
XML_PATH_ROUTE_NODE
,
$this
->
_area
,
$this
->
_routeName
),
$type
,
$expectedValue
);
}
/**
* Evaluates that module is added to route for controllers processing
*
* @param Varien_Simplexml_Element $other
* @return boolean
*/
protected
function
evaluateModule
(
$other
)
{
if
(
!
isset
(
$other
->
args
)
||
(
!
isset
(
$other
->
args
->
module
)
&&
!
isset
(
$other
->
args
->
modules
)))
{
$this
->
_expectedValue
=
(
array
)
$this
->
_expectedValue
;
$this
->
setActualValue
(
array
());
return
false
;
}
$currentModules
=
$this
->
getModules
(
$other
->
args
);
// Save actual value
$this
->
setActualValue
(
$currentModules
);
// Will add diff to module structure
if
(
!
in_array
(
$this
->
_expectedValue
,
$currentModules
))
{
$currentModules
[]
=
$this
->
_expectedValue
;
}
$this
->
_expectedValue
=
$currentModules
;
return
$this
->
_actualValue
===
$this
->
_expectedValue
;
}
/**
* Text representation of class alias constraint
*
* @return string
*/
protected
function
textModule
()
{
return
'contains expected module'
;
}
/**
* Evaluates that modules are added to route for controllers processing
* in particular order
*
* @param Varien_Simplexml_Element $other
* @return boolean
*/
protected
function
evaluateModuleOrder
(
$other
)
{
if
((
!
isset
(
$other
->
args
->
module
)
&&
!
isset
(
$other
->
args
->
modules
)))
{
$this
->
setActualValue
(
array
());
return
false
;
}
$currentModules
=
$this
->
getModules
(
$other
->
args
);
// Save actual value
$this
->
setActualValue
(
$currentModules
);
$previousIndex
=
false
;
foreach
(
$this
->
_expectedValue
as
$index
=>
$expectedValue
)
{
if
(
$previousIndex
===
false
)
{
if
(
!
in_array
(
$expectedValue
,
$currentModules
)
&&
(
!
isset
(
$this
->
_expectedValue
[
$index
+
1
])
||
!
in_array
(
$this
->
_expectedValue
[
$index
+
1
],
$currentModules
)))
{
$currentModules
[]
=
$expectedValue
;
}
elseif
(
!
in_array
(
$expectedValue
,
$currentModules
))
{
// Add new item before next one
array_splice
(
$currentModules
,
array_search
(
$this
->
_expectedValue
[
$index
+
1
],
$currentModules
),
0
,
array
(
$expectedValue
));
}
}
else
{
$previousValue
=
$this
->
_expectedValue
[
$previousIndex
];
$isInArray
=
in_array
(
$expectedValue
,
$currentModules
);
$isAfter
=
$isInArray
&&
array_search
(
$previousValue
,
$currentModules
)
>
array_search
(
$expectedValue
,
$currentModules
);
if
(
$isInArray
&&
$isAfter
)
{
continue
;
}
elseif
(
!
$isAfter
)
{
// Remove current item from modules
array_splice
(
$currentModules
,
array_search
(
$expectedValue
,
$currentModules
),
1
);
}
// Add new item after previous one
array_splice
(
$currentModules
,
array_search
(
$previousValue
,
$currentModules
)
+
1
,
0
,
array
(
$expectedValue
));
}
$previousIndex
=
$index
;
}
$this
->
_expectedValue
=
$currentModules
;
return
$this
->
_actualValue
===
$this
->
_expectedValue
;
}
/**
* Text representation of class alias constraint
*
* @return string
*/
protected
function
textModuleOrder
()
{
return
'contains modules in expected order'
;
}
/**
* Evaluates that route is added to expected router
*
* @param Varien_Simplexml_Element $other
* @return boolean
*/
protected
function
evaluateRouter
(
$other
)
{
$this
->
setActualValue
((
string
)
$other
->
use
);
return
$this
->
_actualValue
===
$this
->
_expectedValue
;
}
/**
* Text representation of class alias constraint
*
* @return string
*/
protected
function
textRouter
()
{
return
'is specified for expected router'
;
}
/**
* Evaluates that route is added to expected router
*
* @param Varien_Simplexml_Element $other
* @return boolean
*/
protected
function
evaluateFrontName
(
$other
)
{
$frontName
=
''
;
if
(
isset
(
$other
->
args
->
frontName
))
{
$frontName
=
(
string
)
$other
->
args
->
frontName
;
}
$this
->
setActualValue
(
$frontName
);
return
$this
->
_actualValue
===
$this
->
_expectedValue
;
}
/**
* Text representation of class alias constraint
*
* @return string
*/
protected
function
textFrontName
()
{
return
'is specified for the same front name as expected'
;
}
/**
* Returns sorted list of modules from args node
*
* @param Varien_Simplexml_Element $argsNode
* @return array
*/
protected
function
getModules
(
Varien_Simplexml_Element
$argsNode
)
{
$modules
=
array
();
if
(
isset
(
$argsNode
->
module
))
{
$modules
[]
=
(
string
)
$argsNode
->
module
;
}
if
(
isset
(
$argsNode
->
modules
))
{
// Repeats logic in core router
foreach
(
$argsNode
->
modules
->
children
()
as
$module
)
{
if
((
string
)
$module
)
{
if
(
$before
=
$module
->
getAttribute
(
'before'
))
{
$position
=
array_search
(
$before
,
$modules
);
if
(
$position
===
false
)
{
$position
=
0
;
}
array_splice
(
$modules
,
$position
,
0
,
(
string
)
$module
);
}
elseif
(
$after
=
$module
->
getAttribute
(
'after'
))
{
$position
=
array_search
(
$after
,
$modules
);
if
(
$position
===
false
)
{
$position
=
count
(
$modules
);
}
array_splice
(
$modules
,
$position
+
1
,
0
,
(
string
)
$module
);
}
else
{
$modules
[]
=
(
string
)
$module
;
}
}
}
}
return
$modules
;
}
/**
* Custom failure description for showing config related errors
* (non-PHPdoc)
* @see PHPUnit_Framework_Constraint::customFailureDescription()
*/
protected
function
customFailureDescription
(
$other
)
{
return
sprintf
(
'controller route %s for %s area %s.'
,
$this
->
_routeName
,
$this
->
_area
,
$this
->
toString
()
);
}
}
lib/EcomDev/PHPUnit/Constraint/Controller/Request.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Controller/Response/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Controller/Response/Body.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Controller/Response/Header.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Exception.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Json.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Layout.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Layout/Abstract.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Layout/Block.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Action.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Layout/Block/Property.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Layout/Handle.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Layout/Logger/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Constraint/Or.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Controller/Request/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Controller/Response/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Design/Package/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/PHPUnit/Isolation/Interface.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
lib/EcomDev/Utils/Reflection.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
shell/ecomdev-phpunit-install.php
View file @
7eb3ec38
...
...
@@ -11,7 +11,7 @@
*
* @category EcomDev
* @package EcomDev_PHPUnit
* @copyright Copyright (c) 201
2
EcomDev BV (http://www.ecomdev.org)
* @copyright Copyright (c) 201
3
EcomDev BV (http://www.ecomdev.org)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* @author Ivan Chepurnyi <ivan.chepurnyi@ecomdev.org>
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment