ZipArchiveTest.class.php 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. <?php
  2. /**
  3. * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:55.
  4. */
  5. class ZipArchiveTest extends PHPUnit_Framework_TestCase
  6. {
  7. /**
  8. * @var ZipArchive
  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 ZipArchive;
  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 ZipArchive::open
  28. * @todo Implement testOpen().
  29. */
  30. public function testOpen()
  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 ZipArchive::close
  39. * @todo Implement testClose().
  40. */
  41. public function testClose()
  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 ZipArchive::getStatusString
  50. * @todo Implement testGetStatusString().
  51. */
  52. public function testGetStatusString()
  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 ZipArchive::addEmptyDir
  61. * @todo Implement testAddEmptyDir().
  62. */
  63. public function testAddEmptyDir()
  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 ZipArchive::addFromString
  72. * @todo Implement testAddFromString().
  73. */
  74. public function testAddFromString()
  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 ZipArchive::addFile
  83. * @todo Implement testAddFile().
  84. */
  85. public function testAddFile()
  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 ZipArchive::addGlob
  94. * @todo Implement testAddGlob().
  95. */
  96. public function testAddGlob()
  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 ZipArchive::addPattern
  105. * @todo Implement testAddPattern().
  106. */
  107. public function testAddPattern()
  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 ZipArchive::renameIndex
  116. * @todo Implement testRenameIndex().
  117. */
  118. public function testRenameIndex()
  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 ZipArchive::renameName
  127. * @todo Implement testRenameName().
  128. */
  129. public function testRenameName()
  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 ZipArchive::setArchiveComment
  138. * @todo Implement testSetArchiveComment().
  139. */
  140. public function testSetArchiveComment()
  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 ZipArchive::getArchiveComment
  149. * @todo Implement testGetArchiveComment().
  150. */
  151. public function testGetArchiveComment()
  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 ZipArchive::setCommentIndex
  160. * @todo Implement testSetCommentIndex().
  161. */
  162. public function testSetCommentIndex()
  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 ZipArchive::setCommentName
  171. * @todo Implement testSetCommentName().
  172. */
  173. public function testSetCommentName()
  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 ZipArchive::getCommentIndex
  182. * @todo Implement testGetCommentIndex().
  183. */
  184. public function testGetCommentIndex()
  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 ZipArchive::getCommentName
  193. * @todo Implement testGetCommentName().
  194. */
  195. public function testGetCommentName()
  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 ZipArchive::deleteIndex
  204. * @todo Implement testDeleteIndex().
  205. */
  206. public function testDeleteIndex()
  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 ZipArchive::deleteName
  215. * @todo Implement testDeleteName().
  216. */
  217. public function testDeleteName()
  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 ZipArchive::statName
  226. * @todo Implement testStatName().
  227. */
  228. public function testStatName()
  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 ZipArchive::statIndex
  237. * @todo Implement testStatIndex().
  238. */
  239. public function testStatIndex()
  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 ZipArchive::locateName
  248. * @todo Implement testLocateName().
  249. */
  250. public function testLocateName()
  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 ZipArchive::getNameIndex
  259. * @todo Implement testGetNameIndex().
  260. */
  261. public function testGetNameIndex()
  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 ZipArchive::unchangeArchive
  270. * @todo Implement testUnchangeArchive().
  271. */
  272. public function testUnchangeArchive()
  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 ZipArchive::unchangeAll
  281. * @todo Implement testUnchangeAll().
  282. */
  283. public function testUnchangeAll()
  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 ZipArchive::unchangeIndex
  292. * @todo Implement testUnchangeIndex().
  293. */
  294. public function testUnchangeIndex()
  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 ZipArchive::unchangeName
  303. * @todo Implement testUnchangeName().
  304. */
  305. public function testUnchangeName()
  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 ZipArchive::extractTo
  314. * @todo Implement testExtractTo().
  315. */
  316. public function testExtractTo()
  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 ZipArchive::getFromName
  325. * @todo Implement testGetFromName().
  326. */
  327. public function testGetFromName()
  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 ZipArchive::getFromIndex
  336. * @todo Implement testGetFromIndex().
  337. */
  338. public function testGetFromIndex()
  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 ZipArchive::getStream
  347. * @todo Implement testGetStream().
  348. */
  349. public function testGetStream()
  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. }