function accessibility_testswarm_testswarm_tests

cis7 accessibility_testswarm.module accessibility_testswarm_testswarm_tests()
cle7 accessibility_testswarm.module accessibility_testswarm_testswarm_tests()
elmsmedia7 accessibility_testswarm.module accessibility_testswarm_testswarm_tests()
icor7 accessibility_testswarm.module accessibility_testswarm_testswarm_tests()
meedjum_blog7 accessibility_testswarm.module accessibility_testswarm_testswarm_tests()
mooc7 accessibility_testswarm.module accessibility_testswarm_testswarm_tests()

Implements hook_testswarm_tests();

File

sites/all/modules/ulmus/accessibility/modules/accessibility_testswarm/accessibility_testswarm.module, line 6

Code

function accessibility_testswarm_testswarm_tests() {
  $library_path = libraries_get_path('quail');
  $paths = module_invoke_all('accessibility_testswarm_paths');
  if (!$paths || !count($paths)) {
    return;
  }
  $tests = array();
  foreach ($paths as $path) {
    $tests['accessibility_testswarm_tests_' . md5($path)] = array(
      'js' => array(
        $library_path . '/src/quail.js',
        drupal_get_path('module', 'accessibility_testswarm') . '/js/accessibility_testswarm.test.js' => array(),
      ),
      'path' => $path,
    );
  }
  return $tests;
}