PHPUnit_Extensions_Database_TestCase::setUp PHP Method

setUp() protected method

Performs operation returned by getSetUpOperation().
protected setUp ( )
    protected function setUp()
    {
        parent::setUp();
        $this->databaseTester = NULL;
        $this->getDatabaseTester()->setSetUpOperation($this->getSetUpOperation());
        $this->getDatabaseTester()->setDataSet($this->getDataSet());
        $this->getDatabaseTester()->onSetUp();
    }

Usage Example

コード例 #1
0
 protected function setUp()
 {
     $this->getConnection();
     $this->preSetup();
     parent::setUp();
     $this->postSetup();
 }
All Usage Examples Of PHPUnit_Extensions_Database_TestCase::setUp