mysqliTest.class.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  1. <?php
  2. /**
  3. * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:57.
  4. */
  5. class mysqliTest extends PHPUnit_Framework_TestCase
  6. {
  7. /**
  8. * @var mysqli
  9. */
  10. protected $object;
  11. /**
  12. * Sets up the fixture, for example, opens a network connection.
  13. * This method is called before a test is executed.
  14. */
  15. protected function setUp()
  16. {
  17. $this->object = new mysqli;
  18. }
  19. /**
  20. * Tears down the fixture, for example, closes a network connection.
  21. * This method is called after a test is executed.
  22. */
  23. protected function tearDown()
  24. {
  25. }
  26. /**
  27. * @covers mysqli::autocommit
  28. * @todo Implement testAutocommit().
  29. */
  30. public function testAutocommit()
  31. {
  32. // Remove the following lines when you implement this test.
  33. $this->markTestIncomplete(
  34. 'This test has not been implemented yet.'
  35. );
  36. }
  37. /**
  38. * @covers mysqli::change_user
  39. * @todo Implement testChange_user().
  40. */
  41. public function testChange_user()
  42. {
  43. // Remove the following lines when you implement this test.
  44. $this->markTestIncomplete(
  45. 'This test has not been implemented yet.'
  46. );
  47. }
  48. /**
  49. * @covers mysqli::character_set_name
  50. * @todo Implement testCharacter_set_name().
  51. */
  52. public function testCharacter_set_name()
  53. {
  54. // Remove the following lines when you implement this test.
  55. $this->markTestIncomplete(
  56. 'This test has not been implemented yet.'
  57. );
  58. }
  59. /**
  60. * @covers mysqli::close
  61. * @todo Implement testClose().
  62. */
  63. public function testClose()
  64. {
  65. // Remove the following lines when you implement this test.
  66. $this->markTestIncomplete(
  67. 'This test has not been implemented yet.'
  68. );
  69. }
  70. /**
  71. * @covers mysqli::commit
  72. * @todo Implement testCommit().
  73. */
  74. public function testCommit()
  75. {
  76. // Remove the following lines when you implement this test.
  77. $this->markTestIncomplete(
  78. 'This test has not been implemented yet.'
  79. );
  80. }
  81. /**
  82. * @covers mysqli::connect
  83. * @todo Implement testConnect().
  84. */
  85. public function testConnect()
  86. {
  87. // Remove the following lines when you implement this test.
  88. $this->markTestIncomplete(
  89. 'This test has not been implemented yet.'
  90. );
  91. }
  92. /**
  93. * @covers mysqli::dump_debug_info
  94. * @todo Implement testDump_debug_info().
  95. */
  96. public function testDump_debug_info()
  97. {
  98. // Remove the following lines when you implement this test.
  99. $this->markTestIncomplete(
  100. 'This test has not been implemented yet.'
  101. );
  102. }
  103. /**
  104. * @covers mysqli::debug
  105. * @todo Implement testDebug().
  106. */
  107. public function testDebug()
  108. {
  109. // Remove the following lines when you implement this test.
  110. $this->markTestIncomplete(
  111. 'This test has not been implemented yet.'
  112. );
  113. }
  114. /**
  115. * @covers mysqli::get_charset
  116. * @todo Implement testGet_charset().
  117. */
  118. public function testGet_charset()
  119. {
  120. // Remove the following lines when you implement this test.
  121. $this->markTestIncomplete(
  122. 'This test has not been implemented yet.'
  123. );
  124. }
  125. /**
  126. * @covers mysqli::get_client_info
  127. * @todo Implement testGet_client_info().
  128. */
  129. public function testGet_client_info()
  130. {
  131. // Remove the following lines when you implement this test.
  132. $this->markTestIncomplete(
  133. 'This test has not been implemented yet.'
  134. );
  135. }
  136. /**
  137. * @covers mysqli::get_server_info
  138. * @todo Implement testGet_server_info().
  139. */
  140. public function testGet_server_info()
  141. {
  142. // Remove the following lines when you implement this test.
  143. $this->markTestIncomplete(
  144. 'This test has not been implemented yet.'
  145. );
  146. }
  147. /**
  148. * @covers mysqli::get_warnings
  149. * @todo Implement testGet_warnings().
  150. */
  151. public function testGet_warnings()
  152. {
  153. // Remove the following lines when you implement this test.
  154. $this->markTestIncomplete(
  155. 'This test has not been implemented yet.'
  156. );
  157. }
  158. /**
  159. * @covers mysqli::init
  160. * @todo Implement testInit().
  161. */
  162. public function testInit()
  163. {
  164. // Remove the following lines when you implement this test.
  165. $this->markTestIncomplete(
  166. 'This test has not been implemented yet.'
  167. );
  168. }
  169. /**
  170. * @covers mysqli::kill
  171. * @todo Implement testKill().
  172. */
  173. public function testKill()
  174. {
  175. // Remove the following lines when you implement this test.
  176. $this->markTestIncomplete(
  177. 'This test has not been implemented yet.'
  178. );
  179. }
  180. /**
  181. * @covers mysqli::set_local_infile_default
  182. * @todo Implement testSet_local_infile_default().
  183. */
  184. public function testSet_local_infile_default()
  185. {
  186. // Remove the following lines when you implement this test.
  187. $this->markTestIncomplete(
  188. 'This test has not been implemented yet.'
  189. );
  190. }
  191. /**
  192. * @covers mysqli::set_local_infile_handler
  193. * @todo Implement testSet_local_infile_handler().
  194. */
  195. public function testSet_local_infile_handler()
  196. {
  197. // Remove the following lines when you implement this test.
  198. $this->markTestIncomplete(
  199. 'This test has not been implemented yet.'
  200. );
  201. }
  202. /**
  203. * @covers mysqli::multi_query
  204. * @todo Implement testMulti_query().
  205. */
  206. public function testMulti_query()
  207. {
  208. // Remove the following lines when you implement this test.
  209. $this->markTestIncomplete(
  210. 'This test has not been implemented yet.'
  211. );
  212. }
  213. /**
  214. * @covers mysqli::more_results
  215. * @todo Implement testMore_results().
  216. */
  217. public function testMore_results()
  218. {
  219. // Remove the following lines when you implement this test.
  220. $this->markTestIncomplete(
  221. 'This test has not been implemented yet.'
  222. );
  223. }
  224. /**
  225. * @covers mysqli::next_result
  226. * @todo Implement testNext_result().
  227. */
  228. public function testNext_result()
  229. {
  230. // Remove the following lines when you implement this test.
  231. $this->markTestIncomplete(
  232. 'This test has not been implemented yet.'
  233. );
  234. }
  235. /**
  236. * @covers mysqli::options
  237. * @todo Implement testOptions().
  238. */
  239. public function testOptions()
  240. {
  241. // Remove the following lines when you implement this test.
  242. $this->markTestIncomplete(
  243. 'This test has not been implemented yet.'
  244. );
  245. }
  246. /**
  247. * @covers mysqli::ping
  248. * @todo Implement testPing().
  249. */
  250. public function testPing()
  251. {
  252. // Remove the following lines when you implement this test.
  253. $this->markTestIncomplete(
  254. 'This test has not been implemented yet.'
  255. );
  256. }
  257. /**
  258. * @covers mysqli::prepare
  259. * @todo Implement testPrepare().
  260. */
  261. public function testPrepare()
  262. {
  263. // Remove the following lines when you implement this test.
  264. $this->markTestIncomplete(
  265. 'This test has not been implemented yet.'
  266. );
  267. }
  268. /**
  269. * @covers mysqli::query
  270. * @todo Implement testQuery().
  271. */
  272. public function testQuery()
  273. {
  274. // Remove the following lines when you implement this test.
  275. $this->markTestIncomplete(
  276. 'This test has not been implemented yet.'
  277. );
  278. }
  279. /**
  280. * @covers mysqli::real_connect
  281. * @todo Implement testReal_connect().
  282. */
  283. public function testReal_connect()
  284. {
  285. // Remove the following lines when you implement this test.
  286. $this->markTestIncomplete(
  287. 'This test has not been implemented yet.'
  288. );
  289. }
  290. /**
  291. * @covers mysqli::real_escape_string
  292. * @todo Implement testReal_escape_string().
  293. */
  294. public function testReal_escape_string()
  295. {
  296. // Remove the following lines when you implement this test.
  297. $this->markTestIncomplete(
  298. 'This test has not been implemented yet.'
  299. );
  300. }
  301. /**
  302. * @covers mysqli::escape_string
  303. * @todo Implement testEscape_string().
  304. */
  305. public function testEscape_string()
  306. {
  307. // Remove the following lines when you implement this test.
  308. $this->markTestIncomplete(
  309. 'This test has not been implemented yet.'
  310. );
  311. }
  312. /**
  313. * @covers mysqli::real_query
  314. * @todo Implement testReal_query().
  315. */
  316. public function testReal_query()
  317. {
  318. // Remove the following lines when you implement this test.
  319. $this->markTestIncomplete(
  320. 'This test has not been implemented yet.'
  321. );
  322. }
  323. /**
  324. * @covers mysqli::rollback
  325. * @todo Implement testRollback().
  326. */
  327. public function testRollback()
  328. {
  329. // Remove the following lines when you implement this test.
  330. $this->markTestIncomplete(
  331. 'This test has not been implemented yet.'
  332. );
  333. }
  334. /**
  335. * @covers mysqli::select_db
  336. * @todo Implement testSelect_db().
  337. */
  338. public function testSelect_db()
  339. {
  340. // Remove the following lines when you implement this test.
  341. $this->markTestIncomplete(
  342. 'This test has not been implemented yet.'
  343. );
  344. }
  345. /**
  346. * @covers mysqli::set_charset
  347. * @todo Implement testSet_charset().
  348. */
  349. public function testSet_charset()
  350. {
  351. // Remove the following lines when you implement this test.
  352. $this->markTestIncomplete(
  353. 'This test has not been implemented yet.'
  354. );
  355. }
  356. /**
  357. * @covers mysqli::set_opt
  358. * @todo Implement testSet_opt().
  359. */
  360. public function testSet_opt()
  361. {
  362. // Remove the following lines when you implement this test.
  363. $this->markTestIncomplete(
  364. 'This test has not been implemented yet.'
  365. );
  366. }
  367. /**
  368. * @covers mysqli::ssl_set
  369. * @todo Implement testSsl_set().
  370. */
  371. public function testSsl_set()
  372. {
  373. // Remove the following lines when you implement this test.
  374. $this->markTestIncomplete(
  375. 'This test has not been implemented yet.'
  376. );
  377. }
  378. /**
  379. * @covers mysqli::stat
  380. * @todo Implement testStat().
  381. */
  382. public function testStat()
  383. {
  384. // Remove the following lines when you implement this test.
  385. $this->markTestIncomplete(
  386. 'This test has not been implemented yet.'
  387. );
  388. }
  389. /**
  390. * @covers mysqli::stmt_init
  391. * @todo Implement testStmt_init().
  392. */
  393. public function testStmt_init()
  394. {
  395. // Remove the following lines when you implement this test.
  396. $this->markTestIncomplete(
  397. 'This test has not been implemented yet.'
  398. );
  399. }
  400. /**
  401. * @covers mysqli::store_result
  402. * @todo Implement testStore_result().
  403. */
  404. public function testStore_result()
  405. {
  406. // Remove the following lines when you implement this test.
  407. $this->markTestIncomplete(
  408. 'This test has not been implemented yet.'
  409. );
  410. }
  411. /**
  412. * @covers mysqli::thread_safe
  413. * @todo Implement testThread_safe().
  414. */
  415. public function testThread_safe()
  416. {
  417. // Remove the following lines when you implement this test.
  418. $this->markTestIncomplete(
  419. 'This test has not been implemented yet.'
  420. );
  421. }
  422. /**
  423. * @covers mysqli::use_result
  424. * @todo Implement testUse_result().
  425. */
  426. public function testUse_result()
  427. {
  428. // Remove the following lines when you implement this test.
  429. $this->markTestIncomplete(
  430. 'This test has not been implemented yet.'
  431. );
  432. }
  433. /**
  434. * @covers mysqli::refresh
  435. * @todo Implement testRefresh().
  436. */
  437. public function testRefresh()
  438. {
  439. // Remove the following lines when you implement this test.
  440. $this->markTestIncomplete(
  441. 'This test has not been implemented yet.'
  442. );
  443. }
  444. }