本文整理汇总了PHP中BaseTestCase::tearDown方法的典型用法代码示例。如果您正苦于以下问题:PHP BaseTestCase::tearDown方法的具体用法?PHP BaseTestCase::tearDown怎么用?PHP BaseTestCase::tearDown使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类BaseTestCase
的用法示例。
在下文中一共展示了BaseTestCase::tearDown方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: tearDown
public function tearDown()
{
parent::tearDown();
if (is_object($this->driver)) {
$this->driver->close();
}
}
示例2: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
parent::tearDown();
$this->dropTables();
unset($this->Base);
$this->clearApplicationData();
}
示例3: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
// TODO Auto-generated RW_App_Model_UploadTest::tearDown()
$this->RW_App_Model_Upload = null;
$this->clearApplicationData();
parent::tearDown();
}
示例4: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
parent::tearDown();
$this->dropTables();
unset($this->Db);
// Remove as pastas criadas
$this->clearApplicationData();
}
示例5: tearDown
public function tearDown()
{
MysqlUser::truncate();
MysqlBook::truncate();
MysqlRole::truncate();
Book::truncate();
parent::tearDown();
}
示例6: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
parent::tearDown();
// Não inicializa o APPLICATION_DATA pois alguns testes exigem que ele não exista
//@todo é possível ser condicional? teste case separado?
// Remove as pastas criadas
//$this->clearApplicationData();
}
示例7: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
$this->WindModule = null;
parent::tearDown();
}
示例8: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
parent::tearDown();
$this->factory = null;
}
示例9: tearDown
public function tearDown()
{
parent::tearDown();
}
示例10: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
$this->WindErrorMessage = null;
parent::tearDown();
}
示例11: tearDown
public function tearDown()
{
User::truncate();
parent::tearDown();
}
示例12: tearDown
/**
* Finaliase (post-tests)
*
* Deletes class variable $this->consignment
*
* @author Eddie Jaoude
* @param null
* @return null
*
*/
public function tearDown()
{
parent::tearDown();
unset($this->config);
}
开发者ID:MarS2806,项目名称:Zend-Framework--Doctrine-ORM--PHPUnit--Ant--Jenkins-CI--TDD-,代码行数:15,代码来源:appliationProductionModeTest.php
示例13: tearDown
public function tearDown()
{
parent::tearDown();
\DB::table("permissions")->where("permission_name", $this->permission)->delete();
}
示例14: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
$this->WindClassProxy = null;
parent::tearDown();
}
示例15: tearDown
/**
* Cleans up the environment after running a test.
*/
protected function tearDown()
{
$this->WindForward = null;
parent::tearDown();
}