Example #1
0
 public function tearDown()
 {
     parent::tearDown();
     if (is_object($this->driver)) {
         $this->driver->close();
     }
 }
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->dropTables();
     unset($this->Base);
     $this->clearApplicationData();
 }
Example #3
0
 /**
  * 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();
 }
Example #4
0
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->dropTables();
     unset($this->Db);
     // Remove as pastas criadas
     $this->clearApplicationData();
 }
 public function tearDown()
 {
     MysqlUser::truncate();
     MysqlBook::truncate();
     MysqlRole::truncate();
     Book::truncate();
     parent::tearDown();
 }
Example #6
0
 /**
  * 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();
 }
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindModule = null;
     parent::tearDown();
 }
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->factory = null;
 }
 public function tearDown()
 {
     parent::tearDown();
 }
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindErrorMessage = null;
     parent::tearDown();
 }
Example #11
0
 public function tearDown()
 {
     User::truncate();
     parent::tearDown();
 }
 /**
  * Finaliase (post-tests)
  *
  * Deletes class variable $this->consignment
  *
  * @author 	Eddie Jaoude
  * @param 	null
  * @return 	null
  *
  */
 public function tearDown()
 {
     parent::tearDown();
     unset($this->config);
 }
 public function tearDown()
 {
     parent::tearDown();
     \DB::table("permissions")->where("permission_name", $this->permission)->delete();
 }
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindClassProxy = null;
     parent::tearDown();
 }
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindForward = null;
     parent::tearDown();
 }
 public function tearDown()
 {
     parent::tearDown();
     $this->deleteUploadedImage();
     DB::statement('TRUNCATE company CASCADE');
 }
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     parent::tearDown();
 }
Example #18
0
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     // TODO Auto-generated MailTest::tearDown()
     $this->RW_Mail = null;
     parent::tearDown();
 }
Example #19
0
 protected function tearDown()
 {
     Propel::setDB(null, $this->savedAdapter);
     parent::tearDown();
 }
 /**
  * Cleans up the environment after running a test.
  */
 protected function tearDown()
 {
     $this->WindFrontController = null;
     parent::tearDown();
 }