|
@@ -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.'
|
|
|
- );
|
|
|
- }
|
|
|
-}
|