function tearDown()
 {
     parent::tearDown();
     $this->object->tally();
     $this->parent_object->tally();
     $this->parent_object_controller->tally();
 }
 function test_db_table_cascade_delete($name = 'db table test case')
 {
     $this->image =& db_table_factory::instance('test_image');
     $this->image_variation =& db_table_factory::instance('test_image_variation');
     $this->media =& db_table_factory::instance('test_media');
     parent::test_db_case($name);
 }
Пример #3
0
 function tearDown()
 {
 	parent :: tearDown();
 	
 	$user =& user :: instance();
 	$user->logout();
 }
 function setUp()
 {
     parent::setUp();
     $this->ac =& access_policy::instance();
 }
 function setUp()
 {
     parent::setUp();
     $this->search_query = new search_query();
     $this->search = new full_text_search();
 }
Пример #6
0
 function setUp()
 {
     parent::setUp();
     $this->_load_tree();
 }
Пример #7
0
 function tearDown()
 {
     parent::tearDown();
     user::logout();
 }
 function test_search_find($name = 'search find test case')
 {
     parent::test_db_case($name);
     $this->search = new search();
 }