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 all tests in a class are run. Remove sandbox directory.

1 call to Drush_TestCase::tearDownAfterClass()
Drush_UnitTestCase::tearDownAfterClass in tests/drush_testcase.inc
Runs after all tests in a class are run. Remove sandbox directory.
1 method overrides Drush_TestCase::tearDownAfterClass()
Drush_UnitTestCase::tearDownAfterClass in tests/drush_testcase.inc
Runs after all tests in a class are run. Remove sandbox directory.

File

tests/drush_testcase.inc, line 50

Class

Drush_TestCase

Code

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