public function setUp()
 {
     $this->output_prefix = dirname(__FILE__) . '/../testdata/unit_test_xml_a';
     parent::setUp();
     $this->pgsql8->create_db();
     $host = $this->pgsql8->get_dbhost();
     $port = $this->pgsql8->get_dbport();
     $database = $this->pgsql8->get_dbname();
     $user = $this->pgsql8->get_dbuser();
     $password = $this->pgsql8->get_dbpass();
     // github PR#76 - connection is already handled and established by pgsql8::extract_schema()
     // don't need to establish a connection and let it block testing framework operations
     // pgsql8_db::connect("host=$host port=$port dbname=$database user=$user password=$password");
 }
 public function setUp()
 {
     parent::setUp();
 }
 /**
  * 
  */
 public function tearDown()
 {
     dbsteward::$quote_all_names = static::$last_quote_all_names;
     parent::tearDown();
 }
Exemplo n.º 4
0
 protected function setUp()
 {
     $this->mssql10_serial_xml_a = $this->pgsql8_serial_xml_a;
     $this->mssql10_serial_xml_b = $this->pgsql8_serial_xml_b;
     // mysql5 usernames must be <= 16 chars
     $this->mysql5_serial_xml_a = str_replace('dbsteward_phpunit_app', 'dbsteward_pu_app', $this->pgsql8_serial_xml_a);
     $this->mysql5_serial_xml_b = str_replace('dbsteward_phpunit_app', 'dbsteward_pu_app', $this->pgsql8_serial_xml_b);
     $this->mssql10_single_xml_a = $this->pgsql8_single_xml_a;
     $this->mssql10_single_xml_b = $this->pgsql8_single_xml_b;
     $this->mysql5_single_xml_a = str_replace('dbsteward_phpunit_app', 'dbsteward_pu_app', $this->pgsql8_single_xml_a);
     $this->mysql5_single_xml_b = str_replace('dbsteward_phpunit_app', 'dbsteward_pu_app', $this->pgsql8_single_xml_b);
     parent::setUp();
 }