public function tearDown()
 {
     parent::tearDown();
     Kwf_Registry::getInstance()->offsetUnset('config');
     //re-reads config, undoes changes to config done above
     Kwf_Registry::getInstance()->offsetUnset('userModel');
     Kwf_Registry::get('config')->user->model = $this->presetModel;
 }
Esempio n. 2
0
 public function setUp()
 {
     if (!Kwf_Registry::get('config')->amazon || !Kwf_Registry::get('config')->amazon->key) {
         $this->markTestSkipped();
     }
     Kwf_Component_Data_Root::setComponentClass('Kwc_Advanced_Amazon_Nodes_Root');
     $this->_root = Kwf_Component_Data_Root::getInstance();
     parent::setUp();
 }
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_Composite_ImagesEnlarge_Root');
 }
 public function tearDown()
 {
     Kwf_Test_SeparateDb::restoreTestDb();
     parent::tearDown();
 }
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_Directories_AjaxViewTwoOnOnePage_Root');
 }
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_Paragraphs_Paragraphs');
 }
Esempio n. 7
0
 public function setUp()
 {
     Kwf_Component_Data_Root::setComponentClass('Kwf_Form_FieldSet_Frontend_Root');
     $this->_root = Kwf_Component_Data_Root::getInstance();
     parent::setUp();
 }
 public function setUp()
 {
     parent::setUp();
     $this->setTimeout(120000);
 }
Esempio n. 9
0
 /**
  * Use this links to test components for responsiveness:
  * This is a manually test. Please copy urls into browser and check result
  * and especially behaviour for different screensizes
  *
  * Abstract-Image-Component:
  *   http://kwf.benjamin.vivid/kwf/kwctest/Kwc_ImageResponsive_CreatesImgElement_Root_Component/imageabstract1
  *   http://kwf.benjamin.vivid/kwf/kwctest/Kwc_ImageResponsive_CreatesImgElement_Root_Component/imageabstract2
  *   http://kwf.benjamin.vivid/kwf/kwctest/Kwc_ImageResponsive_CreatesImgElement_Root_Component/imageabstract3
  *   http://kwf.benjamin.vivid/kwf/kwctest/Kwc_ImageResponsive_CreatesImgElement_Root_Component/imageabstract4
  *
  * Basic-Image-Component:
  *   http://kwf.benjamin.vivid/kwf/kwctest/Kwc_ImageResponsive_CreatesImgElement_Root_Component/imagebasic1
  *
  * Basic-Image-Enlarge-Component:
  *   http://kwf.benjamin.vivid/kwf/kwctest/Kwc_ImageResponsive_CreatesImgElement_Root_Component/imageenlarge1
  *
  * TextImage-Component:
  *   http://kwf.benjamin.vivid/kwf/kwctest/Kwc_ImageResponsive_CreatesImgElement_Root_Component/textimage1
  */
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_ImageResponsive_CreatesImgElement_Root_Component');
 }
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_TextImage_Root');
 }
Esempio n. 11
0
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_FormDynamic_Basic_Root');
 }
 public function setUp()
 {
     Kwf_Component_Data_Root::setComponentClass('Kwc_Advanced_SocialBookmarks_Root');
     parent::setUp();
 }
 public function tearDown()
 {
     parent::tearDown();
 }
Esempio n. 14
0
 /**
  *   http://kwf.niko.vivid/kwf/kwctest/Kwc_ImageResponsive_InScrollDiv_Root_Component/image1
  */
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_ImageResponsive_InScrollDiv_Root_Component');
 }
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_Trl_Table_Root_Root');
 }
Esempio n. 16
0
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_Directories_AjaxViewMultipleDirectories_Root');
 }
Esempio n. 17
0
 public function tearDown()
 {
     parent::tearDown();
     Kwf_Component_Data_Root::setComponentClass(null);
 }
 public function setUp()
 {
     Kwf_Component_Data_Root::setComponentClass('Kwf_Component_SharedData_Component');
     parent::setUp();
 }
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_Legacy_Columns_Basic_Root');
 }
 public function setUp()
 {
     Kwf_Component_Data_Root::setComponentClass('Kwc_Basic_TextSessionModel_Root');
     parent::setUp();
 }
 public function setUp()
 {
     parent::setUp();
     Kwf_Component_Data_Root::setComponentClass('Kwc_FormWizard_Root');
 }
Esempio n. 22
0
 public function setUp()
 {
     Kwf_Component_Data_Root::setComponentClass('Kwc_Basic_DownloadTagBehindLogin_Root');
     parent::setUp();
 }