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'); }
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'); }
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)); }
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)); }
function setUp() { test_db_init(); /** not using teardown because this function does a truncate before starting. **/ }
function testDB() { test_db_init(); }