tearDown() protected method

See also: PHPUnit_Framework_TestCase::tearDown()
protected tearDown ( )
コード例 #1
0
ファイル: AuditLogTest.php プロジェクト: rickb838/scalr
 /**
  * {@inheritdoc}
  * @see PHPUnit_Framework_TestCase::tearDown()
  */
 public function tearDown()
 {
     if (\Scalr::getContainer()->initialized('user')) {
         \Scalr::getContainer()->release('user');
     }
     unset($this->logger);
     parent::tearDown();
 }
コード例 #2
0
ファイル: BuilderTest.php プロジェクト: scalr/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Tests\WebTestCase::tearDown()
  */
 protected function tearDown()
 {
     $this->builder = null;
     parent::tearDown();
 }
コード例 #3
0
ファイル: AuditLogTest.php プロジェクト: recipe/scalr
 /**
  * {@inheritdoc}
  * @see PHPUnit_Framework_TestCase::tearDown()
  */
 public function tearDown()
 {
     \Scalr::getContainer()->user = null;
     unset($this->logger);
     parent::tearDown();
 }
コード例 #4
0
ファイル: Ec2Test.php プロジェクト: recipe/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Tests.WebTestCase::tearDown(
  */
 protected function tearDown()
 {
     $this->module = null;
     parent::tearDown();
 }
コード例 #5
0
ファイル: TeamsTest.php プロジェクト: mheydt/scalr
 /**
  * {@inheritdoc}
  * @see Scalr\Tests.WebTestCase::tearDown()
  */
 protected function tearDown()
 {
     parent::tearDown();
 }