function TableSortTest::setUp in Drupal 7
Sets up unit test environment.
Unlike DrupalWebTestCase::setUp(), DrupalUnitTestCase::setUp() does not install modules because tests are performed without accessing the database. Any required files must be explicitly included by the child class setUp() method.
Overrides DrupalUnitTestCase::setUp
File
- modules/
simpletest/ tests/ tablesort.test, line 28 - Various tablesort tests.
Class
- TableSortTest
- Test unicode handling features implemented in unicode.inc.
Code
function setUp() {
// Save the original $_GET to be restored later.
$this->GET = $_GET;
parent::setUp();
}