Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.
Overrides WebTestBase::tearDown
function tearDown() {
// If the test is being run from the main site, tear down normally.
if (!drupal_valid_test_ua()) {
parent::tearDown();
}
else {
// If the test is being run from within simpletest, output a message.
$this
->pass(t('The tearDown() method has run.'));
}
}