protected function AbstractOpignoSimpleUITest::_checkDependency in Opigno 7.0
2 calls to AbstractOpignoSimpleUITest::_checkDependency()
- OpignoSimpleUIOGTest::testOGNodeUrls in modules/
opigno_simple_ui/ tests/ opigno_simple_ui.og.test - Simple UI overrides several URLs to more user-friendly, logical items. For example, an OG node will have a "Members" tab, and underneath that an "Add members" sub tab. However, the "Group" tab is removed.
- OpignoSimpleUIQuizTest::testQuizForm in modules/
opigno_simple_ui/ tests/ opigno_simple_ui.quiz.test
File
- modules/
opigno_simple_ui/ tests/ opigno_simple_ui.test, line 16 - Abstract base class to simplify writing Opigno Simple UI test cases. Unit tests for Opigno Simple UI to check if overrides still apply against more recent modules. Check all form changes, path changes to see if we're correctly overriding them.
Class
- AbstractOpignoSimpleUITest
- @file Abstract base class to simplify writing Opigno Simple UI test cases. Unit tests for Opigno Simple UI to check if overrides still apply against more recent modules. Check all form changes, path changes to see if we're correctly overriding them.
Code
protected function _checkDependency($module) {
if (!module_exists($module)) {
$this
->fail("{$module} module does not exist. Abort test.");
return FALSE;
}
return TRUE;
}