Skip navigation
Help

DrupalTestCase::$skipClasses

  1. drupal
    1. 7 drupal/modules/simpletest/drupal_web_test_case.php

This class is skipped when looking for the source of an assertion.

When displaying which function an assert comes from, it's not too useful to see "drupalWebTestCase->drupalLogin()', we would like to see the test that called it. So we need to skip the classes defining these helper methods.

File

drupal/modules/simpletest/drupal_web_test_case.php, line 74

Code

protected $skipClasses = array(__CLASS__ => TRUE)