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
2c79df6a
Commit
2c79df6a
authored
Aug 02, 2013
by
Jim O'Halloran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Documentation fixups. Primarily around _isAllowedModule method.
parent
504c2848
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
app/code/community/EcomDev/PHPUnit/Model/Config.php
app/code/community/EcomDev/PHPUnit/Model/Config.php
+13
-2
No files found.
app/code/community/EcomDev/PHPUnit/Model/Config.php
View file @
2c79df6a
...
...
@@ -17,7 +17,7 @@
*/
/**
* Configution model extended to make unit tests to be available
* Configu
ra
tion model extended to make unit tests to be available
* at separate configuration scope
*
*/
...
...
@@ -222,6 +222,17 @@ class EcomDev_PHPUnit_Model_Config extends Mage_Core_Model_Config
return
$this
;
}
/**
* Define if module is allowed
*
* Magento core allows use of a whitelist of modules supplied via the
* addAllowedModules method. EcomDev_PHPUnit extends this to allow a
* blacklist of modules to be supplied via local.xml.phpunit.
*
* @see Mage_Core_Model_Config::_isAllowedModule()
* @param string $moduleName
* @return bool
*/
protected
function
_isAllowedModule
(
$moduleName
)
{
if
(
!
parent
::
_isAllowedModule
(
$moduleName
))
{
...
...
@@ -275,7 +286,7 @@ class EcomDev_PHPUnit_Model_Config extends Mage_Core_Model_Config
}
/**
* Parse the phpunit specific local configuration. T
H
is may be loaded by
* Parse the phpunit specific local configuration. T
h
is may be loaded by
* and used by _isAllowedModule before it's merged into the merged config.
*
* @return Mage_Core_Model_Config_Base|null
...
...
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