parent
a45a3a349f
commit
10045e3a98
@ -1,110 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Generated by PHPUnit_SkeletonGenerator on 2013-02-17 at 00:36:52. |
||||
*/ |
||||
// exiting because generates fatal error: |
||||
// Fatal error: Cannot instantiate abstract class Access in /var/lib/jenkins/jobs/chamilo-lms-1.9/workspace/tests/phpunit/classes/AccessTest.class.php on line 18 |
||||
//exit; |
||||
return; |
||||
class AccessTest extends PHPUnit_Framework_TestCase |
||||
{ |
||||
/** |
||||
* @var Access |
||||
*/ |
||||
protected $object; |
||||
|
||||
/** |
||||
* Sets up the fixture, for example, opens a network connection. |
||||
* This method is called before a test is executed. |
||||
*/ |
||||
protected function setUp() |
||||
{ |
||||
require_once dirname(__FILE__).'/../../../main/inc/global.inc.php'; |
||||
$this->object = new Access; |
||||
} |
||||
|
||||
/** |
||||
* Tears down the fixture, for example, closes a network connection. |
||||
* This method is called after a test is executed. |
||||
*/ |
||||
protected function tearDown() |
||||
{ |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () !== null. |
||||
* |
||||
* @covers Access::all |
||||
*/ |
||||
public function testAll() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
Access::all() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () === null. |
||||
* |
||||
* @covers Access::forbidden |
||||
*/ |
||||
public function testForbidden() |
||||
{ |
||||
$this->assertSame( |
||||
null, |
||||
Access::forbidden() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () === false. |
||||
* |
||||
* @covers Access::is_token_valid |
||||
*/ |
||||
public function testIs_token_valid() |
||||
{ |
||||
$this->assertSame( |
||||
false, |
||||
$this->object->is_token_valid() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () !== null. |
||||
* |
||||
* @covers Access::get_session_token |
||||
*/ |
||||
public function testGet_session_token() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
$this->object->get_session_token() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () === false. |
||||
* |
||||
* @covers Access::authorize |
||||
*/ |
||||
public function testAuthorize() |
||||
{ |
||||
$this->assertSame( |
||||
false, |
||||
$this->object->authorize() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers Access::get_token |
||||
* @todo Implement testGet_token(). |
||||
*/ |
||||
public function testGet_token() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
} |
||||
@ -1,172 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Generated by PHPUnit_SkeletonGenerator on 2013-02-17 at 00:37:09. |
||||
*/ |
||||
class AccessTokenTest extends PHPUnit_Framework_TestCase |
||||
{ |
||||
/** |
||||
* @var AccessToken |
||||
*/ |
||||
protected $object; |
||||
|
||||
/** |
||||
* Sets up the fixture, for example, opens a network connection. |
||||
* This method is called before a test is executed. |
||||
*/ |
||||
protected function setUp() |
||||
{ |
||||
require_once dirname(__FILE__).'/../../../main/inc/global.inc.php'; |
||||
$this->object = new AccessToken; |
||||
} |
||||
|
||||
/** |
||||
* Tears down the fixture, for example, closes a network connection. |
||||
* This method is called after a test is executed. |
||||
*/ |
||||
protected function tearDown() |
||||
{ |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () !== null. |
||||
* |
||||
* @covers AccessToken::empty_token |
||||
*/ |
||||
public function testEmpty_token() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
AccessToken::empty_token() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert ('') !== null. |
||||
* |
||||
* @covers AccessToken::parse |
||||
*/ |
||||
public function testParse() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
AccessToken::parse('') |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert (base64_encode('a/b')) !== null. |
||||
* |
||||
* @covers AccessToken::parse |
||||
*/ |
||||
public function testParse2() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
AccessToken::parse(base64_encode('a/b')) |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert (base64_encode('a/b/c')) !== null. |
||||
* |
||||
* @covers AccessToken::parse |
||||
*/ |
||||
public function testParse3() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
AccessToken::parse(base64_encode('a/b/c')) |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert (0, 0, 'a') !== null. |
||||
* |
||||
* @covers AccessToken::create |
||||
*/ |
||||
public function testCreate() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
AccessToken::create(0, 0, 'a') |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () > 0. |
||||
* |
||||
* @covers AccessToken::get_id |
||||
*/ |
||||
public function testGet_id() |
||||
{ |
||||
$this->assertGreaterThan( |
||||
0, |
||||
$this->object->get_id() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () > 0. |
||||
* |
||||
* @covers AccessToken::get_user_id |
||||
*/ |
||||
public function testGet_user_id() |
||||
{ |
||||
$this->assertGreaterThan( |
||||
0, |
||||
$this->object->get_user_id() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () !== null. |
||||
* |
||||
* @covers AccessToken::get_key |
||||
*/ |
||||
public function testGet_key() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
$this->object->get_key() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () === true. |
||||
* |
||||
* @covers AccessToken::is_empty |
||||
*/ |
||||
public function testIs_empty() |
||||
{ |
||||
$this->assertSame( |
||||
true, |
||||
$this->object->is_empty() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () === false. |
||||
* |
||||
* @covers AccessToken::is_valid |
||||
*/ |
||||
public function testIs_valid() |
||||
{ |
||||
$this->assertSame( |
||||
false, |
||||
$this->object->is_valid() |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* Generated from @assert () !== null. |
||||
* |
||||
* @covers AccessToken::__toString |
||||
*/ |
||||
public function test__toString() |
||||
{ |
||||
$this->assertNotSame( |
||||
null, |
||||
$this->object->__toString() |
||||
); |
||||
} |
||||
} |
||||
@ -1,172 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:58. |
||||
*/ |
||||
class XSLTProcessorTest extends PHPUnit_Framework_TestCase |
||||
{ |
||||
/** |
||||
* @var XSLTProcessor |
||||
*/ |
||||
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 XSLTProcessor; |
||||
} |
||||
|
||||
/** |
||||
* Tears down the fixture, for example, closes a network connection. |
||||
* This method is called after a test is executed. |
||||
*/ |
||||
protected function tearDown() |
||||
{ |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::importStylesheet |
||||
* @todo Implement testImportStylesheet(). |
||||
*/ |
||||
public function testImportStylesheet() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::transformToDoc |
||||
* @todo Implement testTransformToDoc(). |
||||
*/ |
||||
public function testTransformToDoc() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::transformToUri |
||||
* @todo Implement testTransformToUri(). |
||||
*/ |
||||
public function testTransformToUri() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::transformToXml |
||||
* @todo Implement testTransformToXml(). |
||||
*/ |
||||
public function testTransformToXml() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::setParameter |
||||
* @todo Implement testSetParameter(). |
||||
*/ |
||||
public function testSetParameter() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::getParameter |
||||
* @todo Implement testGetParameter(). |
||||
*/ |
||||
public function testGetParameter() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::removeParameter |
||||
* @todo Implement testRemoveParameter(). |
||||
*/ |
||||
public function testRemoveParameter() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::hasExsltSupport |
||||
* @todo Implement testHasExsltSupport(). |
||||
*/ |
||||
public function testHasExsltSupport() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::registerPHPFunctions |
||||
* @todo Implement testRegisterPHPFunctions(). |
||||
*/ |
||||
public function testRegisterPHPFunctions() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::setProfiling |
||||
* @todo Implement testSetProfiling(). |
||||
*/ |
||||
public function testSetProfiling() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::setSecurityPrefs |
||||
* @todo Implement testSetSecurityPrefs(). |
||||
*/ |
||||
public function testSetSecurityPrefs() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers XSLTProcessor::getSecurityPrefs |
||||
* @todo Implement testGetSecurityPrefs(). |
||||
*/ |
||||
public function testGetSecurityPrefs() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
} |
||||
@ -1,484 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:57. |
||||
*/ |
||||
class mysqliTest extends PHPUnit_Framework_TestCase |
||||
{ |
||||
/** |
||||
* @var mysqli |
||||
*/ |
||||
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 mysqli; |
||||
} |
||||
|
||||
/** |
||||
* Tears down the fixture, for example, closes a network connection. |
||||
* This method is called after a test is executed. |
||||
*/ |
||||
protected function tearDown() |
||||
{ |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::autocommit |
||||
* @todo Implement testAutocommit(). |
||||
*/ |
||||
public function testAutocommit() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::change_user |
||||
* @todo Implement testChange_user(). |
||||
*/ |
||||
public function testChange_user() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::character_set_name |
||||
* @todo Implement testCharacter_set_name(). |
||||
*/ |
||||
public function testCharacter_set_name() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::close |
||||
* @todo Implement testClose(). |
||||
*/ |
||||
public function testClose() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::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 mysqli::connect |
||||
* @todo Implement testConnect(). |
||||
*/ |
||||
public function testConnect() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::dump_debug_info |
||||
* @todo Implement testDump_debug_info(). |
||||
*/ |
||||
public function testDump_debug_info() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::debug |
||||
* @todo Implement testDebug(). |
||||
*/ |
||||
public function testDebug() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::get_charset |
||||
* @todo Implement testGet_charset(). |
||||
*/ |
||||
public function testGet_charset() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::get_client_info |
||||
* @todo Implement testGet_client_info(). |
||||
*/ |
||||
public function testGet_client_info() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::get_server_info |
||||
* @todo Implement testGet_server_info(). |
||||
*/ |
||||
public function testGet_server_info() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::get_warnings |
||||
* @todo Implement testGet_warnings(). |
||||
*/ |
||||
public function testGet_warnings() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::init |
||||
* @todo Implement testInit(). |
||||
*/ |
||||
public function testInit() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::kill |
||||
* @todo Implement testKill(). |
||||
*/ |
||||
public function testKill() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::set_local_infile_default |
||||
* @todo Implement testSet_local_infile_default(). |
||||
*/ |
||||
public function testSet_local_infile_default() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::set_local_infile_handler |
||||
* @todo Implement testSet_local_infile_handler(). |
||||
*/ |
||||
public function testSet_local_infile_handler() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::multi_query |
||||
* @todo Implement testMulti_query(). |
||||
*/ |
||||
public function testMulti_query() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::more_results |
||||
* @todo Implement testMore_results(). |
||||
*/ |
||||
public function testMore_results() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::next_result |
||||
* @todo Implement testNext_result(). |
||||
*/ |
||||
public function testNext_result() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::options |
||||
* @todo Implement testOptions(). |
||||
*/ |
||||
public function testOptions() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::ping |
||||
* @todo Implement testPing(). |
||||
*/ |
||||
public function testPing() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::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 mysqli::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 mysqli::real_connect |
||||
* @todo Implement testReal_connect(). |
||||
*/ |
||||
public function testReal_connect() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::real_escape_string |
||||
* @todo Implement testReal_escape_string(). |
||||
*/ |
||||
public function testReal_escape_string() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::escape_string |
||||
* @todo Implement testEscape_string(). |
||||
*/ |
||||
public function testEscape_string() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::real_query |
||||
* @todo Implement testReal_query(). |
||||
*/ |
||||
public function testReal_query() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::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 mysqli::select_db |
||||
* @todo Implement testSelect_db(). |
||||
*/ |
||||
public function testSelect_db() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::set_charset |
||||
* @todo Implement testSet_charset(). |
||||
*/ |
||||
public function testSet_charset() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::set_opt |
||||
* @todo Implement testSet_opt(). |
||||
*/ |
||||
public function testSet_opt() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::ssl_set |
||||
* @todo Implement testSsl_set(). |
||||
*/ |
||||
public function testSsl_set() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::stat |
||||
* @todo Implement testStat(). |
||||
*/ |
||||
public function testStat() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::stmt_init |
||||
* @todo Implement testStmt_init(). |
||||
*/ |
||||
public function testStmt_init() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::store_result |
||||
* @todo Implement testStore_result(). |
||||
*/ |
||||
public function testStore_result() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::thread_safe |
||||
* @todo Implement testThread_safe(). |
||||
*/ |
||||
public function testThread_safe() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::use_result |
||||
* @todo Implement testUse_result(). |
||||
*/ |
||||
public function testUse_result() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli::refresh |
||||
* @todo Implement testRefresh(). |
||||
*/ |
||||
public function testRefresh() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
} |
||||
@ -1,28 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:57. |
||||
*/ |
||||
class mysqli_driverTest extends PHPUnit_Framework_TestCase |
||||
{ |
||||
/** |
||||
* @var mysqli_driver |
||||
*/ |
||||
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 mysqli_driver; |
||||
} |
||||
|
||||
/** |
||||
* Tears down the fixture, for example, closes a network connection. |
||||
* This method is called after a test is executed. |
||||
*/ |
||||
protected function tearDown() |
||||
{ |
||||
} |
||||
} |
||||
@ -1,172 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:58. |
||||
*/ |
||||
class mysqli_resultTest extends PHPUnit_Framework_TestCase |
||||
{ |
||||
/** |
||||
* @var mysqli_result |
||||
*/ |
||||
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 mysqli_result; |
||||
} |
||||
|
||||
/** |
||||
* Tears down the fixture, for example, closes a network connection. |
||||
* This method is called after a test is executed. |
||||
*/ |
||||
protected function tearDown() |
||||
{ |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::close |
||||
* @todo Implement testClose(). |
||||
*/ |
||||
public function testClose() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::free |
||||
* @todo Implement testFree(). |
||||
*/ |
||||
public function testFree() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::data_seek |
||||
* @todo Implement testData_seek(). |
||||
*/ |
||||
public function testData_seek() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::fetch_field |
||||
* @todo Implement testFetch_field(). |
||||
*/ |
||||
public function testFetch_field() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::fetch_fields |
||||
* @todo Implement testFetch_fields(). |
||||
*/ |
||||
public function testFetch_fields() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::fetch_field_direct |
||||
* @todo Implement testFetch_field_direct(). |
||||
*/ |
||||
public function testFetch_field_direct() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::fetch_array |
||||
* @todo Implement testFetch_array(). |
||||
*/ |
||||
public function testFetch_array() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::fetch_assoc |
||||
* @todo Implement testFetch_assoc(). |
||||
*/ |
||||
public function testFetch_assoc() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::fetch_object |
||||
* @todo Implement testFetch_object(). |
||||
*/ |
||||
public function testFetch_object() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::fetch_row |
||||
* @todo Implement testFetch_row(). |
||||
*/ |
||||
public function testFetch_row() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::field_seek |
||||
* @todo Implement testField_seek(). |
||||
*/ |
||||
public function testField_seek() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_result::free_result |
||||
* @todo Implement testFree_result(). |
||||
*/ |
||||
public function testFree_result() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
} |
||||
@ -1,28 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:57. |
||||
*/ |
||||
class mysqli_sql_exceptionTest extends PHPUnit_Framework_TestCase |
||||
{ |
||||
/** |
||||
* @var mysqli_sql_exception |
||||
*/ |
||||
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 mysqli_sql_exception; |
||||
} |
||||
|
||||
/** |
||||
* Tears down the fixture, for example, closes a network connection. |
||||
* This method is called after a test is executed. |
||||
*/ |
||||
protected function tearDown() |
||||
{ |
||||
} |
||||
} |
||||
@ -1,220 +0,0 @@ |
||||
<?php |
||||
/** |
||||
* Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:58. |
||||
*/ |
||||
class mysqli_stmtTest extends PHPUnit_Framework_TestCase |
||||
{ |
||||
/** |
||||
* @var mysqli_stmt |
||||
*/ |
||||
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 mysqli_stmt; |
||||
} |
||||
|
||||
/** |
||||
* Tears down the fixture, for example, closes a network connection. |
||||
* This method is called after a test is executed. |
||||
*/ |
||||
protected function tearDown() |
||||
{ |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::attr_get |
||||
* @todo Implement testAttr_get(). |
||||
*/ |
||||
public function testAttr_get() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::attr_set |
||||
* @todo Implement testAttr_set(). |
||||
*/ |
||||
public function testAttr_set() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::bind_param |
||||
* @todo Implement testBind_param(). |
||||
*/ |
||||
public function testBind_param() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::bind_result |
||||
* @todo Implement testBind_result(). |
||||
*/ |
||||
public function testBind_result() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::close |
||||
* @todo Implement testClose(). |
||||
*/ |
||||
public function testClose() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::data_seek |
||||
* @todo Implement testData_seek(). |
||||
*/ |
||||
public function testData_seek() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::execute |
||||
* @todo Implement testExecute(). |
||||
*/ |
||||
public function testExecute() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::fetch |
||||
* @todo Implement testFetch(). |
||||
*/ |
||||
public function testFetch() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::get_warnings |
||||
* @todo Implement testGet_warnings(). |
||||
*/ |
||||
public function testGet_warnings() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::result_metadata |
||||
* @todo Implement testResult_metadata(). |
||||
*/ |
||||
public function testResult_metadata() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::num_rows |
||||
* @todo Implement testNum_rows(). |
||||
*/ |
||||
public function testNum_rows() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::send_long_data |
||||
* @todo Implement testSend_long_data(). |
||||
*/ |
||||
public function testSend_long_data() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::free_result |
||||
* @todo Implement testFree_result(). |
||||
*/ |
||||
public function testFree_result() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::reset |
||||
* @todo Implement testReset(). |
||||
*/ |
||||
public function testReset() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
|
||||
/** |
||||
* @covers mysqli_stmt::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 mysqli_stmt::store_result |
||||
* @todo Implement testStore_result(). |
||||
*/ |
||||
public function testStore_result() |
||||
{ |
||||
// Remove the following lines when you implement this test. |
||||
$this->markTestIncomplete( |
||||
'This test has not been implemented yet.' |
||||
); |
||||
} |
||||
} |
||||
Loading…
Reference in new issue