/** * Called after the test functions are executed * this function is defined in PHPUnit_TestCase and overwritten * here. * * @since 1.0 */ protected function tearDown() { parent::tearDown(); $item = new DEnumItem(); $item->dropTable(); $this->denum1->dropTable(); unset($this->denum1); }
/** * {@inheritdoc} * * @since 1.0 */ protected function tearDown() { unset($this->view); $denum = new DEnum(); $denum->dropTable(); $item = new DEnumItem(); $item->dropTable(); }
/** * Tear down tests. * * @since 1.0 */ protected function tearDown() { $article = new Article(); $article->dropTable(); $tag = new Tag(); $tag->dropTable(); $denum = new DEnum(); $denum->dropTable(); $item = new DEnumItem(); $item->dropTable(); unset($this->article); }
/** * (non-PHPdoc). * * @see alpha/lib/PEAR/PHPUnit-3.2.9/PHPUnit/Framework/PHPUnit_Framework_TestCase::tearDown() * @since 1.0 */ protected function tearDown() { $config = ConfigProvider::getInstance(); $config->set('session.provider.name', 'Alpha\\Util\\Http\\Session\\SessionProviderArray'); $this->controller->abort(); $this->article->dropTable(); unset($this->article); unset($this->controller); $this->person->dropTable(); unset($this->person); $this->group->dropTable(); $this->group->dropTable('Person2Rights'); unset($this->group); $article = new Article(); $article->dropTable(); $tag = new Tag(); $tag->dropTable(); $denum = new DEnum(); $denum->dropTable(); $item = new DEnumItem(); $item->dropTable(); }