You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
220 lines
5.3 KiB
220 lines
5.3 KiB
<?php
|
|
/**
|
|
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:55.
|
|
*/
|
|
class PDOTest extends PHPUnit_Framework_TestCase
|
|
{
|
|
/**
|
|
* @var PDO
|
|
*/
|
|
protected $object;
|
|
|
|
/**
|
|
* Sets up the fixture, for example, opens a network connection.
|
|
* This method is called before a test is executed.
|
|
*/
|
|
protected function setUp()
|
|
{
|
|
$this->object = new PDO;
|
|
}
|
|
|
|
/**
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
* This method is called after a test is executed.
|
|
*/
|
|
protected function tearDown()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::prepare
|
|
* @todo Implement testPrepare().
|
|
*/
|
|
public function testPrepare()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::beginTransaction
|
|
* @todo Implement testBeginTransaction().
|
|
*/
|
|
public function testBeginTransaction()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::commit
|
|
* @todo Implement testCommit().
|
|
*/
|
|
public function testCommit()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::rollBack
|
|
* @todo Implement testRollBack().
|
|
*/
|
|
public function testRollBack()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::inTransaction
|
|
* @todo Implement testInTransaction().
|
|
*/
|
|
public function testInTransaction()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::setAttribute
|
|
* @todo Implement testSetAttribute().
|
|
*/
|
|
public function testSetAttribute()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::exec
|
|
* @todo Implement testExec().
|
|
*/
|
|
public function testExec()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::query
|
|
* @todo Implement testQuery().
|
|
*/
|
|
public function testQuery()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::lastInsertId
|
|
* @todo Implement testLastInsertId().
|
|
*/
|
|
public function testLastInsertId()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::errorCode
|
|
* @todo Implement testErrorCode().
|
|
*/
|
|
public function testErrorCode()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::errorInfo
|
|
* @todo Implement testErrorInfo().
|
|
*/
|
|
public function testErrorInfo()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::getAttribute
|
|
* @todo Implement testGetAttribute().
|
|
*/
|
|
public function testGetAttribute()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::quote
|
|
* @todo Implement testQuote().
|
|
*/
|
|
public function testQuote()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::__wakeup
|
|
* @todo Implement test__wakeup().
|
|
*/
|
|
public function test__wakeup()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::__sleep
|
|
* @todo Implement test__sleep().
|
|
*/
|
|
public function test__sleep()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @covers PDO::getAvailableDrivers
|
|
* @todo Implement testGetAvailableDrivers().
|
|
*/
|
|
public function testGetAvailableDrivers()
|
|
{
|
|
// Remove the following lines when you implement this test.
|
|
$this->markTestIncomplete(
|
|
'This test has not been implemented yet.'
|
|
);
|
|
}
|
|
}
|
|
|