Example #1
0
 function setUp()
 {
     test_db_init();
     /** not using teardown because this function does a truncate
         before starting. **/
     $this->dbc = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
 }
Example #2
0
 public function setUp()
 {
     test_db_init();
     $this->dbc = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
     $this->dbc2 = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
     $this->dbc3 = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
 }
Example #3
0
 function setUp()
 {
     test_db_init();
     $lh = 'localhost';
     $td = 'tester_dude';
     $ty = 'testy';
     $tt = 'testostonomie';
     /** not using teardown because this function does a truncate
         before starting. **/
     $this->dbc = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
     $this->dbc2 = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
     $this->dbc3 = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
     $this->fks = new folksoSession(new folksoDBconnect($lh, $td, $ty, $tt));
     $this->fks2 = new folksoSession(new folksoDBconnect($lh, $td, $ty, $tt));
     $this->fks3 = new folksoSession(new folksoDBconnect($lh, $td, $ty, $tt));
     $this->fks4 = new folksoSession(new folksoDBconnect($lh, $td, $ty, $tt));
 }
Example #4
0
 function setUp()
 {
     test_db_init();
     /** not using teardown because this function does a truncate
             before starting. This way we can look at DB after the last
             test, too. Note that all other tests have no effect on DB
             state at end of tests.
         **/
     $lh = 'localhost';
     $td = 'tester_dude';
     $ty = 'testy';
     $tt = 'testostonomie';
     $this->dbc = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
     $this->dbc2 = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
     $this->dbc3 = new folksoDBconnect('localhost', 'tester_dude', 'testy', 'testostonomie');
     $this->fks = new folksoSession(new folksoDBconnect($lh, $td, $ty, $tt));
     $this->fks2 = new folksoSession(new folksoDBconnect($lh, $td, $ty, $tt));
     $this->fks3 = new folksoSession(new folksoDBconnect($lh, $td, $ty, $tt));
     $this->fks4 = new folksoSession(new folksoDBconnect($lh, $td, $ty, $tt));
 }
Example #5
0
 function setUp()
 {
     test_db_init();
     /** not using teardown because this function does a truncate
         before starting. **/
 }
Example #6
0
 function testDB()
 {
     test_db_init();
 }