Exemplo n.º 1
0
 /**
  * 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();
     $person = new Person();
     $person->dropTable();
     $rights = new Rights();
     $rights->dropTable();
     $rights->dropTable('Person2Rights');
     $rights->dropTable('Person2Article');
     $article = new Article();
     $article->dropTable();
 }
Exemplo n.º 2
0
 /**
  * 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);
 }
Exemplo n.º 3
0
 /**
  * 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();
     $this->sequence->dropTable();
     unset($this->sequence);
 }
Exemplo n.º 4
0
 /**
  * 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();
     unset($this->rel1);
     $person = new Person();
     $person->dropTable();
     $rights = new Rights();
     $rights->dropTable();
     $rights->dropTable('Person2Rights');
     $comment = new ArticleComment();
     $comment->dropTable();
     $article = new Article();
     $article->dropTable();
 }
Exemplo n.º 5
0
 /**
  * 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();
     unset($this->enum1);
     $this->person->dropTable();
     $rights = new Rights();
     $rights->dropTable();
     $rights->dropTable('Person2Rights');
     unset($this->person);
 }