private function PatternsIndexesTestCase::countComponents in Patterns 7
Same name and namespace in other branches
- 7.2 tests/indexes/indexes.test \PatternsIndexesTestCase::countComponents()
2 calls to PatternsIndexesTestCase::countComponents()
- PatternsIndexesTestCase::testModuletags in tests/
indexes/ indexes.test - PatternsIndexesTestCase::testTagmodules in tests/
indexes/ indexes.test
File
- tests/
indexes/ indexes.test, line 59 - General SimpleTests for Patterns. Also, a Pattern running base class which uses QuickRun.
Class
- PatternsIndexesTestCase
- @file General SimpleTests for Patterns. Also, a Pattern running base class which uses QuickRun.
Code
private function countComponents() {
$nc = 9;
if (patterns_utils_is_module_enabled('date')) {
$nc++;
}
if (patterns_utils_is_module_enabled('pathauto')) {
$nc++;
}
return $nc;
}