public static function Drush_TestCase::tearDownAfterClass

6.x drush_testcase.inc public static Drush_TestCase::tearDownAfterClass()
4.x drush_testcase.inc public static Drush_TestCase::tearDownAfterClass()
5.x drush_testcase.inc public static Drush_TestCase::tearDownAfterClass()

Runs after each test case. Remove sandbox directory.

File

tests/drush_testcase.inc, line 43

Class

Drush_TestCase

Code

public static function tearDownAfterClass() {
  if (file_exists(UNISH_SANDBOX)) {
    unish_file_delete_recursive(UNISH_SANDBOX);
  }
}