DateTimeTest.class.php 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <?php
  2. /**
  3. * Generated by PHPUnit_SkeletonGenerator on 2013-01-07 at 09:22:45.
  4. */
  5. class DateTimeTest extends PHPUnit_Framework_TestCase
  6. {
  7. /**
  8. * @var DateTime
  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 DateTime;
  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 DateTime::__wakeup
  28. * @todo Implement test__wakeup().
  29. */
  30. public function test__wakeup()
  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 DateTime::__set_state
  39. * @todo Implement test__set_state().
  40. */
  41. public function test__set_state()
  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 DateTime::createFromFormat
  50. * @todo Implement testCreateFromFormat().
  51. */
  52. public function testCreateFromFormat()
  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 DateTime::getLastErrors
  61. * @todo Implement testGetLastErrors().
  62. */
  63. public function testGetLastErrors()
  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 DateTime::format
  72. * @todo Implement testFormat().
  73. */
  74. public function testFormat()
  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 DateTime::modify
  83. * @todo Implement testModify().
  84. */
  85. public function testModify()
  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 DateTime::add
  94. * @todo Implement testAdd().
  95. */
  96. public function testAdd()
  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 DateTime::sub
  105. * @todo Implement testSub().
  106. */
  107. public function testSub()
  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 DateTime::getTimezone
  116. * @todo Implement testGetTimezone().
  117. */
  118. public function testGetTimezone()
  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 DateTime::setTimezone
  127. * @todo Implement testSetTimezone().
  128. */
  129. public function testSetTimezone()
  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 DateTime::getOffset
  138. * @todo Implement testGetOffset().
  139. */
  140. public function testGetOffset()
  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 DateTime::setTime
  149. * @todo Implement testSetTime().
  150. */
  151. public function testSetTime()
  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 DateTime::setDate
  160. * @todo Implement testSetDate().
  161. */
  162. public function testSetDate()
  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 DateTime::setISODate
  171. * @todo Implement testSetISODate().
  172. */
  173. public function testSetISODate()
  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 DateTime::setTimestamp
  182. * @todo Implement testSetTimestamp().
  183. */
  184. public function testSetTimestamp()
  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 DateTime::getTimestamp
  193. * @todo Implement testGetTimestamp().
  194. */
  195. public function testGetTimestamp()
  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 DateTime::diff
  204. * @todo Implement testDiff().
  205. */
  206. public function testDiff()
  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. }