本文整理匯總了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();
}