You are here

public function PHPExcelTest::tearDown in PHPExcel 7.2

Same name and namespace in other branches
  1. 8.3 tests/phpexcel.test \PHPExcelTest::tearDown()
  2. 6.2 tests/phpexcel.test \PHPExcelTest::tearDown()
  3. 6 tests/phpexcel.test \PHPExcelTest::tearDown()
  4. 7.3 tests/phpexcel.test \PHPExcelTest::tearDown()

Delete created files and temporary files directory, delete the tables created by setUp(), and reset the database prefix.

Overrides DrupalWebTestCase::tearDown

File

tests/phpexcel.test, line 36
Defines the test case for phpexcel

Class

PHPExcelTest
@file Defines the test case for phpexcel

Code

public function tearDown() {
  @unlink($this->single_worksheet_file);
  @unlink($this->multiple_worksheet_file);
  @unlink($this->no_headers_file);
  @unlink($this->db_result_file);
  @unlink($this->template_file);
  parent::tearDown();
}